1
0
Commit Graph

17 Commits

Author SHA1 Message Date
archshift
0e0c9d8248 Missed these CMakeLists. 2014-04-25 12:24:09 -07:00
Tiger Wang
bdea8706d8 Added new AI rules
+ Added new AI rules handling cacti and large heights
* Fixed cIniFile not recognising comments in cIniFile::ReadFile()
* Fixed users.ini not being properly generated
* Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT
2014-04-17 18:50:25 +01:00
narroo
794be05f22 Fixed comment typo 2014-02-17 08:51:36 -05:00
narroo
952a338c7f Fixed Comment Typo. 2014-02-17 08:50:22 -05:00
narroo
ecabb2b34f Fixed the tab spacing. 2014-02-17 08:46:41 -05:00
narroo
3ce8bf9712 Fixed Tab spacing of cases. 2014-02-17 08:45:31 -05:00
narroo
6eefd54d45 Reworked RemoveBom to use unsigned chars and reverted the logic changes in WriteFile. Should work fine now. 2014-02-16 09:25:32 -05:00
narroo
03fd3b556a Changed unsigned char[] back to char[]. 2014-02-16 08:22:10 -05:00
narroo
d4f2788008 Changed char[] to unsigned char[] in cIniFile::RemoveBom 2014-02-16 07:49:09 -05:00
narroo
8c34b2d974 Addressed Issue #402. cIniFile can now process UTF-8 files that have a
Byte Order Marker, BOM.
2014-02-15 19:56:36 -05:00
madmaxoft
ba49a32c3a Another VarArgs fix.
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
2014-01-16 08:34:10 +01:00
madmaxoft
dd6c5779ec Using a 2nd argument instead of va_copy().
This seems to be the only reasonable C++03-only solution.
2014-01-15 18:28:51 +01:00
madmaxoft
7739238d3d Fixed reading the files.
Duplicate values were ignored.
2014-01-11 20:10:50 +01:00
madmaxoft
a332a5dc73 IniFile: Split SetValue() into AddValue() and SetValue().
Each function does what one would assume - AddValue adds a new value, SetValue overwrites existing value (creates a new one if not exists, if instructed to do so).
2014-01-11 16:44:28 +01:00
madmaxoft
4c360b54e3 Fixed cIniFile's SetValue().
How did we not see this earlier? Each call to SetValue would actually ADD a value!
2014-01-10 16:23:22 +01:00
Tycho Bickerstaff
b91cfb8765 started work on cmake 2013-12-10 18:41:43 +00:00
Alexander Harkness
9c10729f00 Moved iniFile 2013-11-24 14:22:15 +00:00