Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#ifndef ALLOC_H
|
||||
#define ALLOC_H
|
||||
|
||||
/*#if defined(_WIN32) && defined(_MEM_DEBUG)
|
||||
void *c_alloc(unsigned long size, unsigned long num, const char *file, unsigned long line);
|
||||
void *m_alloc(unsigned long size, const char *file, unsigned long line);
|
||||
void f_ree(void *ptr);
|
||||
|
||||
#ifdef malloc
|
||||
#undef malloc
|
||||
#endif
|
||||
|
||||
#ifdef calloc
|
||||
#undef calloc
|
||||
#endif
|
||||
|
||||
#ifdef free
|
||||
#undef free
|
||||
#endif
|
||||
|
||||
|
||||
#define malloc(size) m_alloc(size, __FILE__, __LINE__)
|
||||
#define calloc(size, num) c_alloc(size, num, __FILE__, __LINE__)
|
||||
#define free(addr) f_ree(addr)
|
||||
#endif//defined(_WIN32) && defined(_MEM_DEBUG)*/
|
||||
|
||||
|
||||
#if defined (__ALLOC_C)
|
||||
#define __ALLOC_EXTERN
|
||||
#else
|
||||
#define __ALLOC_EXTERN extern
|
||||
#endif
|
||||
#include <IL/il.h>
|
||||
|
||||
|
||||
__ALLOC_EXTERN mAlloc ialloc_ptr;
|
||||
__ALLOC_EXTERN mFree ifree_ptr;
|
||||
|
||||
|
||||
|
||||
#endif//ALLOC_H
|
||||
Reference in New Issue
Block a user