* This was the result from the fact that snprintf apparently deals differently than sprintf with output buffers that appear as part of the input as well
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2636 4a71c877-e1ca-e34f-864e-861f7616d084
* Get rid of several magic numbers
* Some const correctness
* Replace a huge amount of strcpy(), strcat(), strncpy() and strncat() calls with a strlcpy() and strlcat() calls respectively
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2635 4a71c877-e1ca-e34f-864e-861f7616d084
* Allow the #definition of SVN_AUTOREVISION_STATIC before #include AutoRevision's output file
* When #defined to "static" it will mark all variables created in AutoRevision as static
* Additionally detect the "base-uri" of a working copy (e.g. "trunk", "branches/2.0", etc.) and dump it in the output header file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2624 4a71c877-e1ca-e34f-864e-861f7616d084
- Don't define LIBS anymore, use LDADD instead to add the required xxx_LIBS (useful for tools which don't depend on all the libs WZ needs)
- Cleanup (safer variable expansion, mostly)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2623 4a71c877-e1ca-e34f-864e-861f7616d084
* Utilize AutoRevision to create src/autorevision.h when building (pre-build step)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2621 4a71c877-e1ca-e34f-864e-861f7616d084
* Refactor NETlogEntry() to use the array of strings (packetname[]) instead of a large switch-statement with a lot of copy & pasted code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2617 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't perform assertions on the content of uninitialized memory, it's useless and annoying when they fail
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2615 4a71c877-e1ca-e34f-864e-861f7616d084
* In this bug-report calling free() twice (once on psRes->aID then on psRes) was proposed
* Instead just ''over allocate'' the memory for psRes so that a single free() call on psRes will suffice
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2614 4a71c877-e1ca-e34f-864e-861f7616d084
NOTE: PieToaster ''should'' compile, link and run on GNU/Linux systems right now (it does for me)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2613 4a71c877-e1ca-e34f-864e-861f7616d084
* Use proper constness in main() to shut up gcc warning about wrong constness
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2612 4a71c877-e1ca-e34f-864e-861f7616d084
* Developed by Carl Hee <Watermelon>
* Licensed under the conditions of the GPLv3
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2603 4a71c877-e1ca-e34f-864e-861f7616d084
extension .wzs is added to your savegame directory. This is the new world.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2602 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove iV_Reset() call from src/levels.c which is there only to prevent a crash caused by the *OLD* font rendering code
* Make sure to initalize the font rendering module (by calling iv_TextInit()) in init.c:systemInitialize()
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2593 4a71c877-e1ca-e34f-864e-861f7616d084
unit tests. First sketch of new defined savegame format in tagfile_map.def.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2586 4a71c877-e1ca-e34f-864e-861f7616d084
* Set svn:mime-type to text/x-rst to get Wiki-like markup in Python-powered viewers
* Make the TODO file be valid reStructured Text
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2584 4a71c877-e1ca-e34f-864e-861f7616d084