]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_vl.h
corepal variable added and i need to find out how to get the joystick input correct...
[16.git] / src / lib / 16_vl.h
index 098eed8b35d8f42c391577af5f070e15e682820f..30231f474987cc73ea633ac74f269886bbc82072 100755 (executable)
@@ -69,6 +69,7 @@ typedef union
 /* -======================= Constants & Vars ==========================- */\r
 extern byte far*  VGA;  /* The VGA Memory */\r
 extern byte far gamepal;\r
+extern byte far corepal;       //core palette used universally\r
 #define SCREEN_SEG             0xa000\r
 #define VIDEO_INT              0x10\r
 #define SET_MODE               0x00\r
@@ -207,6 +208,7 @@ void modexPalSave(byte *palette);
 void modexLoadPalFile(char *filename, byte *palette);\r
 void VL_LoadPalFile(const char *filename, byte *palette, global_game_variables_t *gvar);\r
 void VL_LoadPalFileCore(byte *palette, global_game_variables_t *gvar);\r
+void VL_SetCorePal(global_game_variables_t *gvar);\r
 //void VLL_LoadPalFilewithoffset(const char *filename, byte *palette, word o, global_game_variables_t *gvar);\r
 void VL_UpdatePaletteWrite(byte *palette, word o, word palsize, global_game_variables_t *gvar);\r
 void VL_PaletteSync(global_game_variables_t *gvar);\r