summaryrefslogtreecommitdiff
path: root/source/com_public.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-04-05 20:44:47 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-04-05 20:44:47 +0000
commita18e27d9df3934b82ab2ddec1dbf951c24fe4cb2 (patch)
tree7334d8d8fe9633cb1503d118fc3921ba033bf585 /source/com_public.h
parent22fd6efeeb7ee918e0d1ffb75f6292077ce27816 (diff)
Added `scr_showstats' variable.
Fixed drawing of transparent sprites.
Diffstat (limited to 'source/com_public.h')
-rw-r--r--source/com_public.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/com_public.h b/source/com_public.h
index b446baf..84fa8c8 100644
--- a/source/com_public.h
+++ b/source/com_public.h
@@ -239,18 +239,18 @@ SYSTEM
*/
typedef struct {
- byte *base;
- int maxsize;
- int cursize;
- int mapped;
+ void *base;
+ size_t maxsize;
+ size_t cursize;
+ size_t mapped;
} mempool_t;
typedef struct sysAPI_s {
unsigned (*Milliseconds)( void );
char *(*GetClipboardData)( void );
void (*SetClipboardData)( const char *data );
- void (*HunkBegin)( mempool_t *pool, int maxsize );
- void *(*HunkAlloc)( mempool_t *pool, int size );
+ void (*HunkBegin)( mempool_t *pool, size_t maxsize );
+ void *(*HunkAlloc)( mempool_t *pool, size_t size );
void (*HunkEnd)( mempool_t *pool );
void (*HunkFree)( mempool_t *pool );
} sysAPI_t;