Commit graph

571 commits

Author SHA1 Message Date
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
13d1ab9bc1 Add 1440x900 and 1920x1080 resolutions 2011-10-10 08:37:35 +00:00
Yamagi Burmeister
cc9f4590c3 Really add signalhandler.c 2011-10-10 07:53:34 +00:00
Yamagi Burmeister
60a2ca3eb9 Add a signal handler to the client 2011-10-10 07:51:16 +00:00
Yamagi Burmeister
d4a60e7b77 - Add yq2.cfg to the code, an example to stuff/ and metion it in the
README
- Rename tools/ to stuff/
2011-10-09 17:55:10 +00:00
Yamagi Burmeister
6c250e40da Rename the config dir to ~/.yq2 2011-10-09 16:59:28 +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
0bd9096f7f Integrate caedes systemwide installation patch 2011-10-04 19:29:40 +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
Yamagi Burmeister
6d5c445ca5 Rework targets and add sanity checks. Add a new mapquirk for fact2 by
KMQuake2 and trigger activators via cross level triggers. While this 
is unused by baseq2 some editors supported this and thus some custom
maps may use it.
2011-10-01 09:34:28 +00:00
Yamagi Burmeister
04dbcffa03 Rework g_svcmds.c and add sanity checks 2011-10-01 08:47:41 +00:00
Yamagi Burmeister
74ff11850b Rework g_spawn.c, add sanity checks and plug a memory
leak. Honor the COOP-Flag of item, this should be 
unused by the main game data but maybe some mappers
used it.
2011-10-01 08:36:02 +00:00
Yamagi Burmeister
e426e7ab82 Rework g_phys.c again. Port some minor bugfixes from Lazarus 2011-09-30 10:08:10 +00:00
Yamagi Burmeister
f17cd52aa1 Make static functions normal 2011-09-30 09:06:48 +00:00
Yamagi Burmeister
2b4f223566 Rework g_monster.c again and add sanity checks. Some minor
bugs were fixed too:
- Comment two lines back in which were removed by id. They
  SEEM to bee correct
- Slime shouldn't destroy dead monsters (this was lost some 
  versions ago)
2011-09-30 09:04:35 +00:00
Yamagi Burmeister
f1d3040cde Rework g_misc.c again and add sanity checks. Fix the rare crash at
biggun exit (code ripped from "sculler"). Fix suddenly disapearing black
hole generator model.
2011-09-29 14:04:36 +00:00
Yamagi Burmeister
7f5431c51a Make functions non static (for new savegame code) 2011-09-28 20:13:41 +00:00
Yamagi Burmeister
45194cad7e Rework g_main.c 2011-09-28 16:38:01 +00:00
Yamagi Burmeister
717bdcd658 Rework g_items.c again and add sanity checks 2011-09-28 16:26:41 +00:00
Yamagi Burmeister
9c25987531 Rework g_func.c again, add sanity checks and comments. 2011-09-28 08:59:35 +00:00
Yamagi Burmeister
e8b7868eef Small bugfixes 2011-09-28 06:35:37 +00:00
Yamagi Burmeister
5e924e2f96 Add the license header back 2011-09-28 06:20:21 +00:00
Yamagi Burmeister
bf692e5bc2 Clean g_combat.c up again and at a myriad of sanity checks 2011-09-27 20:03:00 +00:00
Yamagi Burmeister
cda35b691f Add even more santiy checks to g_cmds.c 2011-09-27 18:01:29 +00:00
Yamagi Burmeister
7dff3c1423 Add many, many sanity checks 2011-09-27 17:40:46 +00:00
Yamagi Burmeister
da9ba25067 Add a sanity check to prevent a potential crash 2011-09-27 16:08:55 +00:00
Yamagi Burmeister
313008eb19 Rework g_cmds.c again 2011-09-27 15:59:09 +00:00
Yamagi Burmeister
0dd8410cb0 Rework g_chase.c again 2011-09-27 15:25:38 +00:00
Yamagi Burmeister
c40fd329cd Basic rework and cleanup of g_ai.c 2011-09-27 15:16:40 +00:00
Yamagi Burmeister
3214807ebf Revert r605 2011-09-27 14:34:26 +00:00
Yamagi Burmeister
f77683e60a Sort grenates into a linked list 2011-08-16 10:19:20 +00:00
Yamagi Burmeister
c196b662b6 Small fixups to grenates and rockets 2011-08-16 09:54:22 +00:00
Yamagi Burmeister
76e4017dea Small fix of skin replacement 2011-08-16 09:38:13 +00:00
Yamagi Burmeister
672266241c Initialize some variables 2011-07-02 08:34:02 +00:00
Yamagi Burmeister
0aa45e9736 Fix some warnings with clang 2011-06-27 14:40:16 +00:00
Yamagi Burmeister
54eec20990 Behebt einen potentiellen Nullpointer beim Herausfinden, ob der Spieler
vor einem Monster steht.
2011-01-23 14:40:50 +00:00
Yamagi Burmeister
f9fbe8d380 - Nutze 1024 Samples bei 44 kHz. Dies macht Q2 mit dem
Pulseaudio-Schrott kompatibel.
- Mache s_khz im Frontend und Backend kompatibel
2011-01-23 09:37:30 +00:00
Yamagi Burmeister
c7dc7eb62f Fly hinzugefügt 2011-01-11 17:45:00 +00:00
Yamagi Burmeister
bff20f6b7c Nächter Soundpatch von Ozkan:
- Adds a "float volume" argument to snd_dma.c:S_RawSamples()
	so that ogg can use it too
  - That S_RawSamples now has a volume argument, the
    cinematics now honor the volume adjustment instead of 
    playing at full volume all the time even if volume is
	zeroed                                                                               
  - Moves endianism handling from S_RawSamples to codec
    level                                                         
  - Fixes an issue of S_RawSamples with 8 bit stereo samples
	(not seen/tested with q2 but with my uhexen2)
  - Other minor adjustments
2010-12-20 09:56:37 +00:00
Yamagi Burmeister
f5f5c0d2ca Korrigiere Endianism im Vorbis-Code 2010-12-03 09:45:49 +00:00
Yamagi Burmeister
4b6c561acc Erweitere Vorbis-Unterstützung:
- Support für Big-Endian Pamps (läuft yQ2 auf sowas überhaupt?)
 - Unterstützung für 22khz Vorbis-Dateien (ermöglicht es die
   Wave-Dateien aus den Pags in Vorbis zu konvertieren, wenn man denn
   drauf steht.)
 - Unterstützung für Mono-Dateien (Sinnvoll für Handhelds)

Patch von: Ozkan Sezer
2010-11-30 10:28:20 +00:00