(Scenario Editor is unaffected by this commit.) - Menubar converted to a .xib file - Don't include the Info.plist in "Copy Files" stage - Several more dialogs converted; as before, the source resources have had their resource name changed to the new filename - One more converted STR# has been included There were several functions in the PC Editor code that also existed in the BoE game code. I've moved these into the pc.editors.cpp file, so that there's only one copy of each. - display_alchemy() functions changed signatures - moved keyToChar() function into a common file (winutil) - Several constants and globals moved to pc.editors.cpp Supporting changes to dialog framework: - New formatting option to set the frame style; this because the PC editor uses a different frame style in some contexts - Added global default dialog background setting --> This was necessary to correctly set the default text colour --> Will also be needed for the scenario editor, which uses a different default background Other changes: - Add option to load_scenario to skip loading the strings - Fix for crash in soundtool in the event of initialization before playing the first sound
13 lines
378 B
C
13 lines
378 B
C
|
|
#include <SFML/Window/Event.hpp>
|
|
#include "dialog.h"
|
|
|
|
bool handle_action(sf::Event event,short mode);
|
|
void flash_rect(RECT to_flash);
|
|
void edit_gold_or_food(short which_to_edit);
|
|
void display_pc(short pc_num,short mode,cDialog* parent);
|
|
void display_alchemy(bool allowEdit);
|
|
bool spend_xp(short pc_num, short mode, cDialog* parent);
|
|
void edit_day();
|
|
void edit_xp(cPlayer *pc);
|