- Less strict warnings in debug-mode (still unusable, because ICC warns about _a lot_)
- Explicit conversions
- Clarify parameter evaluation order
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2550 4a71c877-e1ca-e34f-864e-861f7616d084
- replaced setlocale(LC_ALL, "") with setlocale(LC_MESSAGES, ""), as suggested by Devurandom
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2546 4a71c877-e1ca-e34f-864e-861f7616d084
* Bump version numbers of tile_texpage2mipmap_tileset to 1.2
Patch by Kevin Gillette <kage>: http://forums.wz2100.net/index.php?topic=1010.msg9137#msg9137
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2542 4a71c877-e1ca-e34f-864e-861f7616d084
- Check for pkg-config earlier, pkg-config 0.9 should be sufficient according to configure.
- Add pkg-config m4 file to be able to check for pkg-config where it is not installed.
- Fix typo in ChangeLog, add recent buildsystem changes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2541 4a71c877-e1ca-e34f-864e-861f7616d084
Therefore switching back to setting CFLAGS. Don't ask me why I changed it in the first place...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2537 4a71c877-e1ca-e34f-864e-861f7616d084
* In function dataScriptLoad, make "printHack" a "static const" instead of a local non-const variable (emphasizes that it really is a compile-time constant; also towards the compiler btw, GCC treats a static const var as a preprocessor macro with static type checking)
* Move global variables pScrInputFiles (formerly pScrInputBuffer), scr_include_stack_ptr, scr_num_macros, scr_macro_stack_ptr, pScrMacroBuffer and scrInclLine from script_parser.y to script_lexer.l and mark them static to disallow external linkage (to make it a little bit better encapsulated and localised)
* Make function scriptCompile return a SCRIPT_CODE* pointer instead of a BOOL and writing the same pointer into an output pointer (instead upon failure it now returns NULL)
* Move some of the functionality of scriptCompile to new function scriptSetInputFile instead (which is based upon scriptSetInputBuffer)
* Modify script_lexer.l to read include files directly from the files rather than an intermediate memory buffer (by means of a modified YY_INPUT macro)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2532 4a71c877-e1ca-e34f-864e-861f7616d084
* Dump the font-face list on LOG_NEVER instead of LOG_ERROR
* Write an error to LOG_ERROR when the required font couldn't be loaded (currently hardcoded as "DejaVu Sans Mono")
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2528 4a71c877-e1ca-e34f-864e-861f7616d084
* Replace some instances of (UBYTE)0 with '\0'
* Refactor while loop in function intDisplayNumber with a for loop instead (which it basically was already; except for the keyword that is)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2527 4a71c877-e1ca-e34f-864e-861f7616d084
* Replace "\x07" with unicode character U+221E encoded as UTF-8; also use strncpy instead of manual assignment to the character array (aka C string)
* this should fix the problem where a non-sense character is printed when production looping is set to infinite
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2526 4a71c877-e1ca-e34f-864e-861f7616d084
* Add URL to QuesoGLC to the configure script's error messages about GLC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2525 4a71c877-e1ca-e34f-864e-861f7616d084
* This _will_ require you to install http://quesoglc.sourceforge.net/ on your system to be able to compile (windows binaries are provided on the sourceforge download page as well; just dump them in wz's devpackage directory for now)
* Currently the font render code is hard-coded to select two fonts: DejaVu Sans Mono regular style (aka "Book") or bold style; if you're package manager doesn't provide these fonts (Debian and derivatives have "ttf-dejavu"), you can get them from http://dejavu.sourceforge.net/
This closes#1 (https://trac.mortis.eu/warzone/ticket/1 I dumped/maintained my patch there)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2521 4a71c877-e1ca-e34f-864e-861f7616d084
- Setting mime-type to application/ was a bad idea since that enforces binary diffs
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2520 4a71c877-e1ca-e34f-864e-861f7616d084
- Move it to doc/
- Move style definitions to external stylesheet
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2518 4a71c877-e1ca-e34f-864e-861f7616d084
for division and multiplication in map_coord and world_coord to get correct
rounding, where "correct" means similar to what it was in the original code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2506 4a71c877-e1ca-e34f-864e-861f7616d084
scrolling to areas outside visible (non-FoW) areas. This feature sucked.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2505 4a71c877-e1ca-e34f-864e-861f7616d084
to rounding differences between division and bit shifting on negative values.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2504 4a71c877-e1ca-e34f-864e-861f7616d084
of tiles adds up exactly to size of texture in display code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2501 4a71c877-e1ca-e34f-864e-861f7616d084