Dennis Schridde
1c44cf8568
path #938 by Bugginator: MSVC projectfile updates. You need the static libraries from http://download.gna.org/warzone/development/devpkg/2.1/msvc80/ now.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3472 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:57:50 +00:00
Dennis Schridde
d7bbab46af
Set eol-style and mime-type for vcproj files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3471 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:55:59 +00:00
Per Inge Mathisen
bf365edcff
Set native eol-style on 3ds2pie files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3470 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:53:33 +00:00
Dennis Schridde
bb6437fe06
Drag&Drop support. (Any filename ending in ".3ds" is accepted.)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3469 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:40:40 +00:00
Roman C
e6f9cb2106
Aivolution AI Update:
...
-this version of Aivolution uses commanders and mini-pods
-plus many minor tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3468 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:20:57 +00:00
Dennis Schridde
7b38a3785f
update-po
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3467 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 18:04:31 +00:00
Dennis Schridde
4ac1dfecfd
- Replace texpageNr lineEdit, with texturePage spinBox.
...
- Remove associated error-checking (emptyness), since that is guaranteed by Qt.
- Use Ui::Gui3ds2pie instead of Ui_Gui3ds2pie. (Autodetected by Qt/UIC. make distclean if it complains.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3466 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 02:26:05 +00:00
Dennis Schridde
716d1796b5
Enable swapYZ by default, like in the commandline variant.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3465 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:54:49 +00:00
Dennis Schridde
356ed35cbb
Add Qt4 GUI. It uses 3ds2pie.c:dump_pie_file() and only has very basic error checking right now.
...
- To get the (currently only german) translation, run "lrelease 3ds2pie_gui.pro".
- When translating with (Qt Linguist), make sure to use the preview function to check whether your strings fit into the UI.
If they don't, try to use a shorter translation, otherwise adapt the UI.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3464 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:19:55 +00:00
Dennis Schridde
4ea16727f9
3ds2pie says it is licensed as LGPL-2.1, so use that instead.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3463 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:14:19 +00:00
Dennis Schridde
cb768653a6
Remove unnecessary (CVS?) header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3462 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 01:13:31 +00:00
Dennis Schridde
5dc7edf2c1
Move 3ds2pie.c out of src/ again...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3461 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 00:28:00 +00:00
Dennis Schridde
b557a843ca
- Make dump_pie_file work on parameters instead of globals
...
- Use C89 tolower() for string conversion
- Fix unsignedness warnings
- Some variable renames
- Move parse_args and associated globals into !WZ_3DS2PIE_GUI
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3460 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 23:39:45 +00:00
Dennis Schridde
7edfeb0b0e
Move C file to src/ to match default project settings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3459 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 23:10:46 +00:00
Per Inge Mathisen
a5efde8f3f
Fix stack corruption in savegame code because we did not account for commanders having
...
their own flags while saving the flag list. Make sure we assert this condition now.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3458 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 22:24:34 +00:00
Dennis Schridde
a01c019d97
Prepare for additional GUI.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3457 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 22:01:21 +00:00
Dennis Schridde
ad2658fcec
Move 3ds2pie from conversion_tools to a dedicated directory.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3456 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 21:30:55 +00:00
Giel van Schijndel
94245a00f9
* Don't check twice wether WZ_CC_MSVC is defined
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3455 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 20:28:52 +00:00
Per Inge Mathisen
d30ebaf5a4
Log destroyed droids due to bad movement coordinates as errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3454 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 17:50:29 +00:00
Per Inge Mathisen
df88fb565f
Disable some very CPU intensive debug code even in debug mode because it made
...
path-finding too slow for comfort.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3453 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 17:27:26 +00:00
Per Inge Mathisen
c0d220e335
More path-finding cleanup and documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3452 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 16:57:06 +00:00
Giel van Schijndel
546abc300e
* Use more correct prototypes for the member functions of class BMPHandler, this should reduce unnecessary casting to and from void*
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3451 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 14:09:08 +00:00
Giel van Schijndel
6afd374095
Don't depend on Windows API specific functions when an alternative is provided by the C library:
...
* Replace usage of WinAPI function lstrcmpA with libc function strcmp
This addresses #4
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3450 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 13:56:41 +00:00
Giel van Schijndel
d938ed3946
* Check wether we're compiling as C99
...
* if not #error about requiring a C99-compliant snprintf & vsnprintf implementation
NOTE: This doesn't affect MSVC as I've already provided a C99-compliant implementation for it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3449 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 13:53:00 +00:00
Per Inge Mathisen
33f7de2240
Continuing this never-ending story: Fix bug in commit r3445, see discussion in
...
patch #931 . Reported by Buginator.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3448 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 11:48:27 +00:00
Giel van Schijndel
6c886470ad
* Rename the MSVC snprintf and vsnprintf replacements to wz_snprintf and wz_vsnprintf respectively to prevent conflicting definitions
...
* #define snprintf and vsnprintf to wz_snprintf and wz_vsnprintf respectively
Thanks to Buginator for pointing out the issue in patch #937 ; the solution is different than his though
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3447 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 11:14:15 +00:00
Giel van Schijndel
592155a788
* Check wether WZ_CC_MSVC is defined, not wether WC_CC_MSVC is defined
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3446 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 11:04:49 +00:00
Per Inge Mathisen
4aba4facca
Fix bug in commit r3440, see discussion in patch #931 . Reported by Buginator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3445 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-13 00:18:49 +00:00
Per Inge Mathisen
e5e64113ea
Simplify clparse.c by removing unused and/or unusable commands.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3444 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 18:12:22 +00:00
Per Inge Mathisen
be80c7b4b2
Cleanup and doxygenize path-finding code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3443 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 18:04:39 +00:00
Per Inge Mathisen
04d0562712
Clean up mapgrid code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3442 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 16:35:50 +00:00
Per Inge Mathisen
1ae6d69a98
Remove outdated TODO file
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3441 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 16:18:14 +00:00
Per Inge Mathisen
167dd1742c
No longer store player name in STA files, since it is already in the filename.
...
See patch #931 for discussion. Problem with spaces in player name reported by Buginator.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3440 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 16:06:37 +00:00
Per Inge Mathisen
437e22e817
Fix savegame path problem introduced in r3431 and patch #928 which made
...
us save savegames in the music directory(!).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3439 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 16:01:00 +00:00
Per Inge Mathisen
49cc91b0ef
Move all skybox page handling to display3d.c to prepare for skybox scriptability.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3438 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 15:10:02 +00:00
Dennis Schridde
13ccc44599
Import another one of Hatsjoe's nice backdrops: Satelite over earth: http://forums.wz2100.net/?topic=1295.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3437 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 12:22:32 +00:00
Freddie Witherden
e1b75888e3
Fix the prototype of recvGift so that it is (void) as opposed to ().
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3436 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 11:09:43 +00:00
Freddie Witherden
afd095f227
Commit patch #918 by Buginator which ports send/recvTemplate over to the new netcode API.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3435 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-12 11:07:41 +00:00
Per Inge Mathisen
d8bada015f
Remove some dead code
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3434 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-11 23:20:22 +00:00
Per Inge Mathisen
3a62462ea2
Remove unused defines in movement code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3433 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-11 23:09:01 +00:00
Per Inge Mathisen
5b1ec5cfc1
Add new debug mechanic: objTrace(). It works like debug(), but also takes an object parameter.
...
Debugging info given with it will only be displayed for the enabled game object. Default key
to enable debugging info for a game object is CTRL+L. Converted LOG_MOVEMENT to use it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3432 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-11 22:45:04 +00:00
Per Inge Mathisen
f246839359
patch #928 ported map send/rev to new netAPI by Buginator with style fixes by me
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3431 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-11 21:39:41 +00:00
Freddie Witherden
bed018a8b0
Commit patch #925 by buginator along with some style changes by myself.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3430 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-11 20:17:39 +00:00
Per Inge Mathisen
2cd496d9c7
Remove unused defines, prettify animation code a bit, and use same electronic
...
warfare effect code for all objects - the one which does not modify individual vertices.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3429 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-10 22:18:20 +00:00
Per Inge Mathisen
7b81b5c76f
Fix some ugly shadowing and reuse of variables.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3428 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-10 17:50:40 +00:00
Giel van Schijndel
236ed6d904
* Provide sane defaults for the screen resolution (which is used when the screen resolution isn't fully specified or has zero as it's width or height, during loading)
...
Inspired by patch #930 by Buginator (his patch only used sane defaults during configfile saving, this changeset instead works during loading)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3427 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-10 10:33:59 +00:00
Giel van Schijndel
9f70f97cc0
* Rename sendBeaconToPlayerNet to sendBeacon
...
* Port (recv|send)Beacon over to the new networking API
Patch #924 by Buginator and some modifications by me
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3426 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 23:50:44 +00:00
Giel van Schijndel
69f87c9bed
* Port the NET_PLAYERRESPONDING functions over to the new networking API
...
Patch #932 by Buginator with some stylistic changes by me
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3425 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 23:42:35 +00:00
Giel van Schijndel
7560894e4c
* Port the NET_LEAVE messages over to the new networking API
...
* Provide an implementation for the NET_KICK messages (in the new net API of course)
Patch #922 by Buginator with some modifications by me
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3424 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 23:30:42 +00:00
Giel van Schijndel
73d329fde8
* Fix a magic number (28) supposedly representing enum value NET_LEAVING (which is 18)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3423 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-09 23:07:36 +00:00