projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move texture compiler to native code
[carveJwlIkooP6JGAAIwe30JlM.git]
/
ent_miniworld.h
diff --git
a/ent_miniworld.h
b/ent_miniworld.h
index 73b660eafed88bf770fea3e4304c97bec70f9f7a..b1aed55bf12d73b2717e8ff51d35e6ab827fb66e 100644
(file)
--- a/
ent_miniworld.h
+++ b/
ent_miniworld.h
@@
-1,13
+1,18
@@
-#ifndef ENT_MINIWORLD_H
-#define ENT_MINIWORLD_H
-
+#pragma once
#include "entity.h"
#include "entity.h"
-struct {
- u32 active_id;
-}
-static global_miniworld;
+struct global_miniworld
+{
+ ent_miniworld *active;
+ int transition;
+ f32 t;
-static void ent_miniworld_call( world_instance *world, ent_call *call );
+ m4x3f mmdl;
+ vg_camera cam;
+}
+extern global_miniworld;
-#endif /* ENT_MINIWORLD_H */
+void ent_miniworld_call( world_instance *world, ent_call *call );
+void ent_miniworld_render( world_instance *host_world, vg_camera *cam );
+void ent_miniworld_goback(void);
+void ent_miniworld_preupdate(void);