2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
19 #define DEFAULT_PALETTE "default.256"
20 #define MENU_PALETTE "default.256"
22 extern char Current_level_palette[FILENAME_LEN];
24 //load a palette by name. returns 1 if new palette loaded, else 0
25 //if used_for_level is set, load pig, etc.
26 //if no_change_screen is set, the current screen does not get remapped,
27 //and the hardware palette does not get changed
28 int load_palette(char *name,int used_for_level,int no_change_screen);
30 extern ubyte last_palette_for_color_fonts[768];
32 //remap color font & menu background into the current palette
33 void remap_fonts_and_menus(int do_fadetable_hack);