Commit Graph

87 Commits (9a2788aca82c224c2cf1b4d7d28197213c5e85db)

Author SHA1 Message Date
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
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 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
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
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 85dc22e592 make -C po update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1729 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-28 12:44:38 +00:00
Dennis Schridde 7c7911c92f - Fix gameloop exit, broken in r1615
- Split input event handling


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1616 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-12 15:54:35 +00:00
Dennis Schridde ad57a3e0f4 Tiny translation update
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1610 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-12 09:25:01 +00:00
Giel van Schijndel 68abda7ae7 make -C po update-po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1567 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-30 18:00:08 +00:00
Dennis Schridde 6d55622b75 Several changes to texture loading:
- Be safer with stringlengths
- Create "page-123" texpages in pie_Pagename(). This code is needed since WZ might have loaded a different variant of a texpage (-urban,-arizona,...) and thus can only find it by the common "page-123" part
- Output filename on errors in in PNG loading
- Be a little bit less forgiving for wrong case
- Convert all TEXTURE references in PIE files to lowercase and replace 'fx`s' with 'fx', also replace 'urban area' and 'bases urban' with just 'urban' to keep consistency


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1505 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-19 18:04:41 +00:00
Dennis Schridde ba31124ecd Minor german translation update: ~60%
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1476 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-16 14:56:01 +00:00
Giel van Schijndel 1d160dbfe0 * remove now unused functions for working with hashnames on audio tracks
* `make -C po update-po`

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1471 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-15 22:46:57 +00:00
Giel van Schijndel 50f7a4a019 * move a lot of multiplayer strings out of the string resource system into sources (with gettext markup)
* `make -C po update-po`
 * provide some translations for the Dutch translation

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1449 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-13 12:28:50 +00:00
Dennis Schridde 80d32d6c55 - svn:eol-style for .po files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1448 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-13 00:14:32 +00:00
Dennis Schridde 751e6c44f7 Use pgettext instead of a custom implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1423 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-10 17:36:16 +00:00
Giel van Schijndel 79d4169bcd * fix two warnings in exceptionhandler.c
* add Q_ and Qn_ gettext macros (copied from Freeciv: GPL)
 * remove hack for ambiguous translations from droid.c; use Q_ instead
 * update makefiles accordingly
 * `make -C po update-po`

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1417 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-10 14:06:14 +00:00
Giel van Schijndel c31f807b94 * insert a hack into droid.c to circumvent ambiguity of the word "Green" (which is being used as a rank name as well as the color)
* `make -C po update-po`

PS The most feasible solution other than the above mentioned hack seems to me to use different gettext domains, I'm not sure how that should be implemented though

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1415 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-10 12:44:07 +00:00
Giel van Schijndel cc17299668 * remove internal forward declarations of functions already declared in the header
* use proper constness:
  * make some functions take arguments of `const char*` rather than just `char*` (also modified some functions' return values to return `const char*` where appropiate)
 * modify rank retrieval functions to use a central array instead; currently ranklimits (i.e. the amount of kills required to promote) is hardcoded in switch statements, as is the case with the names of those ranks
 * `make -C po update-po`

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1409 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-09 22:09:27 +00:00
Giel van Schijndel ee27f41be7 * add -Werror-implicit-function-declaration to CFLAGS
* Fix a spelling error in a string in src/droid.c
 * `make -C po update-po`

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1406 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-09 15:02:04 +00:00
Dennis Schridde 0924497ba5 "do we really need all files listed twice there?"
- No we don't
- Another update-po just to be sure


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1384 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-06 00:45:02 +00:00
Dennis Schridde e8de4b9927 - Purged English strings from Norwegian translation (Sorry if something is missing, I removed everything that looked english).
- Tiny update to german translation
- make -C po update-po


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1376 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-05 19:28:10 +00:00
Dennis Schridde 2650c696a5 Kills->Abschüsse (by Thomas Rast)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1373 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-05 18:29:07 +00:00
Dennis Schridde b2ca1a6825 Autopoint removal by Per.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1350 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-03 14:04:21 +00:00
Dennis Schridde ea74165cec A little bit more strings.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1337 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 20:09:11 +00:00
Dennis Schridde 3867e71196 Very basic german translation.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1336 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 18:58:28 +00:00