Dennis Schridde
cbccd3336c
Revert r3537, as it may not be safe on all compilers...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3538 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-22 15:47:20 +00:00
Dennis Schridde
d2370600d8
Replace code_part_names() with code_part2string(), which gets us rid of having to check that the array size matches the enum on runtime.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3537 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-22 15:41:21 +00:00
Giel van Schijndel
3d4b810716
Ignore (svn:ignore) some stuff from the build system in po/
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3536 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-22 11:18:36 +00:00
Giel van Schijndel
6b3f0e28ae
Remove src/gatewaysup.c from Code::Blocks project file
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3535 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-22 01:00:38 +00:00
Dennis Schridde
2ff72516fd
idx -> index
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3534 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 23:08:17 +00:00
Dennis Schridde
86be7e0389
PRINT_B macro -> bool2string function
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3533 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 23:03:04 +00:00
Dennis Schridde
664507be0d
Minor beautification of error messages.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3532 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 22:44:24 +00:00
Dennis Schridde
463aaf53d1
Make TF_ERROR into a readable function.
...
- tagGetErrorString is not provided anymore, all output goes directly to LOG_ERROR.
- The trace contains some more information.
- ASSERT()s in the unit test were removed. The output is already done by TF_ERROR where needed.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3531 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 22:33:41 +00:00
Dennis Schridde
f3296ee96b
struct define -> struct _define and define_t
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3530 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 22:19:15 +00:00
Per Inge Mathisen
fec3b1ca08
Indexed colour usage has been eliminated, so remove its support code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3529 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 17:06:31 +00:00
Per Inge Mathisen
921ab82191
Clean up GUI frame drawing and port it to PIELIGHT.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3528 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 16:57:00 +00:00
Dennis Schridde
17b7ffa3f9
Remove dbghelp.h. And update version (wine-0.9.53) is now included in the mingw32 devpkg.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3527 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-21 00:23:14 +00:00
Ari Johnson
715286a3b4
Xcode project update for deleted source file
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3526 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 23:49:28 +00:00
Ari Johnson
d075817fce
Fixed a typo in the #warning for GLC_TRIANGLE
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3525 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 23:48:00 +00:00
Per Inge Mathisen
b9bcbad34c
Port scores code to use PIELIGHT.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3524 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 23:01:13 +00:00
Per Inge Mathisen
fab4fb38df
Remove gatewaysup.c from POTFILES, too.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3523 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 22:36:37 +00:00
Per Inge Mathisen
d4d7ca2110
Port radar clan and flash colours to PIELIGHT. Patch by Buginator in patch #948 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3522 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 22:14:51 +00:00
Giel van Schijndel
69016895ca
* Remove gatewaysup.c from MSVC project file (patch by Buginator)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3521 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 19:00:51 +00:00
Dennis Schridde
9bcb213adb
Delete unused german translation
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3520 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 19:00:10 +00:00
Dennis Schridde
e5b03c4ade
Make xgettext not wrap long lines
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3519 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 18:59:00 +00:00
Dennis Schridde
ff3fe807e4
Fix some fuzzy translations
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3518 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 18:53:50 +00:00
Dennis Schridde
6a1f6b2ac4
Set poedit settings
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3517 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 18:33:19 +00:00
Dennis Schridde
456a8b8ec7
Same for non-german
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3516 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 18:28:27 +00:00
Dennis Schridde
9f34c40d13
Run de.po through poedit (should not contain any translation changes)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3515 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 18:26:26 +00:00
Dennis Schridde
f6b223ca78
update-po
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3514 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 18:24:16 +00:00
Per Inge Mathisen
df19674baf
Save gateways and zones in tagfile format.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3513 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 16:52:51 +00:00
Per Inge Mathisen
b2ec2567fd
Remove gatewaysup.c - it was used in savegame version 1 to automatically generate zones,
...
and this code is now unused.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3512 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 15:31:22 +00:00
Dennis Schridde
1a5dde3a29
Use "Local Settings/Application Data" instead of "My Documents\My Games", since that is apperently what MS recommends...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3511 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-19 23:05:30 +00:00
Roman C
609ec751dc
Stock AI update:
...
make AI leave 2 tiles without hardpoints when building a wall a defenses on gateways
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3509 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-19 19:25:26 +00:00
Freddie Witherden
cb5f9bf2eb
Commit patch #945 by Buginator. This adds a couple of extra gubbins in DEBUG mode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3508 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-19 18:31:43 +00:00
Freddie Witherden
113a4f1d34
Commit patch #944 by Buginator which fixes some bugs in the multistruct code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3507 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-19 18:26:17 +00:00
Freddie Witherden
4b072b28f7
Commit patch #942 by Buginator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3506 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-19 18:23:14 +00:00
Per Inge Mathisen
a2d3dbd92a
Fix out of index bug when checking validity of commanders with weapons,
...
and add assert to guard against sending destroy events for droids with
invalid movement data.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3505 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-18 18:28:06 +00:00
Freddie Witherden
4320f1096c
Rename Kills to Experience in console messages to reflect the changes in the experience system.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3504 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-18 18:25:22 +00:00
Dennis Schridde
c903fc7eb9
Save WZ stuff in "My Games" on Windows. As pointed out by doom3r in http://forums.wz2100.net/?topic=1314.0
...
Windows doesn't seem to have CSIDL for this? Can we retrieve the name "My Games" from somewhere else?
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3503 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-18 00:36:28 +00:00
Per Inge Mathisen
aa31d39054
Fix bug in r3395 which made droids on the move explode when savegame was
...
loaded. Also check movement parameters for droids stricter in debug mode.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3502 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-17 21:00:39 +00:00
Per Inge Mathisen
ecc82d493e
Add two new --enable-debug modes, profile and debugprofile, to generate CPU usage profiles.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3501 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-16 21:16:11 +00:00
Per Inge Mathisen
d159e46a14
Send everyone a message when kicking someone from the game. Patch by Buginator
...
in patch #933 with style fixes by me.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3499 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-16 19:20:35 +00:00
Per Inge Mathisen
579e2e428e
String code cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3498 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-16 19:07:15 +00:00
Per Inge Mathisen
08c2a06822
GUI cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3497 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-16 18:54:16 +00:00
Dennis Schridde
3cdcf273a4
Include cstring for gcc 4.3 compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3496 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-16 10:47:43 +00:00
Dennis Schridde
bf93d41317
It's libGLC in the devpkg, not libglc32... Perhaps that's a mistake in OpenGLC's buildscripts...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3495 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 23:26:13 +00:00
Giel van Schijndel
c1eb47283e
* Fix a typo in a Doxygen comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3494 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 23:09:34 +00:00
Dennis Schridde
72419616fa
Link against libpng12, so the libpng12.a symlink issue in the devpkg is not anymore noticed. (People having moved their libpng12.a should move it back...)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3493 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 22:39:23 +00:00
Per Inge Mathisen
5f42362b77
Replace spaces with dashes in texture names. No more spaces from now on!
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3490 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 20:14:16 +00:00
Dennis Schridde
fc384c7c44
Apparently Make doesn't expand CFLAGS in CXXFLAGS+=$(CFLAGS), so duplicate the line instead...
...
Also use GNU99 instead of C99 and CXX for .cpp files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3489 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 19:35:04 +00:00
Dennis Schridde
d1f744e97c
Move c99 out of cxxflags...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3488 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 19:23:31 +00:00
Dennis Schridde
97244be45d
Properly define C(XX)FLAGS instead of modifying Make rules.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3487 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 19:16:02 +00:00
Giel van Schijndel
70b196b017
* Only use -Werror-implicit-function-declaration when compiling C code (not when compiling C++)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3486 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 19:02:26 +00:00
Giel van Schijndel
238aa3e9e4
* Compile C files as C99 with the raw Makefile system
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3485 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-15 18:23:48 +00:00