mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-20 13:15:16 -04:00
support for new SEQ format and idle animations
This commit is contained in:
parent
3463d8e720
commit
2ce5f77825
9 changed files with 284 additions and 93 deletions
|
@ -53,6 +53,7 @@ typedef struct thandle_data
|
|||
unsigned short lockcount;
|
||||
uint32_t counter;
|
||||
uint32_t size;
|
||||
void *context;
|
||||
}THANDLE_DATA;
|
||||
|
||||
#define BK_MAJOR_HANDLES 256 // maximalni pocet skupin rukojeti
|
||||
|
@ -105,6 +106,13 @@ int32_t get_handle_size(int handle);
|
|||
//void get_mem_info(MEMORYSTATUS *mem);
|
||||
void ablock_free(const void *ptr);
|
||||
|
||||
#ifdef NDEBUG
|
||||
inline void CHECK_MEMORY(const void *x,size_t sz) {}
|
||||
#else
|
||||
void CHECK_MEMORY(const void *ptr, size_t sz);
|
||||
#endif
|
||||
|
||||
|
||||
//access file using memory mapping feature
|
||||
const void *afile_mapped(const char *filename,int group,int32_t *blocksize);
|
||||
//free file memory opened by afile_mapped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue