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
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