From: sparky4 Date: Mon, 20 Feb 2017 14:58:28 +0000 (-0600) Subject: 16_ca need to be used more ok i am going to work on owwolf3d for the cache manager... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=610f077e5822d18bef7bc9ee4f2b7b90a116bc17;p=16.git 16_ca need to be used more ok i am going to work on owwolf3d for the cache manager and memory manager and usage of page manager in code and how it handles files and stuff but for now i need to study for school finals --- diff --git a/src/lib/16_hc.c b/src/lib/16_hc.c index d2ecddac..d08da3ad 100755 --- a/src/lib/16_hc.c +++ b/src/lib/16_hc.c @@ -24,6 +24,7 @@ */ #include "src/lib/16_hc.h" +#include #ifdef __BORLANDC__ void * LargestFreeBlock(size_t* Size) @@ -301,7 +302,7 @@ size_t _basedcoreleft(void) if( segu == _NULLSEG ) { printf( "Unable to allocate based heap\n" ); return 0; - + } else diff --git a/src/lib/16_head.h b/src/lib/16_head.h index 134def28..251d0b6b 100755 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -35,7 +35,6 @@ #include #include // just for wait #include // just for wait -#include #include #include #include diff --git a/src/lib/16_map.c b/src/lib/16_map.c index 946c809a..de168acf 100755 --- a/src/lib/16_map.c +++ b/src/lib/16_map.c @@ -21,6 +21,7 @@ */ #include "src/lib/16_map.h" +#include // Ideally, preprocess json during compilation and read serialized data diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index b338e591..cd99d8c6 100755 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -48,6 +48,7 @@ Open Watcom port by sparky4 */ #include "src/lib/16_mm.h" #include "src/lib/16_ca.h" +#include #pragma hdrstop #pragma warn -pro diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index cf5f56eb..908dd60f 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -527,7 +527,7 @@ typedef struct int audiohandle[4]; // handle to AUDIOT / AUDIO } ca_handle_t; -typedef struct +typedef struct //TODO: USE THIS!!!! { byte ca_levelbit,ca_levelnum; ca_handle_t file; //files to open diff --git a/src/maptest.c b/src/maptest.c index e8e2d53c..9ed9e273 100755 --- a/src/maptest.c +++ b/src/maptest.c @@ -20,6 +20,7 @@ * */ #include "src/lib/16_map.h" +#include #define DUMP //#define DUMP_MAP