Commit Graph

2777 Commits (1c44cf856824e24c38e7acbbebcf3cde42aba776)

Author SHA1 Message Date
Freddie Witherden c5f5a74e5c Remove some dead code in structure.c.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3317 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 21:19:07 +00:00
Giel van Schijndel 69ad91c56b * Enable debugmode (allows cheating) by default on DEBUG builds
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3316 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 21:06:00 +00:00
Roman C 1f10acfaf5 Balancing tweaks:
-Python body is a pre-requisite for Tracks now

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3315 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 19:16:18 +00:00
Per Inge Mathisen 2ca1351c13 Add another field to the IMG csv files that describe what it does.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3314 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 19:15:45 +00:00
Per Inge Mathisen 2954a59823 Fix lack of proper highlighting of the locked teams button in multiplayer join dialog.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3313 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 17:59:58 +00:00
Roman C c2ef4afcdc Balancing tweaks:
-gave more firepower to flamers and cannons
-made cannons more versatile

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3312 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 17:21:49 +00:00
Per Inge Mathisen dc7a84da62 Log droid death and packet source. Beware: This will make net games incompatible
between before and after this commit.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3311 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 17:08:29 +00:00
Giel van Schijndel 6e98009cd4 * Set mime-type to image/png
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3310 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 09:30:47 +00:00
Giel van Schijndel 7cb804c32e * Depend on libglc-dev while building a Debian package (Yay\! It's finally in the Debian repositories\!)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3309 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 23:15:21 +00:00
Dennis Schridde 60216b7420 - Seperate 2D and 3D graphics artists
- Add Hatsjoe for 2D graphics
- s/Coder/Programming/


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3308 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 22:56:46 +00:00
Per Inge Mathisen d281f9e845 Make svn use native text encoding for IMG files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3307 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 22:28:41 +00:00
Per Inge Mathisen 639843ee25 Change mime type of IMG files to text/csv
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3306 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 22:27:54 +00:00
Per Inge Mathisen bb660a0a02 Fix "clever" use of malloc that made MSVC (correctly) complain about assumed size of void.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3305 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 22:13:27 +00:00
Per Inge Mathisen 2b65dc3057 Add cathuria to AUTHORS and add a list of other than GPL licensed
material to COPYING.README.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3304 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 21:46:50 +00:00
Per Inge Mathisen 168a66b89c Add another backdrop by cathuria.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3303 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 21:40:04 +00:00
Per Inge Mathisen 52cca82fb2 Change the binary IMG files into CSV text files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3302 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 21:33:47 +00:00
Freddie Witherden 39fe5d3544 Fix an error in the recvStructureCheck function that would result in a segfault.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3301 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 21:30:44 +00:00
Dennis Schridde 3f6b52bef1 src/game.c: Minor beautification.
configure.ac: YY_NO_INPUT prevents Flex from defining input(), which we do not need, since we use our own YY_INPUT instead. Maybe we should use Flex's function instead?
lib/script/script_parser.y: scriptStoreVarTypes() was defined but never used.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3300 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 15:18:25 +00:00
Dennis Schridde 1afd50b629 - Turn several id = (int)ptr assignments into FIXME_CAST_ASSIGN, so places of malicious ptr-to-int casts can be easier identified. (Doesn't fix the actual problem/warning. Often uses a _tmpid.)
- Turn a 0xcdcdcdcd into a MSVCRTD_INVALID_MEMORY macro. This should be fixed, since it will not work without MSVC!!!


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3299 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 14:51:19 +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
Per Inge Mathisen 997c5bb7a1 Fix two compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3297 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 12:39:34 +00:00
Dennis Schridde a1549b9eda Thanks Hatsjoe for redoing the NASDA-Satelite backdrop!
Originaly placed in the public domain, this work is uploaded to SVN as "GPL v2 or later".
http://forums.wz2100.net/?topic=1253.msg11409#msg11409


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3296 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 03:02:42 +00:00
Roman C d50a969336 Weapon balance tweaks:
mini-pods:
  - reverted all values to default, since all changes are done in weaponmodifier.txt / structuremodifier.txt now

mini-rocket artillery:
  - increased long hit chance from 60 to 65
  - increased number of rounds from 8 to 9
  - increased damage from 30 to 34

NOTE: mini-rocket artillery is designed to be used together with mini-pods, they complement each other

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3295 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-01 00:25:20 +00:00
Roman C 84cac24ac7 Applied "Rock, Paper, Scissors" to structuremodifier.txt
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3294 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:42:50 +00:00
Roman C cd20d0e196 Sorted lines in structuremodifier.txt for better readability.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3293 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:38:38 +00:00
Roman C ea8e5cd71a Changed values of the weaponmodifier.txt - first step of applying "Rock, Paper, Scissors" principle.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3292 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:35:56 +00:00
Roman C 2684e521f5 Sorted lines in weaponmodifier.txt for better readability. No modifications to the data.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3291 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:31:50 +00:00
Freddie Witherden d6961273f4 Clean up gfxVisible in projectile.c
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3290 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:07:59 +00:00
Giel van Schijndel 5772327c83 * Ahum, shouldn't have committed this file yet (as it is CSV still...)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3289 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:05:46 +00:00
Giel van Schijndel f2164d0d07 * Add SQL conversions of some stats files (from the campaign directory) (all are valid SQLite syntax)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3288 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:03:45 +00:00
Freddie Witherden dfdf738deb Remove some commented-out PSX specific raycasting code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3287 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 23:02:22 +00:00
Roman C 68788df771 Make ROF weapon upgrades reduce reload time for weapons with salvo file (otherwise ROF upgrades bring no advantages for weapons with salvo file).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3286 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 22:16:51 +00:00
Giel van Schijndel 30d837ec90 * Allow compilation on MSVC again
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3285 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 21:55:02 +00:00
Roman C 3912841537 Fix weapons that had more than 1 fire round (salvo file) but no reload time specified.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3284 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 21:39:09 +00:00
Giel van Schijndel af1674e101 Expand the TODO with:
* Add the ability to pause music (from the user playlists) with a keybind

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3283 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 21:10:34 +00:00
Per Inge Mathisen eecbccbfb4 Encapsulate time adjustment of value increments in the code and try to
document the time code better.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3282 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 18:37:20 +00:00
Per Inge Mathisen 37260b7c2e tagfile: Allow the specification of an undefined length string in a definition file by
making the defined length zero.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3281 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 17:38:04 +00:00
Giel van Schijndel 39750cec9c * Update the tagfile definition files to __all__ include the description of BO (boolean) in their header comment
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3280 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 16:21:06 +00:00
Dennis Schridde 8d39dc6ce9 Revert pkg-config OpenGL check, since it doesn't work always, probably where Mesa is not installed.
Clean out stray OpenAL header check, forgotten when switching to pkg-config.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3279 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 15:42:59 +00:00
Dennis Schridde 1a6393cfdf We dont have anymore int-to-pointer-cast warnings, yay!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3278 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 15:36:46 +00:00
Dennis Schridde cdda4cda8a Use pkg-config checks for OpenAL and OpenGL. (OpenGL is actually tested against the Mesa version, and we still check for SDL_opengl.h.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3277 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 15:33:03 +00:00
Giel van Schijndel 3d245df0f9 * Provide an implementation of sound_PlayStream
* Modify audio_PlayStream's prototype to match sound_PlayStream's implementation & prototype
 * In cdspan_PlayInGameAudio use sasprintf instead of a statically sized array and snprintf
 * Add some Doxygen comments

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3276 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 15:16:59 +00:00
Giel van Schijndel 06649908ff * abort() when out of memory
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3275 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 15:02:29 +00:00
Per Inge Mathisen 63844bf2b7 Do not repeat what was just said with a question mark behind it when
debug mode enabled in multiplayer.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3274 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 14:17:57 +00:00
Per Inge Mathisen a4972d3d38 Reduce verbosity of LOG_3D
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3273 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 14:04:21 +00:00
Per Inge Mathisen 015ed6d869 Fix problem that prevented multisync from working, and remove unused
related game parameters. Also fix savegame incompatibility introduced 
in a previous commit (will break savegames made in last few revisions).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3272 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 13:52:58 +00:00
Per Inge Mathisen 9e2c0e6f18 Clean up keybind.c
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3271 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 12:31:59 +00:00
Giel van Schijndel de264ad804 * Remove yet some other useless sounds: ID_SOUND_HELP, ID_SOUND_BARB_SCREAM2, ID_SOUND_BARB_SCREAM3
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3270 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 12:02:18 +00:00
Giel van Schijndel 76b66c8271 * Remove scream4.ogg from audio.wrf
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3269 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 11:41:46 +00:00
Freddie Witherden 50506c390c Remove the number of packets which can be sent per second in an MP game. Also tune the max bytes per second to that of a 28.8KB/s modem.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3268 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-31 11:07:07 +00:00