Formerly there were three separate copies of the dialog code; now there's only one. It's still quite rough around the edges, though – the edit terrain dialog causes the scenario editor to crash, and for some reason the dialog controls are not drawn in the game or in the character editor. I am still working to resolve this. It can't be seen in the diff, since it involves a binary file, but the resources representing dialogs for the character editor were altered. Basically, every text item with a label of "0_105" was changed to "0_150", and each one with a label of "0_106" was changed to "0_151". The reason for this is a conflict between the meaning of those two labels in the character editor and in the scenario editor and the game. In addition to the consolidation of the dialog code, I have made alterations that should theoretically allow the scenario editor to draw custom graphics in its dialogs. I am uncertain that this works, though, since the scenario editor is now failing to FIND the custom graphics. git-svn-id: http://openexile.googlecode.com/svn/trunk@22 4ebdad44-0ea0-11de-aab3-ff745001d230
16 lines
277 B
C
16 lines
277 B
C
/*
|
|
* soundtool.h
|
|
* BoE
|
|
*
|
|
* Created by Celtic Minstrel on 16/04/09.
|
|
*
|
|
*/
|
|
|
|
#define NUM_SOUNDS 99
|
|
|
|
void init_snd_tool();
|
|
void load_sounds();
|
|
void play_sound(short which, short how_many_times = 1);
|
|
void one_sound(short which);
|
|
void clear_sound_memory();
|
|
void flip_sound(); |