Commit graph

201 commits

Author SHA1 Message Date
svdijk
77c9cb7e05 Update savegame tables (forgot them in the previous commit) 2013-03-23 12:30:48 +01:00
svdijk
5ed89a0373 Move some functions to a better place 2013-03-23 11:40:54 +01:00
svdijk
6f6c9a1aae Fix help computer and inventory updates when already opened 2013-03-20 20:21:53 +01:00
svdijk
909e69462f Fix a typo in a function prototype in game.h 2013-03-19 21:42:48 +01:00
Joshua Scoggins
df4c4dd9dd Added ia64 to the ARCH define 2012-11-30 20:21:28 -08:00
svdijk
1c0934f462 Game cleanup. 2012-11-07 21:10:48 +01:00
Yamagi Burmeister
e9c5c3ca8e Add savegame defines for OS X 2012-09-14 11:32:42 +02:00
Sander van Dijk
1f2452e7a6 src/game/g_weapon.c: Some sanity check changes. 2012-08-28 17:05:31 +02:00
Yamagi Burmeister
7958767922 Blaster shots shall not explode at the skybox 2012-08-26 15:38:00 +02:00
Yamagi Burmeister
4a81e58128 Okay, do the last commit acutally right... damage can be NULL. 2012-08-26 14:57:28 +02:00
Yamagi Burmeister
8819ad1c9a Fix a too strict sanity check in void blaster_touch()
This sanity check caused a too early exit of the function if the player
stood directly in front of a wall and fires the blaster or hyper
blaster. Therefor the wall impact effect wasn't drawn. This commit
fixes issue #6. Many thanks to svdijk for narrowing this problem down to
somewhere between 3.00 and 4.00.
2012-08-26 10:24:55 +02:00
Jonathan Gray
1f9d6084b6 OpenBSD port 2012-08-18 09:53:03 +02:00
Yamagi Burmeister
ae99562741 Seed the game PRNG at startup 2012-06-26 14:31:01 +02:00
Yamagi Burmeister
341014eda0 Merge branch 'scanbuild' into windows 2012-06-14 12:18:15 +02:00
Yamagi Burmeister
73e6dc6307 Revert "Convert random() to randk() and crandom() to crandk()"
This reverts commit 12ce981d64.
2012-06-14 12:12:57 +02:00
Yamagi Burmeister
58c3b22c8a Add platform defines for Windows 2012-06-05 10:17:01 +02:00
Yamagi Burmeister
1deb069085 Remove dead assignments 2012-06-04 09:13:29 +02:00
Yamagi Burmeister
36a41f9746 Prevent a divion by zero 2012-06-04 09:13:29 +02:00
Yamagi Burmeister
b1dfcb7aff Convert random() to randk() and crandom() to crandk() 2012-06-04 09:13:29 +02:00
Yamagi Burmeister
35e5bbb48b Convert rand(), crand() and frand() to randk(), crandk() and frandk() 2012-06-04 09:13:29 +02:00
Yamagi Burmeister
edae2b0473 Change atof() to strtod() 2012-06-04 09:13:28 +02:00
Yamagi Burmeister
e9c90e16a9 Change atoi() to strtol() 2012-06-04 09:13:28 +02:00
Yamagi Burmeister
6befae2ffd Remove dead assignments 2012-06-02 13:21:22 +02:00
Yamagi Burmeister
4ece3714aa Prevent a divion by zero 2012-06-02 12:56:07 +02:00
Yamagi Burmeister
12ce981d64 Convert random() to randk() and crandom() to crandk() 2012-06-02 12:30:20 +02:00
Yamagi Burmeister
40ff7a6b09 Convert rand(), crand() and frand() to randk(), crandk() and frandk() 2012-06-02 11:55:12 +02:00
Yamagi Burmeister
881b935b65 Change atof() to strtod() 2012-06-02 10:33:28 +02:00
Yamagi Burmeister
67dbe816c9 Change atoi() to strtol() 2012-06-02 10:24:52 +02:00
Yamagi Burmeister
b6325d7858 Remove unused variables and dead code (patch submitted by Christoph
Mallon)
2012-04-30 10:02:58 +02:00
Christoph Mallon
ab034114b4 Whitespace fixes. 2012-04-30 08:25:59 +02:00
Yamagi Burmeister
b6bb97e223 - add support for big endian CPUs
- enable the build on SPARC64
- add runtime-requirements for SPARC64
- bump version number to 4.10
2012-04-16 06:54:48 +00:00
Yamagi Burmeister
7eee82d981 Add a quirk for the broken intermission in fact1 2011-11-11 11:47:17 +00:00
Yamagi Burmeister
184bbee145 Do not alter the existing info_player_start, create a new one instead 2011-10-24 10:08:02 +00:00
Yamagi Burmeister
a01bcd5972 Fix manual loading of some maps:
- create an unnamed info_player_start when necessary
- increase the fixup radius of the coop-connector to 550
- some formation improvemens
- add SP_CreateUnnamedSpawn to the savegames and break them again
2011-10-24 09:26:58 +00:00
Yamagi Burmeister
034e72dced Add a comment for the last revision 2011-10-23 21:02:55 +00:00
Yamagi Burmeister
ef85571d07 Fix coop startup points in case that the map was loaded via console 2011-10-23 20:34:17 +00:00
Yamagi Burmeister
1d6872caa7 Use the actual RIGHT fix -_- 2011-10-13 12:27:17 +00:00
Yamagi Burmeister
4db397a9c6 Add a missing negiator, resulting in skyboxes not hurting the player 2011-10-13 12:08:14 +00:00
Yamagi Burmeister
4ab909892f Fix a brainfart (do not show deathmatch items in coop) 2011-10-11 09:51:39 +00:00
Yamagi Burmeister
133ac1e5d6 Fix comment 2011-10-11 09:20:29 +00:00
Yamagi Burmeister
db9de69884 - Bump savegame version
- Bump client version
2011-10-09 16:56:33 +00:00
Yamagi Burmeister
24b5f7fe97 Remove ctf/ from Makefile and simplify it. 2011-10-09 16:55:23 +00:00
Yamagi Burmeister
69b465fb1e Move game one dir up 2011-10-09 16:12:53 +00:00
Yamagi Burmeister
fb56085d0d Move ctf/ into it's own subproject. 2011-10-09 16:11:15 +00:00
Yamagi Burmeister
038b7f0126 Remove target_actor and misc_actor. They were never fully implemented
and unused
2011-10-09 16:08:49 +00:00
Yamagi Burmeister
27b41e697a Move player.h to misc/ 2011-10-09 15:58:20 +00:00
Yamagi Burmeister
f4cc8ff99d Correct description 2011-10-09 15:52:10 +00:00
Yamagi Burmeister
36f279fe83 cleanup tank/ and add sanity checks 2011-10-09 15:51:52 +00:00
Yamagi Burmeister
321eef5ec0 cleanup supertank/ and add sanity checks 2011-10-09 15:51:43 +00:00
Yamagi Burmeister
4f1c803c9a cleanup soldier/ and add sanity checks 2011-10-09 15:51:19 +00:00
Yamagi Burmeister
98d026c97d cleanup parasite/ and add sanity checks 2011-10-09 15:51:02 +00:00
Yamagi Burmeister
7040761a4c cleanup mutant/ and add sanity checks 2011-10-09 15:50:37 +00:00
Yamagi Burmeister
0f907646db cleanup misc/ and add sanity checks 2011-10-09 15:50:23 +00:00
Yamagi Burmeister
75821cba17 cleanup medic/ and add sanity checks 2011-10-09 15:50:07 +00:00
Yamagi Burmeister
9f8610d806 cleanup insane/ and add sanity checks 2011-10-09 15:49:44 +00:00
Yamagi Burmeister
5369804a6f cleanup infantry/ and add sanity checks 2011-10-09 15:49:04 +00:00
Yamagi Burmeister
71dca0bc24 cleanup hover/ and add sanity checks 2011-10-09 15:48:48 +00:00
Yamagi Burmeister
e589731fa1 cleanup header/ and add sanity checks 2011-10-09 15:48:36 +00:00
Yamagi Burmeister
7442bb1b98 cleanup gunner/ and add sanity checks 2011-10-09 15:48:03 +00:00
Yamagi Burmeister
fbf51542fb cleanup gladiator/ and add sanity checks 2011-10-09 15:47:46 +00:00
Yamagi Burmeister
41e0b6dfdd cleanup flyer/ and add sanity checks 2011-10-09 15:47:30 +00:00
Yamagi Burmeister
ea92ba9fe6 cleanup float/ and add sanity checks 2011-10-09 15:46:59 +00:00
Yamagi Burmeister
1cc82146a2 cleanup flipper/ and add sanity checks 2011-10-09 15:46:18 +00:00
Yamagi Burmeister
caf17d1c3e Cleanup chick and add sanity checks 2011-10-07 16:05:30 +00:00
Yamagi Burmeister
c08a7e1bbe Rework brain and add sanity checks 2011-10-07 07:23:31 +00:00
Yamagi Burmeister
c64d346e7f Rework boss3 and add sanity checks 2011-10-07 06:47:52 +00:00
Yamagi Burmeister
3576645846 Rework boss2 and add sanity checks. 2011-10-07 06:20:34 +00:00
Yamagi Burmeister
cf2fb96cce Rework berserker and add sanity checks 2011-10-07 06:09:55 +00:00
Yamagi Burmeister
7274f27131 Let ctf use the files in common/ 2011-10-06 09:13:56 +00:00
Yamagi Burmeister
feaa8a6f21 Move q_shared.c, q_shared.h and m_flash.c into common/ 2011-10-06 08:52:26 +00:00
Yamagi Burmeister
77130008cc Revert CTF macro stuff 2011-10-06 08:04:42 +00:00
Yamagi Burmeister
91ffbf0ba5 Reorder game files 2011-10-06 07:54:45 +00:00
Yamagi Burmeister
bc8a06bdd4 Roll the ctf crap back. It won't work this way, since some low level
parts of the code (g_local.h) differ too much. We need a better 
solution...
2011-10-05 19:57:25 +00:00
Yamagi Burmeister
c958563b2b Merge the uncommented rest of the CTF code and fix the Makefile 2011-10-05 18:46:23 +00:00
Yamagi Burmeister
293e360333 COmmit what we have so far. CTF is still broken 2011-10-05 17:28:30 +00:00
Yamagi Burmeister
a729ad3701 - Add header guards
- Bring the CTF files over
2011-10-05 16:33:04 +00:00
Yamagi Burmeister
56b41dd705 Merge generic parts of ctf/ with baseq2/. This should have any impact on
the baseq2/ source path.
2011-10-05 15:30:11 +00:00
Yamagi Burmeister
b9d907f7ea Fix a bug introduced in r663 2011-10-04 16:46:51 +00:00
Yamagi Burmeister
9300c3c7e4 Use a better bounding box for rotating brush models. 2011-10-04 16:31:28 +00:00
Yamagi Burmeister
58f1ec91cd Fix the rare "SZ_GetSpace: overflow" bug, triggered by too much gibs or
debris
2011-10-04 16:02:31 +00:00
Yamagi Burmeister
9047d873ab Do not use the bodyqueue in single player 2011-10-04 15:49:22 +00:00
Yamagi Burmeister
b1b2815b66 Add file headers 2011-10-04 15:30:03 +00:00
Yamagi Burmeister
169145bf80 Reject savegames from another game.so 2011-10-04 15:16:43 +00:00
Yamagi Burmeister
bd5d37c06d Fix radius damage, broken in r660 2011-10-04 13:18:41 +00:00
Yamagi Burmeister
89f808185d Remove an unused variable 2011-10-04 13:12:50 +00:00
Yamagi Burmeister
8ba8373440 Commit the cool, amazing and outresolving savegame
system. Savegames don't break anymore when the
game.so is recompiled or changed. :)
2011-10-04 13:02:52 +00:00
Yamagi Burmeister
7258574e7f Add some comments to empty functions 2011-10-04 07:42:28 +00:00
Yamagi Burmeister
212aed50e5 Remove the last "static" function in the game code 2011-10-04 07:38:38 +00:00
Yamagi Burmeister
e1f2b10d5e Rework q_shared.* and add sanity checks 2011-10-03 17:04:35 +00:00
Yamagi Burmeister
aa9f0cce93 Cleanup of g_local.h 2011-10-03 16:28:11 +00:00
Yamagi Burmeister
f3ca824048 Rework p_weapon.c and add sanity checks 2011-10-03 16:02:22 +00:00
Yamagi Burmeister
1f95708b3d Add sanity checks to p_view.c 2011-10-03 15:38:43 +00:00
Yamagi Burmeister
6d96faf298 Cleanup of p_view.c, first step 2011-10-03 15:26:23 +00:00
Yamagi Burmeister
daaaebe859 Rework p_trail.c and add sanity checks 2011-10-03 09:06:32 +00:00
Yamagi Burmeister
8c084636f8 Rework p_hud.c 2011-10-03 08:35:27 +00:00
Yamagi Burmeister
0f1de339c2 Add file header and remove static keywords 2011-10-03 08:22:14 +00:00
Yamagi Burmeister
68d82aa2b5 Rework p_client.h again and add sanity checks. 2011-10-03 08:19:44 +00:00
Yamagi Burmeister
b768cea818 Rework g_wepon.c and add sanity checks 2011-10-02 09:02:03 +00:00
Yamagi Burmeister
e9220c468a Rework g_utils.c and fix the removal of some entity classes 2011-10-02 08:33:36 +00:00
Yamagi Burmeister
6a105cf71d Rework g_trigger.c, add sanity checks and a bugfix for cases in which a
monster spawns in a trigger_hurt.
2011-10-01 11:10:57 +00:00