diff options
author | erihel <erihel@gmail.com> | 2013-04-01 18:24:12 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2013-04-01 18:24:12 +0200 |
commit | 926126d5adf457dbc5c92fd83c7231415ea22d04 (patch) | |
tree | e61d3be2558432f2c92bacb4e3ad480ab73059ec /src/object/robotmain.h | |
parent | 9485e1a95fc264beb121bc2fc92dd3303b80ce5e (diff) | |
download | colobot-926126d5adf457dbc5c92fd83c7231415ea22d04.tar.gz colobot-926126d5adf457dbc5c92fd83c7231415ea22d04.tar.bz2 colobot-926126d5adf457dbc5c92fd83c7231415ea22d04.zip |
* Changed loading of scene and player info (there's problem with locales using , as comma separator). Issue #137
* Changed way of saving files. Now it's not based on slot (from 000 to 999) but it uses save name as a base.
* Changed way of displaying saved games. Listing directory instead of checking from 000 to 999. Issue #138
Diffstat (limited to 'src/object/robotmain.h')
-rw-r--r-- | src/object/robotmain.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/object/robotmain.h b/src/object/robotmain.h index fe5fbd5..fc62072 100644 --- a/src/object/robotmain.h +++ b/src/object/robotmain.h @@ -352,6 +352,9 @@ public: CObject* IOReadObject(char *line, const char* filename, int objRank); int CreateSpot(Math::Vector pos, Gfx::Color color); + + void SetNumericLocale(); + void RestoreNumericLocale(); protected: bool EventFrame(const Event &event); @@ -390,6 +393,7 @@ protected: void ExecuteCmd(char *cmd); bool TestGadgetQuantity(int rank); void UpdateSpeedLabel(); + protected: CApplication* m_app; @@ -540,5 +544,7 @@ protected: Gfx::Color m_colorRefWater; Gfx::Color m_colorNewWater; float m_colorShiftWater; + + std::string m_oldLocale; }; |