projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more refactors..
[carveJwlIkooP6JGAAIwe30JlM.git]
/
addon.h
diff --git
a/addon.h
b/addon.h
index 85b5014bf7c9d7e036a837cd6f6067d464d536e5..7db6588515526217f779ba8e8b7cdbfcc59af58b 100644
(file)
--- a/
addon.h
+++ b/
addon.h
@@
-4,7
+4,7
@@
#include "common.h"
#include "vg/vg_steam_ugc.h"
#include "workshop_types.h"
#include "common.h"
#include "vg/vg_steam_ugc.h"
#include "workshop_types.h"
-#include "
addon_cache
.h"
+#include "
vg/vg_mem_pool
.h"
#include "world.h"
#include "player.h"
#include "world.h"
#include "player.h"
@@
-56,10
+56,20
@@
struct {
u32 reg_index;
addon_reg *reg_ptr;
u32 reg_index;
addon_reg *reg_ptr;
-
addon_cache
_node cachenode;
+
vg_pool
_node cachenode;
}
*boards;
}
*boards;
- addon_cache board_cache;
+ vg_pool board_cache;
+
+ struct cache_playermodel{
+ enum cache_board_state state;
+ struct player_model model;
+ u32 reg_index;
+ addon_reg *reg_ptr;
+ vg_pool_node cachenode;
+ }
+ *playermodels;
+ vg_pool playermodel_cache;
SDL_SpinLock sl_cache;
}
SDL_SpinLock sl_cache;
}