X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_hc.h;h=86c6ff12e2154670b3096ed8e75e6feba183c89b;hb=3d36f50834f46234bb598624e526e97d5bf9678f;hp=7959d29566bd6b7716b28e0f5f57d08012462b89;hpb=3b3f3b4bc62245426ea4dec22cbfaa7cfbf13645;p=16.git diff --git a/src/lib/16_hc.h b/src/lib/16_hc.h old mode 100644 new mode 100755 index 7959d295..86c6ff12 --- a/src/lib/16_hc.h +++ b/src/lib/16_hc.h @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 * * This file is part of Project 16. * @@ -28,9 +28,12 @@ #include "src/lib/16_head.h" -int heaphandle; - +#ifdef __BORLANDC__ +void * LargestFreeBlock(size_t* Size); +#endif +#ifdef __WATCOMC__ void __near* LargestFreeBlock(size_t* Size); +#endif size_t _coreleft(void); void far* LargestFarFreeBlock(size_t* Size); size_t _farcoreleft(void); @@ -41,11 +44,11 @@ size_t _hugecoreleft(void); size_t GetFreeSize(void); size_t GetFarFreeSize(void); size_t GetNearFreeSize(void); -void heapdump(void); -void heapstat(int heap_status, byte *str); +void heapdump(global_game_variables_t *gvar); +void heapstat(global_game_variables_t *gvar, int heap_status, byte *str); void heapstat0(int heap_status); -void HC_OpenDebug(); -void HC_CloseDebug(); +void HC_OpenDebug(global_game_variables_t *gvar); +void HC_CloseDebug(global_game_variables_t *gvar); #endif /* __16HC__ */