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
Daniel Gibson
ebccfc63df
Remove need to link against libopenal
...
libopenal is loaded with dlopen() and for all used alBla and alcBla functions
there are function pointers (just like thee qgl stuff for OpenGL).
Thus there's no need to link against libopenal on compile-time.
There were a few occurences of "normal" openal functions (al* instead of qal*)
- they are fixed now.
This allows to use a yquake2 version compield with WITH_OPENAL=yes to be used
on systems that have no libopenal installed (the standard SDL sound backend
will be used then).
2012-04-29 15:24:14 +02:00
Yamagi Burmeister
4203bed129
Bump version number to 4.20
2012-04-29 08:08:21 +00:00
Daniel Gibson
965fedf9ae
It's X11GAMMA with 2 "m".
2012-04-28 20:04:24 +00:00
Daniel Gibson
2b7ef996ed
Fall back to "libGL.so.1" if gl_driver set in (default) config fails
2012-04-28 20:02:15 +00:00
Daniel Gibson
632bd0a776
Enforce "C" lokale, this time correctly
...
Now when some braindead alsa/ladspa plugin calls setlocale(LC_ALL, "") the
locale is (still) set to "C" and not some other locale that may fsck up printf
and scanf formats
2012-04-28 19:39:36 +00:00
Daniel Gibson
669a78de12
Compiletime options in Makefile overwritable from console
...
And a small fix that shuts up a compiler warning
2012-04-28 19:38:07 +00:00
Daniel Gibson
53d54b1f23
Merge OpenAL branch
2012-04-28 15:58:50 +00:00
Daniel Gibson
31f9af817f
Last fixes and cleanups for OpenAL support
...
* New license header in snd_al.c
* README fixes
* Fix printing of used OpenAL device
* Cleanup in snd_al.c
2012-04-28 15:44:14 +00:00
Yamagi Burmeister
c62e5ac85b
- Implement AL_UnqueueRawSamples() and use it to stop the Vorbis playback
...
imediatly
- Increase Vorbis buffers to 64. 24 were to few
2012-04-27 14:06:08 +00:00
Yamagi Burmeister
2b6389a471
Filter sound samples (not the music) when under water
2012-04-27 13:55:45 +00:00
Yamagi Burmeister
1a0b4ebad5
Do not set / enable / show the s_openal CVAR if the binary is build
...
without OpenAL support. OpenAL is enabled in the default Makefile and if
it's disabled, it's shown at startup.
2012-04-27 12:00:22 +00:00
Yamagi Burmeister
905b31a918
Integrate OpenAL into the options system
2012-04-25 10:09:30 +00:00
Yamagi Burmeister
a388254252
Fix a missmerge
2012-04-25 10:09:16 +00:00
Yamagi Burmeister
2c3c203097
Merge out new options framework from the trunk
2012-04-25 09:57:17 +00:00
Yamagi Burmeister
38943b3573
Print build options at startup
2012-04-25 09:50:06 +00:00
Yamagi Burmeister
048f680701
Hide ZIP support behind ZIP
2012-04-25 09:12:02 +00:00
Yamagi Burmeister
92da6ed580
Hind retexturing support behind RETEXTURE
2012-04-25 08:59:40 +00:00
Yamagi Burmeister
03015a686b
Hide music playback from CD behind CDA
2012-04-25 08:53:25 +00:00
Yamagi Burmeister
9d60a5de6a
Hide OGG/Vorbis support under OGG
2012-04-25 08:24:38 +00:00
Yamagi Burmeister
f836cef4c4
Rename qal_api.c to unix/qal.c and qal_api.h to unix/header/qal.h.
...
Both files are platform dependend and won't work on non unixoid
platforms.
2012-04-24 14:20:01 +00:00
Yamagi Burmeister
bf6d491af3
- Refactor AL_SoundInfo() into the platform dependent
...
QAL_SoundInfo().
- Use QAL_SoundInfo() to print the OpenAL infos
at startup and by the "soundinfo" command.
- Implement printing of all available OpenAL
devices at startup and by the "soundinfo"
command.
2012-04-24 14:07:33 +00:00
Yamagi Burmeister
79c137254a
Rework qal_api.c and qal_api.h:
...
- Reformat to match "our" coding style
- Unroll all unreadable macros
- Remove the use of goto
2012-04-24 13:22:05 +00:00
Yamagi Burmeister
4ff4bf09e9
Merge the trunk back into the openal branch.
2012-04-23 14:09:33 +00:00
Yamagi Burmeister
479aae4a9c
*gna* This \n got lost on the way
2012-04-23 13:57:36 +00:00
Yamagi Burmeister
90d0811185
Delete all OpenAL sources at shutdown
2012-04-23 13:55:25 +00:00
Yamagi Burmeister
134878e996
- Some more minor style cleanup
...
- Much improved startup log messages
2012-04-23 13:44:12 +00:00
Yamagi Burmeister
678e50bf8d
Raise the volume of a positioned sample by 384 instead of 255 when using
...
OpenAL. This makes them much more distinguishable from the background
music.
2012-04-23 13:23:47 +00:00
Yamagi Burmeister
3bce2a212a
- Use a better way to calculate the number of buffers
...
used by OGG/Vorbis. 24 buffers are enough for smooth
and stutter free playback and ensure, that OGG_Stop()
is effective nearly immediately.
- Change C99 comments to C89, since snd_vorbis.c is
a C89 file. Caedes will beat me for this :/
2012-04-23 07:59:39 +00:00
Daniel Gibson
3d7013e12b
Fix: Cvar_Get needs a string as default value, not an int..
2012-04-22 20:28:41 +00:00
Daniel Gibson
8bfc61b564
Introduce s_openal to enable/disable OpenAL
...
And fix possible dangling else problem in that code
2012-04-22 20:27:02 +00:00
Daniel Gibson
efd85a76c6
Updated paintedtime in OpenAL mode so shotgun sounds right
...
probably fixes other issues as well.
2012-04-22 20:14:56 +00:00
Daniel Gibson
65914b342d
Allow DMA/SDL sound in OGG_Stream when compiling with USE_OPENAL
2012-04-22 17:59:03 +00:00
Yamagi Burmeister
e388a425b4
Enable OGG/Vorbis playback in OpenAL mode.
2012-04-22 17:50:15 +00:00
Daniel Gibson
04fd7f2cda
OpenAL Streaming Sound stuff
...
from zeq2, but adapted/stripped down for our needs.
Videos work (for me), music does not (yet)
2012-04-22 15:59:18 +00:00
Daniel Gibson
6384b850f1
Remove redundancy
2012-04-22 15:57:59 +00:00
Daniel Gibson
f4d5040a73
Add OpenAL stuff to Makefile, make it compile and work (no streaming sound yet)
...
It works \o/
It's still hacky so it needs more work.
And streaming sound (OGG music, sound from videos) is still missing.
2012-04-22 00:24:50 +00:00
Yamagi Burmeister
fc32d16d42
Print
...
- OS
- CPU
- byte ordering
at startup
2012-04-19 13:33:48 +00:00
Yamagi Burmeister
179ec5538e
Move strlwr() into shared.c and don't link main.c into the refresher
2012-04-19 13:22:50 +00:00
Yamagi Burmeister
a7aa1e93c0
Rename misc.c to main.c
2012-04-19 13:14:03 +00:00
Yamagi Burmeister
8930dc512f
Enforce "C" locale
2012-04-19 13:11:00 +00: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
Daniel Gibson
7e0a44825e
OpenAL support, from Q2Pro
...
Copied and adapted (hopefully) all relevant code from Q2Pro.
Did some small refactorings when needed.
Still TODO:
* Adapt Makefile
* OGG support when using OpenAL
* A cvar that switches between OpenAL and DMA/SDL
* Actually compiling and testing this stuff ;)
2012-04-15 02:58:01 +00:00
Yamagi Burmeister
bedb5fb573
Reenable gamma via SDL. The upstream bug was fixed with SDL 1.2.15
2012-03-30 09:11:32 +00:00
Yamagi Burmeister
9339d89bdf
Provide backward compatiblity with libjpeg v6
2012-03-12 10:15:22 +00:00
Yamagi Burmeister
bb9126ae43
Convert GetPCXInfo and GetWalInfo into void functions
2012-03-12 10:00:07 +00:00
Yamagi Burmeister
643cb93e5f
Reformat pcx.c
2012-03-12 09:56:27 +00:00
Yamagi Burmeister
57b06a8bcf
Implement retexturing for PCX files
2012-03-12 09:54:04 +00:00
Yamagi Burmeister
d0133509e1
Provide the gl_retexturing CVAR to switch retexturing off. Default is
...
"1", retexturing enabled.
2012-03-12 09:31:33 +00:00
Yamagi Burmeister
48a0d6a50d
- Reformat wal.c
...
- Add a file header to wal.c
2012-03-12 09:23:44 +00:00
Yamagi Burmeister
1cc06e2841
Reformat the JPEG loader
2012-03-12 09:21:19 +00:00
Yamagi Burmeister
7db2d76833
Import the Quake III Arena TGA loader and replace out implementation
...
with it. The Q3A is about ~40% faster and supports more types of TGA
files, including bottom to top encoded images.
2012-03-12 09:16:59 +00:00
Yamagi Burmeister
43fcc8eb99
Scale the replacement textures to the size of the original texture
2012-03-12 08:53:22 +00:00
Yamagi Burmeister
9edf27f103
Reactor yesterdays work
2012-03-12 08:11:22 +00:00
Daniel Gibson
1d8109cbbc
Work in progress version of the retexterung support. The next step is to alter
...
r_LoadPic, so that it accepts realwidth and realheight as additional arguments
and uses them to manipualte image after uploading it into the vram.
2012-03-11 19:01:49 +00:00
Daniel Gibson
441c988b31
- Add JPEG support
...
- Refactor call to LoadTGA so it returns image_t * directly
2012-03-11 16:50:57 +00:00
Yamagi Burmeister
2b2e996dda
Make windowed_mouse CVAR_USERINFO
2012-03-08 11:33:58 +00:00
Yamagi Burmeister
042ec93bfe
Rename r_lefthand to gl_lefthand to match the other renderer cvar. This
...
is a noop, since this is an internal cvar to exposed to the user.
2012-03-08 11:30:30 +00:00
Yamagi Burmeister
1f3ce73a75
Add gl_farsee (by Richard Allen)
2012-03-08 11:24:45 +00:00
Yamagi Burmeister
3dbd925c34
Remove a unnecessary \n
2012-02-29 20:58:37 +00:00
Yamagi Burmeister
8ff3880457
But our head even deeper into the users anus
2012-02-29 20:56:51 +00:00
Yamagi Burmeister
75df000d27
Flesh the message printed by the signal handler more out and print the
...
compiler used to create the binary.
2012-02-29 20:54:31 +00:00
Yamagi Burmeister
c7eac16467
Tell the user to include the executable image
2012-02-28 20:24:33 +00:00
Yamagi Burmeister
d87328293c
Add a CHANGELOG entry
2012-02-27 11:33:32 +00:00
Daniel Gibson
b70dc11672
- Fix memory leaks in the server start menu by not
...
creating the maplist each time it's called, but
preserve it across several calls.
- Fix M_PushMenu a second time by taking a corner
case into account when the requested menu is
opened and on the stack but not on top.
2012-02-26 20:21:40 +00:00
Daniel Gibson
32377a6b57
Fix crash when opening menu twice via hotkeys
...
Now this closes the menu again, faking toggling behaviour
2012-02-26 18:58:48 +00:00
Yamagi Burmeister
04f5ff9523
Bump version number to 4.03
2012-02-17 08:18:25 +00:00
Yamagi Burmeister
6b2ef052ef
Add a comment about GL_POINT_SMOOTH on Mesa3D
2012-02-12 16:53:41 +00:00
Yamagi Burmeister
35493a49b4
Print the version number in the window title
2012-02-09 16:56:24 +00:00
Yamagi Burmeister
f8a9f6ead4
- Define the values for point parameters in qgl.h. They should be
...
set by the OpenGL implementation somewhere in gl.h but apperently
the values are sometimes wrong...
- AND the particle color with 0xFF. This is a no-op with most
OpenGL implementations but may help Mesa3D. Suggest by
"hukaru" on IRC.
2012-02-09 16:30:17 +00:00
Yamagi Burmeister
0f7b422ded
- Switch multitexturing by default to 1
...
- Switch paletted textures (8 bit textures) to 0
2012-02-09 15:13:51 +00:00
Yamagi Burmeister
cf7d2645cc
Fix gl_ext_multitexturing set to 1
2012-02-09 15:11:35 +00:00
Yamagi Burmeister
4b1c43e98a
Do not call the low level function to create a directory, but the
...
filesystem internal high level API function. While here remove a
debug printf().
2012-02-07 12:25:32 +00:00
Yamagi Burmeister
146450c3e0
Bump version number to 4.02
2012-01-08 16:44:45 +00:00
Daniel Gibson
f75ea6203b
Add return 0 in main()
2012-01-07 23:43:16 +00:00
Yamagi Burmeister
642cf678c0
Bump version to 4.01
2011-12-26 08:48:54 +00:00
Yamagi Burmeister
8a5dde5372
Try to recover to gl_mode 4 if the choosen mode could not be set.
...
This is just another hack to help stupid (mostly Ubuntu) users
and imo completly unnecessary.
2011-12-06 13:50:06 +00:00
Yamagi Burmeister
2320693f6a
Change the default mode 4 aka "640x480". This should be saver than 3 aka
...
"640x400"
2011-12-06 13:26:12 +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
55f51eb680
Add support for anisotropic filtering
2011-10-17 10:43:48 +00:00
Yamagi Burmeister
0a9585ee1b
Make socket reusable
2011-10-17 10:07:50 +00:00
Yamagi Burmeister
8f04a73f86
Add \n to all error strings
2011-10-17 10:03:45 +00:00
Yamagi Burmeister
d511ed7b03
Add 1280x960. This is the "native" resolution for 19" 4:3 CRTs.
2011-10-15 16:27:19 +00:00
Yamagi Burmeister
07ed4c8b5a
Make the client and server IPv6 aware
2011-10-15 16:18:26 +00:00
Yamagi Burmeister
75e9f6cf85
Prevent a deadlock when trying to open the menu while connecting
2011-10-13 14:01:40 +00:00
Yamagi Burmeister
77de60f274
Fix a rare crash by nullpointer
2011-10-13 13:16:59 +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
2e223c4f0a
Add a missing malloc. Without this adding a non-numbered pak would
...
delete all other paks, resulting in an endless loop
2011-10-11 18:42:36 +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
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
Yamagi Burmeister
b282f41093
Begrenze cl_maxfps per Default auf 95
2010-11-27 11:56:50 +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
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
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
Yamagi Burmeister
5973a3c8e9
Räume sv_main.c auf
2010-11-26 07:33:49 +00:00
Yamagi Burmeister
6c2ae15351
Räume sv_init.c auf
2010-11-26 07:22:46 +00:00
Yamagi Burmeister
c49f21c9d0
Räume sv_game.c auf
2010-11-26 07:13:42 +00:00
Yamagi Burmeister
ca69a68868
Benenne sv_ents.c in sv_entities.c um
2010-11-25 16:52:44 +00:00
Yamagi Burmeister
7d71a7c2ee
Räume sv_ents.c auf
2010-11-25 16:44:50 +00:00
Yamagi Burmeister
e35544ed52
Bennene sv_ccmds.c in sv_cmd.c um
2010-11-25 16:39:19 +00:00
Yamagi Burmeister
5ddb6ab6a1
Den Server-Savegame-Code in eine eigenen Datei
2010-11-25 16:36:27 +00:00
Yamagi Burmeister
bc2e6b671d
Überarbeite sv_ccmds.c
2010-11-25 16:22:55 +00:00
Yamagi Burmeister
a25b89c54a
Lizenzsheader und Guard für server.h
2010-11-25 16:20:12 +00:00
Yamagi Burmeister
58eae60830
Header-Cleanup Teil II
2010-11-25 16:00:56 +00:00
Yamagi Burmeister
bc58c04af4
server.h aufräumen, Stufe 1
2010-11-25 15:55:06 +00:00
Yamagi Burmeister
3c7426f836
Verschiebe server.h in ein Unterverzeichnis
2010-11-25 15:46:36 +00:00
Yamagi Burmeister
ff360644fc
Löse das Verzeichnis client/console auf
2010-11-25 15:32:39 +00:00
Yamagi Burmeister
b859cec1e2
Löse das Verzeichnis client/input auf
2010-11-25 15:28:41 +00:00
Yamagi Burmeister
491386e243
Entferne einige Tasten aus der Wiederholungssperre
2010-11-18 16:13:00 +00:00
Yamagi Burmeister
a6f25f3220
Erweitere die Input-Keye auf 128 Tasten
2010-11-18 15:52:06 +00:00
Yamagi Burmeister
f3ec32343a
Handle auch das Loslassen von tasten
2010-11-18 15:46:25 +00:00
Yamagi Burmeister
aa9877826c
Unnütze Variable entfernt
2010-11-16 11:43:06 +00:00
Yamagi Burmeister
e98ad4b925
Entferne ein unnötiges Anpassen von s_khz
2010-11-01 15:54:56 +00:00
Yamagi Burmeister
758d82fe4c
Deregistriere ogg_init und ogg-shutdown
2010-11-01 15:48:01 +00:00
Yamagi Burmeister
46e378c6d4
Fixe einen schweren Bug, bei dem andere Maustasten nicht ausgelesen
...
wurden, wenn Maus 1 gedrückt war
2010-11-01 15:24:25 +00:00
Yamagi Burmeister
435ae096e4
Repariere einen Bug, durch den Area Portals zum Teil nicht getriggert
...
wurden
2010-10-30 07:40:44 +00:00
Yamagi Burmeister
4ece83cd3c
Sortiere die Liste der uns bei Tab-Vervollständigung vorgeschlagenen
...
CVAR
2010-10-28 07:30:42 +00:00
Yamagi Burmeister
66ac4643cb
Überarbeite das Sound-Menü
2010-10-28 06:28:11 +00:00
Yamagi Burmeister
f0fa091fde
s_khz per Default auf 44
2010-10-28 05:57:13 +00:00
Yamagi Burmeister
7c6551dc0f
Einen kleinen Bug gefixt, der zu Soundclipping führte
2010-10-28 05:56:20 +00:00
Yamagi Burmeister
ec979fb4f5
Headerguards
2010-10-27 13:24:41 +00:00
Yamagi Burmeister
44b65d8ab2
Simple Kommandovervollständigung für die Konsole
2010-10-27 13:12:20 +00:00
Yamagi Burmeister
4c09036741
Fixe einen falschen Cast unter Linux
2010-10-25 15:58:19 +00:00
Yamagi Burmeister
6db456587c
Schreibe das Hardwaregamma auf X11 um :)
2010-10-25 15:57:39 +00:00
Yamagi Burmeister
6e13a06b06
Betaversion des neuen Gamma-Codes
2010-10-25 14:18:04 +00:00
Yamagi Burmeister
95d7d43695
Füge Overbrightbits ein
2010-10-25 13:21:52 +00:00
Yamagi Burmeister
40a91572e0
Baue Texturen auf Basis ner Palette wieder ein
2010-10-25 12:55:59 +00:00
Yamagi Burmeister
6847b33cb5
Füge Multitexturing ein. Dies funktioniert (natürlich) nicht mir Mesa3D
2010-10-25 12:33:55 +00:00
Yamagi Burmeister
8b3002b1dd
Benenne alle r_ CVAR in gl_ um
2010-10-24 08:50:01 +00:00
Yamagi Burmeister
4f8d7137c4
Repariere vid_restart
2010-10-24 08:34:40 +00:00
Yamagi Burmeister
0bca8c4f55
Fixe den Mausfilter
2010-10-23 10:55:53 +00:00
Yamagi Burmeister
07fe1862c7
s/grap/grab/g
2010-10-23 10:19:02 +00:00
Yamagi Burmeister
b48a3d3c73
Benenne windowed_mouse_always in in_grap um
2010-10-23 10:16:25 +00:00
Yamagi Burmeister
8c3179f50e
. vor \n -_-
2010-10-23 10:11:15 +00:00
Yamagi Burmeister
d0e90edcdf
Hier sind zwei "static" falsch
2010-10-23 10:07:22 +00:00
Yamagi Burmeister
fa23a3e516
Ein Versuch Screenshots zu ermöglichen ohne den halben Client in den
...
Renderer linken zu müssen
2010-10-23 09:52:39 +00:00
Yamagi Burmeister
7fc1f607c9
Benenne gl_warp.c in r_warp.c um
2010-10-23 08:55:28 +00:00
Yamagi Burmeister
c4fe0d7b56
Benenne alle Funktionen in gl_warp.c konsistent
2010-10-23 08:53:36 +00:00
Yamagi Burmeister
a5346cbfbe
Benenne gl_scrap.c in r_scrap.c um
2010-10-23 08:33:44 +00:00
Yamagi Burmeister
4681d0a417
Prototype R_Upload8
2010-10-23 08:31:21 +00:00