Per Inge Mathisen
4c239b47ac
Fix crash caused by not checking return value from IdToDroid.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3257 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 21:33:08 +00:00
Roman C
2aeb1bb801
Balancing tweaks:
...
Lancer now requires 4 rocket damage upgrades, 2 rocket ROF upgrades, 1 rocket accuracy upgrade and mini-rocker artillery weapon.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3256 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 21:10:22 +00:00
Ari Johnson
f0b7dbde34
Updates to Xcode project to build warzone.wz and mp.wz for non-Debug builds
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3255 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 20:26:11 +00:00
Ari Johnson
f87652c5e6
Updated Xcode project to build PhysFS framework with ZIP, etc. support
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3254 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:57:08 +00:00
Giel van Schijndel
2f50ee2495
* Fix a bug introduced in r3238 as a result of an incomplete conversion of the send/recv-DroidInfo functions
...
* Make sure to now also handle "special" droid orders (whatever a "special" order may be...)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3253 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:56:34 +00:00
Roman C
e7e6cffab4
Fixed an error message.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3252 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:46:49 +00:00
Roman C
628020119f
Raise number of pre-requisites for lancer, this fixed a bug introduced in 3250.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3251 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:43:18 +00:00
Roman C
518ff524c1
- mini-pods:
...
- long range accuracy increased from 30 to 40
- damage increased from 20 to 27
- mini-rocker artillery:
- long range accuracy increased from 50 to 60
- damage increased from 30 to 37
- to get mini-rocker artillery it is necessary to research 2nd rocker damage upgrade (instead of 1st)
- lancer:
- to get lancer it is necessary to research 3rd rocket damage upgrade and mini-rocket artillery (instead of 2nd rocker damage upgrade)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3250 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:17:55 +00:00
Giel van Schijndel
8bb69f2bd7
* Fix mime-types
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3249 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 19:17:40 +00:00
Per Inge Mathisen
02fedc9a9b
Allow droids to self-repair while in a transport without causing an assert.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3248 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 18:56:05 +00:00
Per Inge Mathisen
78cf2ce293
Fix indentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3247 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 18:55:35 +00:00
Per Inge Mathisen
72281bab96
Document and clean up game timer code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3246 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 18:06:40 +00:00
Giel van Schijndel
927aa2c39d
* Don't send packets when we're not in multiplayer mode (!bMultiPlayer)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3245 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 18:05:27 +00:00
Giel van Schijndel
b5e426a66b
* Move the send/recv-RequestDroid functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3244 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:14:52 +00:00
Giel van Schijndel
05d14b995a
* Move the send/recv-HappyVtol functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3243 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:13:23 +00:00
Giel van Schijndel
6d19aa6473
* Move the send/recv-GroupOrder functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3242 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:11:39 +00:00
Giel van Schijndel
352246e652
* Move the send/recv-DroidSecondaryAll functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3241 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:10:01 +00:00
Giel van Schijndel
204611ba6b
* Move the send/recv-DroidSecondary functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3240 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:08:13 +00:00
Giel van Schijndel
8e1536d867
* Move the send/recv-DroidMove functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3239 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:07:11 +00:00
Giel van Schijndel
ed2ac88c21
* Move the send/recv-DroidInfo functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3238 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:05:15 +00:00
Giel van Schijndel
498b6c4660
* Move the send/recv-DroidEmbark functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3237 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:02:53 +00:00
Giel van Schijndel
28f5f74aba
* Move the send/recv-DroidDisEmbark functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3236 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 17:01:17 +00:00
Giel van Schijndel
7a0be7c719
* Move the send/recv-Droid functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3235 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 16:59:20 +00:00
Giel van Schijndel
66e3517354
* Move the send/recv-DestroyDroid functions over to the new net primitives API (patch #905 by myself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3234 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-30 16:57:14 +00:00
Dennis Schridde
6134810a78
My most dumb commit ever: Dummy reference vorbisfile.h symbols to prevent warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3233 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 23:24:33 +00:00
Dennis Schridde
5143e3e165
Add MKID macro for dummy symbols.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3232 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 23:21:20 +00:00
Per Inge Mathisen
8d875c28ab
Workaround for bug #10602 . When AI sends a group order for VTOLs, sometimes a
...
dead droid is references as a target. We check the order for a dead target,
and ignore it. Should fix properly later.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3231 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 23:07:13 +00:00
Per Inge Mathisen
877ac6456c
Add lots of doxygenized comments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3230 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 22:34:41 +00:00
Per Inge Mathisen
5cca5e2893
Make droid experience a floating point in tagfile format, and add better
...
error reporting for user errors when they forget to update definition file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3229 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 19:53:14 +00:00
Per Inge Mathisen
3550e701f6
Fix indentation and remove some dead code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3228 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 19:39:31 +00:00
Per Inge Mathisen
52aa90d200
Fix a few spelling errors, and add a new debug category 'multisync'.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3227 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 17:55:20 +00:00
Dennis Schridde
82921fea9e
Merge back r3223 from branches/2.0:
...
- Move win32/*.ico into icons/
- Modify windows icon to use 4/8/32bpp per size (except at 48x48 where 8 and 32bpp are sufficient), so that it properly displays on Vista
- Add splashbar I used for MojoSetup
- Add windows uninstaller icon
- Use (un)installer icon for the NSIS installer
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3224 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 13:55:17 +00:00
Freddie Witherden
d5a506c3bb
Commit the final part of patch #901 , which deals with droid synching/checking.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3222 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 12:22:55 +00:00
Freddie Witherden
a21fb63b8e
Commit part four of patch #901 . This deals with structure synching.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3221 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 12:21:14 +00:00
Freddie Witherden
62d372c471
Commit part 3 of patch #901 , score submission is now ported over to the new API.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3220 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 12:18:40 +00:00
Freddie Witherden
c2c5fdb3dc
Commit the second part of patch #901 . This ports power check functions to the new netcode API.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3219 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 12:15:45 +00:00
Freddie Witherden
919cac4c78
Commit the first part of patch #901 . This ports the ping functions over to the new netcode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3218 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 12:13:18 +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
Giel van Schijndel
851615f5db
* Don't display _("Sorry, that cheat is disabled in multiplayer games.") on the ingame console when just typing regular text
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3216 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 21:29:01 +00:00
Christian Ohm
a128029caf
Replace the credits screen with a cleaned up version.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3213 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 19:02:00 +00:00
Giel van Schijndel
dc391434a3
* Remove text/plain mime-type from editworld.rc
...
* Add a simple resource file (editworld.rc) for the wxWidgets version of EditWorld containing two icons (aside from the default wxWidgets icons)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3211 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 12:17:02 +00:00
Giel van Schijndel
88e0d37c1c
* Rename mainfrm.cpp and mainfrm.h to mainframe.cpp and mainframe.h respectively
...
* Remove mainfrm.cpp and mainfrm.h from the Code::Blocks project file (as mainframe.cpp and mainframe.h where already present)
* Add mainframe.xrc to the Code::Blocks project file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3210 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 11:47:39 +00:00
Giel van Schijndel
712b4f11d0
* After reporting the bug when loading menus in wxSmith from XRC files to the Code::Blocks devs they've fixed it
...
* So now convert our MainFrame window to an XRC file
* This results in less code (as the window is now defined as an XML file rather than a huge amount of window creating code)
* Also the compile time has now drastically decreased for mainframe.cpp
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3209 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 11:26:57 +00:00
Ari Johnson
b7230cb273
Updated trunk Xcode project to use libvorbis-1.2.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3208 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 00:08:44 +00:00
Giel van Schijndel
9fd1fde8ec
* Add a start for the MainFrame window (and display it when starting the program)
...
* An implementation of Help->About is already provided :-D (which is probably the easiest thing about the program...)
* Currently this window is produced through means of code generation since I can work around something that seems to be a bug in wxSmith this way (the "bug" only occurs when defining windows in XML resource files)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3207 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-28 00:08:25 +00:00
Ari Johnson
47816967a7
Updated Xcode project and some endian fixes; also changed endian_*() calls
...
to expand to ((void) (x)) on little-endian systems, so that the compiler
will catch little-endian developers who forget to update the endian_*()
calls when they change the names of structure fields.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3205 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-27 23:55:34 +00:00
Giel van Schijndel
c86606c553
* Just upgraded my Code::Blocks installation (to r4751 of it); updating the generated parts of the code...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3204 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-27 23:09:52 +00:00
Giel van Schijndel
b0909d4c18
* Get rid of some unnecessary global variables (aAudioName, aTextName, aSubtitleName) since stack allocated variables sufficed
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3203 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-27 23:03:09 +00:00
Freddie Witherden
2f37e44da6
Revert r3198 which for some reason asserts.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3202 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-27 22:32:08 +00:00
Freddie Witherden
6a338c71ce
Use the endian swapping functions provided by SDL.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3201 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-27 19:29:53 +00:00