* 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
- some functions dealing with structure quantity at some location now additionally take a boolean which indicates whether half-built structures should be ignored (stock AI is updated accordingly)
- added sqrt() and exp() functions
- added friendlyWeapObjCostInRange() function to calculate cost of friendly units within a certain range
- CALL_RESEARCHCOMPLETED now additionally returns structure that has completed research and its owner
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2495 4a71c877-e1ca-e34f-864e-861f7616d084
fixes a problem that occurs when texture pages are larger than default.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2494 4a71c877-e1ca-e34f-864e-861f7616d084
- Use pkgconfig where possible (sdl, png, ogg/vorbis). Removes m4 file dependencies, tests are faster. If this is a problem for you: Tell me!
- Check against SDL_net using AC_CHECK_* instead of custom m4 macro. Before not much more was tested anyway.
- Enormously simplify OpenGL/OpenAL checks. Functionality should be the same. More diverse error messages. pkgconfig-style LIBS definition.
- Define DATADIR/LOCALEDIR via config.h instead of via CFLAGS. Should move them into dependency checks.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2485 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't use a magic number (-1), but a named value instead: PIE_TEXT_WHITE
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2478 4a71c877-e1ca-e34f-864e-861f7616d084
* This commit removes utf8.[ch] from all build systems (manual text-editing for the most of them)
* For the removal from the XCode project I just reverted r2288
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2477 4a71c877-e1ca-e34f-864e-861f7616d084