]> 4ch.mooo.com Git - 16.git/commitdiff
16_ca need to be used more ok i am going to work on owwolf3d for the cache manager...
authorsparky4 <sparky4@cock.li>
Mon, 20 Feb 2017 14:58:28 +0000 (08:58 -0600)
committersparky4 <sparky4@cock.li>
Mon, 20 Feb 2017 14:58:28 +0000 (08:58 -0600)
src/lib/16_hc.c
src/lib/16_head.h
src/lib/16_map.c
src/lib/16_mm.c
src/lib/16_tdef.h
src/maptest.c

index d2ecddacdfc28c9cb19b70fae21355ab128d5645..d08da3addf0eaeb85f979e3026186165de8c583e 100755 (executable)
@@ -24,6 +24,7 @@
 */\r
 \r
 #include "src/lib/16_hc.h"\r
+#include <malloc.h>\r
 \r
 #ifdef __BORLANDC__\r
 void * LargestFreeBlock(size_t* Size)\r
@@ -301,7 +302,7 @@ size_t _basedcoreleft(void)
        if( segu == _NULLSEG ) {\r
                printf( "Unable to allocate based heap\n" );\r
                return 0;\r
-               \r
+\r
        }\r
        else\r
 \r
index 134def28dd16f7c392fde7f67f8377f158d20b3f..251d0b6b41d475797f6434cdb714951234b8c18e 100755 (executable)
@@ -35,7 +35,6 @@
 #include <stdlib.h>\r
 #include <conio.h> // just for wait\r
 #include <time.h> // just for wait\r
-#include <malloc.h>\r
 #include <ctype.h>\r
 #include <fcntl.h>\r
 #include <io.h>\r
index 946c809a58bd8b90d9e74be4371d78509dd407dd..de168acfd81d73b23a31fd22dc03b7a48f7fdb6a 100755 (executable)
@@ -21,6 +21,7 @@
  */\r
 \r
 #include "src/lib/16_map.h"\r
+#include <malloc.h>\r
 \r
 // Ideally, preprocess json during compilation and read serialized data\r
 \r
index b338e5910e3515bfa8a6722429595e00109de6df..cd99d8c6a7c930348eb88431efd99a7715cec4bd 100755 (executable)
@@ -48,6 +48,7 @@ Open Watcom port by sparky4
 */
 #include "src/lib/16_mm.h"
 #include "src/lib/16_ca.h"
+#include <malloc.h>
 #pragma hdrstop
 
 #pragma warn -pro
index cf5f56eb00a314dae78823a0b1bbaabff588f2e2..908dd60f125c4ddc7fd516b72550486acddc5a2c 100755 (executable)
@@ -527,7 +527,7 @@ typedef struct
        int                     audiohandle[4]; // handle to AUDIOT / AUDIO\r
 } ca_handle_t;\r
 \r
-typedef struct\r
+typedef struct //TODO: USE THIS!!!!\r
 {\r
        byte    ca_levelbit,ca_levelnum;\r
        ca_handle_t             file;           //files to open\r
index e8e2d53c2e27417e90798d5ff725dd0432384b1d..9ed9e273baa7d4824dc9b608a9ee02f028992390 100755 (executable)
@@ -20,6 +20,7 @@
  *\r
  */\r
 #include "src/lib/16_map.h"\r
+#include <malloc.h>\r
 \r
 #define DUMP\r
 //#define DUMP_MAP\r