Commit Graph

7 Commits (726655250558546fb797267c6f507d48880f6113)

Author SHA1 Message Date
Per Inge Mathisen 87a6804af5 Purely cosmetic style cleanup of iniparser code. (There is active upstream to sync up against.)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7975 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:05 +02:00
Per Inge Mathisen dc6e361d9e Fix iniparser compilation on MSVC again. Patch by i-NoD in ticket:778
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7952 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:01 +02:00
Per Inge Mathisen ba36ac6cfd Simplify build dependencies for iniparser to work around a problem in MSVC compilation reported by i-NoD.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7939 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:59 +02:00
Per Inge Mathisen 7f24bd6dfb iniparser: More const correctness. Make it output INI files using physfs.
scores.c: Make a function static.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7936 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:58 +02:00
Per Inge Mathisen e6dd86f63d Const correctness fixes for iniparser. This fixes warnings with recent versions of gcc
when iniparser_getstring() is used with a constant string as a fallback.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7917 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:55 +02:00
Per Inge Mathisen 684444a031 Make iniparser work on physfs files instead of ordinary file paths.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7906 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:53 +02:00
Per Inge Mathisen f55c3ad471 Add INI file parser (iniParser -- version 3.0b (beta) by N.Devillard)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7902 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:53 +02:00