projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update helpers/location to 'frosted' ui
[carveJwlIkooP6JGAAIwe30JlM.git]
/
ent_miniworld.h
diff --git
a/ent_miniworld.h
b/ent_miniworld.h
index e963a09f549ce63dc822b6f0fa02767b691c7075..278cf75ec6eb50c2912e329b1df93ef9fb5ce313 100644
(file)
--- a/
ent_miniworld.h
+++ b/
ent_miniworld.h
@@
-1,20
+1,18
@@
-#ifndef ENT_MINIWORLD_H
-#define ENT_MINIWORLD_H
-
+#pragma once
#include "entity.h"
#include "entity.h"
-struct {
+struct global_miniworld
+{
ent_miniworld *active;
int transition;
f32 t;
m4x3f mmdl;
ent_miniworld *active;
int transition;
f32 t;
m4x3f mmdl;
- camera cam;
+
vg_
camera cam;
}
}
-static global_miniworld;
-
-static void ent_miniworld_call( world_instance *world, ent_call *call );
-static void ent_miniworld_render( world_instance *host_world, camera *cam );
-static void ent_miniworld_goback(void);
+extern global_miniworld;
-#endif /* ENT_MINIWORLD_H */
+entity_call_result 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);