Commit graph

568 commits

Author SHA1 Message Date
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
26776d7b4f Move project up to / 2011-08-19 07:36:57 +00:00
Yamagi Burmeister
bc98788d2e Add a TODO file 2011-08-16 10:26:58 +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
0424b36e88 Beschreibung leicht verbessert 2010-12-20 09:07:23 +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
Yamagi Burmeister
b282f41093 Begrenze cl_maxfps per Default auf 95 2010-11-27 11:56:50 +00:00
Yamagi Burmeister
250f3e48f1 Einen Hinweis auf die Q2-Version des 125hz bugs 2010-11-27 11:48:55 +00:00
Yamagi Burmeister
e57aba66c1 Man sollte strncmp() auch richtig anwenden 2010-11-27 11:19:59 +00:00
Yamagi Burmeister
8af8dd1559 Stoppe Ogg-Playback, wenn Track 0 gefordert wird 2010-11-27 10:45:09 +00:00
Yamagi Burmeister
5d310d1eda Hinweis auf Schatten 2010-11-27 10:24:05 +00:00
Yamagi Burmeister
ec4c519053 Fasse 2 if zusammen (by caedes) 2010-11-27 08:05:35 +00:00
Daniel Gibson
365ded42db fixed mremap() usage on linux 2010-11-26 21:57:14 +00:00
Yamagi Burmeister
7c21154ff7 Versionsnummer auf 3.00 2010-11-26 18:42:19 +00:00
Yamagi Burmeister
9f38155a7e Include-Path für SDL auch in den Refresher 2010-11-26 12:43:27 +00:00
Yamagi Burmeister
ce68e01009 Ein neues Makefile 2010-11-26 12:28:00 +00:00
Yamagi Burmeister
d05e5272dd Überarbeite sv_world.c 2010-11-26 08:36:57 +00:00
Yamagi Burmeister
8a80e54c0b Räume sv_user.c auf 2010-11-26 08:30:12 +00:00
Yamagi Burmeister
d899229399 Überarbeite sv_send.c 2010-11-26 08:20:11 +00:00
Yamagi Burmeister
cb0159014d Connectionless server commands in eine eigene Datei 2010-11-26 08:12:50 +00:00