Commit Graph

94 Commits (9e790e79abb13724651edf9dbad70b678520ba1b)

Author SHA1 Message Date
Giel van Schijndel 71bc4ff8be * Remove useless cdspan code (was only a wrapping function for audio_PlayStream)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3327 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 19:38:06 +00:00
Dennis Schridde beaf85a112 update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3298 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 14:13:59 +00:00
Christian Ohm 6334f1d6d1 Change "Total Power Requibyte.r" back to "Total Power Required".
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3217 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 21:38:27 +00:00
Gerard Krol fbe50e45ff Update for the removal of optimisepath.c and the cleanup of the sequence code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3165 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-24 18:24:26 +00:00
Giel van Schijndel c51bd8ae10 * Get rid of a large quantity of unused parameters
* Turn some signed integers ("int" or "SDWORD") into unsigned integers where it made more sence (and signed integers caused warnings about comparing signed with unsigned integers)
 * At some places cast to an unsigned integer (where the type of the expression is a signed integer but the result of it logically _always_ is an absolute value)
 * Remove unused struct-type EVENT_INIT
 * Convert use of malloc->memcpy->free to one single realloc call (and now make sure to actually check realloc's return value, which wasn't done with the malloc call)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3037 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-10 23:15:46 +00:00
Giel van Schijndel 78a5853309 make -C po update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3027 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-09 23:39:01 +00:00
Giel van Schijndel 7c4e237187 * Apparently the UTF-8 conversion of r3024 wasn't complete; it should be now
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3025 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-09 23:29:26 +00:00
Giel van Schijndel fc55c1b8ca * Set charset of de.po to UTF-8 (just as all the rest of the files are)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3024 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-09 23:16:37 +00:00
Per Inge Mathisen cf2985fb4c Update POFILES.in with removal of arrow.c
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3013 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-09 13:44:58 +00:00
Dennis Schridde 2dffc94d18 Update po/ once in a while...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2991 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-07 19:30:43 +00:00
Giel van Schijndel 9df7ace6a3 * Update Code::Blocks and MSVC project files to match the deletion of src/player.[ch] in r2847
* Update po/POTFILES.in to match the deletion of src/player.[ch] in r2847


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2848 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-21 21:17:42 +00:00
Giel van Schijndel 8916e0bbfa * Update po/POTFILES.in to match the deletion of src/findpath.[ch] in r2829
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2832 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-18 21:30:51 +00:00
Giel van Schijndel d148172577 * Remove lif/ivis_opengl/pietexture.c from the POTFILES.in list to complement r2820
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2824 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-15 17:54:31 +00:00
Giel van Schijndel ed950825a9 * Utilize the Popt library for command line parsing
* Add popt as a build dependency to build systems:
   * autotools
   * Debian package build-depends
   * raw Makefiles
   * Code::Blocks project file
 * Make ParseCommandLine and ParseCommandLineEarly const correct
 * Rewrite ParseCommandLine and ParseCommandLineEarly to utilize Popt


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2800 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-11 17:59:32 +00:00
Giel van Schijndel bad236f4a9 * Make the <BUILD DATE> part of the formatted version string optional
* Don't include it when we're building from a tag


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2783 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 18:42:32 +00:00
Dennis Schridde 4ec3e1c03a update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2767 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-09 23:37:10 +00:00
Giel van Schijndel b86a46d117 * Add the posibility to use the zero-key ('0') to assign groups to as well
NOTE: This __will__ break existing keymaps: please remove ~/.warzone2100-2.1/keymap.map
Patch #828 by Christian Ohm <cybersphinx>
PS: r2734 was based upon patch #829 (also by Christian Ohm <cybersphinx>); forgot that in that commit message, so adding it here instead


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2737 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-05 21:58:50 +00:00
Giel van Schijndel 03c4fd6256 * Add version.[ch]
* this module uses the information extracted from the automatically generated file src/autorevision.h to add revision information to the project
  * provides a function version_getFormattedVersionString() which replaces several pieces of customly crafted code to dump a version string (frontend.c, main.c and clparse.c)
 * update po/POTFILES.in
  * add some recently added files
 * make -C po update-po


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2723 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-05 02:31:09 +00:00
Giel van Schijndel f1d91e0598 * Remove the "Published by EIDOS Interactive" and "Developed by Pumpkin Studios" strings from the ingame pause screen/menu
* Update translation files to have these changes embedded


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2701 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-03 22:44:36 +00:00
Dennis Schridde 2d94849fbc Update po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2698 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-03 22:13:05 +00:00
Dennis Schridde 06a469ed5b Simplify Vector2f_Normalise and update docs
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2669 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-29 21:43:55 +00:00
Giel van Schijndel 4ef110a2f1 * Use ngettext at several places to allow for proper translation of sentences with plurals in them
* Replace some invalid usages of %d with %u (for unsigned values of course)
 * make -C po update-po
 * Slightly update the Dutch translation (with some plurals)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2648 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-27 21:35:51 +00:00
Dennis Schridde d5601ebc91 Found a version of the STATIC_ASSERT which also works in global scope.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2592 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-22 20:53:27 +00:00
Dennis Schridde c7b00fadaf More work on the ICC front:
- 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
2007-10-15 18:09:18 +00:00
Dennis Schridde b893291848 update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2538 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-08 20:38:16 +00:00
Dennis Schridde 87d55b978b Basic buildfile support for ICC and silence one warning.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2524 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-02 21:43:43 +00:00
Dennis Schridde 087c433997 Bump pofiles.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2484 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-28 13:22:21 +00:00
Giel van Schijndel aaf2a42747 * Synchronize raw Makefile system with changes to NSIS file in r2466
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2475 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-25 16:11:24 +00:00
Dennis Schridde f9713037a6 Patch tr-de-t9n-r2448-v2.diff submited by Thomas Rösner in patch #795.
Parts were rejected by GNU patch and have to reviewed again.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2467 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-23 17:29:34 +00:00
Dennis Schridde cab88a8a7d - Make "make -C data data" recursively build mods as well. SUBDIRS is apparently ignored for target!=all.
- Add ABOUT-NLS, which is apparently required by gettext. (Copied from gettext-0.16.1)
- Update po


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2465 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-22 11:45:49 +00:00
Giel van Schijndel 7e383b4a92 * Improve Dutch translation
* Throw away a lot of autogenerated "translations" (where marked fuzzy) which where just crap
  * Add some new translations
  * Change some pre-existing translations

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2400 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 11:03:57 +00:00
Giel van Schijndel 0be2fe8351 * make -C po update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2399 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-17 10:11:19 +00:00
Giel van Schijndel 35d7b53eb8 * make -C po update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2395 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 23:03:56 +00:00
Giel van Schijndel e28c8c4606 * Add support for compiling with gettext to the raw Makefiles (note this _does_ require the latest devpkg)
* Add the ability to compile .mo catalog files from gettext .po files to the raw Makefiles (all catalog files are dumped into data/locale)
 * On Windows make gettext use the LOCALEDIR (as defined in makerules/config.mk) which is a subdirectory of the directory that contains Warzone 2100's executable as it's locale directory

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2394 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-16 22:50:05 +00:00
Per Inge Mathisen 86acf8940f This patch fixes an incorrect filename in po/Makefile.in.in. It should be warzone2100.pot instead of warzone.pot.
Patch by Ken Rushia.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2368 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-11 16:25:05 +00:00
Per Inge Mathisen 7e3837a2b5 Improve Norwegian translation somewhat
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2353 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-07 18:18:10 +00:00
Per Inge Mathisen 004786ea50 Improve dependency and error checking in autotool build scripts for translations.
Requested by krushia.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2352 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-07 18:13:26 +00:00
Giel van Schijndel 80e93f2ca4 remove src/csnap.c from POTFILES.in
Thanks to Ken Rushia <krushia> for spotting this; This closes patch #792

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2348 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-07 09:07:46 +00:00
Dennis Schridde 673ae4aa65 update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2277 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-30 00:57:37 +00:00
Dennis Schridde ca4810c78a Greatly enhanced german translation by Ryo: 2012 translated messages, 16 untranslated messages.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2274 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-29 22:15:43 +00:00
Dennis Schridde 765ad996cb update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2243 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-28 12:38:50 +00:00
Dennis Schridde ebb1d7a918 Translate3.patch by Martin Koller. Had to Wiggle names.txt, but it seems to have cleanly applied.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2241 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-28 11:35:26 +00:00
Giel van Schijndel ed12db0b4f * The raw makefile system (wrongly) depended upon the GNU FileUtils ("rm" to be precise);
* we now use "$(RMF)" (which expands to "del /f") instead of "$(RM)" (which expands to "rm -f")

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2166 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-24 11:54:36 +00:00
Dennis Schridde 84f1d476e4 strings.txt removal by Martin Koller.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2124 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-16 17:44:42 +00:00
Giel van Schijndel 39db2bef4b * Update Code::Blocks and MSVC projects to removal of lib/netplay/netcrypt.c in r1953
* Remove lib/netplay/netcrypt.c from the list of files to extract translatable strings from for gettext


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1954 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-24 13:46:29 +00:00
Per Inge Mathisen 5aa373e5b2 Misc cleanup forward ported from reference counting work. Adds new checking
macro CHECK_STRUCTURE().


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1912 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-21 17:43:50 +00:00
Giel van Schijndel b37345340b * r1866 removed piefunc.c from raw Makefiles instead of rendfunc.c: fixed
* removed rendfunc.c from POTFILES.in
 * `make -C po update-po` (raw makefiles still work for updating the gettext translation files)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1867 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-14 22:16:21 +00:00
Giel van Schijndel 7a4309c41c * update POTFILES.in for r1859
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1861 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-14 21:05:31 +00:00
Giel van Schijndel c0bddbb0e1 Add some translations to Dutch translation file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1822 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-05 12:46:50 +00:00
Giel van Schijndel ed73e62898 Leave the memory management up to the memory management functions!
That is:
 * Don't use a custom memory heap implementation anymore
 * Remove all usages of HEAP code and replace it with malloc/free

NOTE: MacOSX projectfile probably requires an update

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1820 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-05 11:46:00 +00:00