projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
testing
[carveJwlIkooP6JGAAIwe30JlM.git]
/
ent_skateshop.h
diff --git
a/ent_skateshop.h
b/ent_skateshop.h
index f64bd1052b42e0efd57fa81bf61aeaf2716df527..e12edb10de9830352fdaf3e4f99280d1ee9914a0 100644
(file)
--- a/
ent_skateshop.h
+++ b/
ent_skateshop.h
@@
-8,14
+8,16
@@
#include "workshop.h"
#include "addon.h"
#include "workshop.h"
#include "addon.h"
-#define SKATESHOP_VIEW_SLOT_MAX
2
+#define SKATESHOP_VIEW_SLOT_MAX
5
struct{
v3f look_target;
struct{
v3f look_target;
- ent_skateshop *ptr_ent;
- int active;
- float factive;
+#if 0
+ ent_skateshop *ptr_ent; /* TODO */
+ float factive; /* TODO */
+ camera cam;
+#endif
struct shop_view_slot{
u16 cache_id;
struct shop_view_slot{
u16 cache_id;
@@
-39,6
+41,7
@@
struct{
}
static global_skateshop={.render={.reg_id=0xffffffff,.world_reg=0xffffffff}};
}
static global_skateshop={.render={.reg_id=0xffffffff,.world_reg=0xffffffff}};
-VG_STATIC void global_skateshop_exit(void);
+VG_STATIC void ent_skateshop_preupdate( ent_skateshop *shop, int active );
+VG_STATIC void skateshop_render( ent_skateshop *shop );
#endif /* ENT_SKATESHOP_H */
#endif /* ENT_SKATESHOP_H */