bool ShowSightRange; /// Show sight range.
bool ShowReactionRange; /// Show reaction range.
bool ShowAttackRange; /// Show attack range.
bool ShowMessages; /// Show messages.
bool BigScreen; /// If true, shows the big screen(without panels)
bool PauseOnLeave; /// If true, game pauses when cursor is gone
bool AiExplores; /// If true, AI sends explorers to search for resources (almost useless thing)
bool GrayscaleIcons; /// Use grayscaled icons for unavailable units, upgrades, etc
bool IconsShift; /// Shift icons slightly when you press on them
bool StereoSound; /// Enables/disables stereo sound effects
bool MineNotifications; /// Show mine is running low/depleted messages
bool DeselectInMine; /// Deselect peasants in mines
int ShowOrders; /// How many second show orders of unit on map.
int ShowNameDelay; /// How many cycles need to wait until unit's name popup will appear.
int ShowNameTime; /// How many cycles need to show unit's name popup.
std::string SF2Soundfont;/// Path to SF2 soundfont
//Wyrmgus start
CGraphic *IconFrameG;
CGraphic *PressedIconFrameG;
//Wyrmgus end
};
Changes in unit.h (CPreference):
class CPreference false), ShowReactionRan ge(false) , ge(false) , ShowMessages(true), BigScreen(false), true), AiExplores(true), GrayscaleIcons( false), false), StereoSound(true), MineNotificatio ns(false) , e(false) , eG(NULL) {};
{
public:
CPreference() : ShowSightRange(
ShowAttackRan
PauseOnLeave(
IconsShift(
DeselectInMin
//Wyrmgus start
// ShowOrders(0), ShowNameDelay(0), ShowNameTime(0) {};
ShowOrders(0), ShowNameDelay(0), ShowNameTime(0),
IconFrameG(NULL), PressedIconFram
//Wyrmgus end
bool ShowSightRange; /// Show sight range.
bool ShowReactionRange; /// Show reaction range.
bool ShowAttackRange; /// Show attack range.
bool ShowMessages; /// Show messages.
bool BigScreen; /// If true, shows the big screen(without panels)
bool PauseOnLeave; /// If true, game pauses when cursor is gone
bool AiExplores; /// If true, AI sends explorers to search for resources (almost useless thing)
bool GrayscaleIcons; /// Use grayscaled icons for unavailable units, upgrades, etc
bool IconsShift; /// Shift icons slightly when you press on them
bool StereoSound; /// Enables/disables stereo sound effects
bool MineNotifications; /// Show mine is running low/depleted messages
bool DeselectInMine; /// Deselect peasants in mines
int ShowOrders; /// How many second show orders of unit on map.
int ShowNameDelay; /// How many cycles need to wait until unit's name popup will appear.
int ShowNameTime; /// How many cycles need to show unit's name popup.
std::string SF2Soundfont;/// Path to SF2 soundfont
//Wyrmgus start
CGraphic *IconFrameG;
CGraphic *PressedIconFrameG;
//Wyrmgus end
};