diff options
| author | Simon <simon@hardwired.org.uk> | 2010-09-01 10:40:29 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-09-01 10:40:29 (GMT) |
| commit | cf85eabee95be1e4947935183d1366cba6f42245 (patch) | |
| tree | 74169763bd8a27fad15d601110a9579e7f96bbd8 /defines.h | |
| parent | 75d3e18fbfb3dfb8f757cbe3d36d5953c2621956 (diff) | |
| download | powder-cf85eabee95be1e4947935183d1366cba6f42245.zip powder-cf85eabee95be1e4947935183d1366cba6f42245.tar.gz | |
Fixed zoom, removed plastic, fixed oil, more moving around. Experimental Neutron behaviour
Diffstat (limited to 'defines.h')
| -rw-r--r-- | defines.h | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -32,8 +32,8 @@ #define ZSIZE_D 16 #define ZFACTOR_D 8 -static unsigned char ZFACTOR = 256/ZSIZE_D; -static unsigned char ZSIZE = ZSIZE_D; +extern unsigned char ZFACTOR; +extern unsigned char ZSIZE; #define CELL 4 #define ISTP (CELL/2) @@ -63,6 +63,8 @@ typedef unsigned int pixel; typedef unsigned char uint8; +extern int amd; + extern int legacy_enable; extern int sys_pause; @@ -101,4 +103,13 @@ extern unsigned char last_major, last_minor, update_flag; extern char http_proxy_string[256]; +//Functions in main.c +void thumb_cache_inval(char *id); +void thumb_cache_add(char *id, void *thumb, int size); +int thumb_cache_find(char *id, void **thumb, int *size); +void *build_thumb(int *size, int bzip2); +void *build_save(int *size, int x0, int y0, int w, int h); +int parse_save(void *save, int size, int replace, int x0, int y0); +void del_stamp(int d); +void sdl_seticon(void); #endif
\ No newline at end of file |
