Commit graph

786 commits

Author SHA1 Message Date
Joseph Carter
eedd4a5e96 Thanks to akawaka, vid_sdl works!
This is far from complete and still does many things oddly by "modern"
standards in newtree.
2000-07-16 21:48:16 +00:00
Dabb
3a50d8337d Added VID_SetCaption support and removed SDL_INIT_CDROM for now. (thats in cd_sdl.c). 2000-07-14 17:16:08 +00:00
Dabb
4f6b7053ac Added gl_mtex_enum and modestate, also added VID_SetCaption support. 2000-07-14 17:04:18 +00:00
Dabb
c29a59f262 VID_SetCaption (title) support. 2000-07-14 16:10:26 +00:00
Dabb
b183d0dcaf VID_SetCaption (title) stubs - code added later. 2000-07-14 16:09:35 +00:00
Dabb
0e2bc6adb3 Added VID_SetCaption (title) support for little more portability. 2000-07-14 16:08:23 +00:00
Dabb
5a1ef7ca3d Added SDL_INIT for cd-rom. 2000-07-13 13:27:19 +00:00
Dabb
32fe653e47 cd_sdl.c from oldtree. 2000-07-13 13:22:07 +00:00
Jeff Teunissen
1d24486827 Add AM_PATH_SDL to acinclude.m4 2000-07-13 05:14:53 +00:00
Jeff Teunissen
2f03700c16 Disabled SDL target detection temporarily. 2000-07-11 23:02:03 +00:00
Dabb
2a3cfd6251 Couple of #ifndef WIN32 to get SDL compile under Borland. 2000-07-11 14:42:05 +00:00
Jeff Teunissen
6a008a83c9 [mumble mumble] SDL target fixed, made -ggi not build. 2000-07-11 07:57:26 +00:00
Jeff Teunissen
1e28e71322 Normal SDL support. It might work. :) 2000-07-11 07:51:36 +00:00
Jeff Teunissen
9086b218e9 Prelim SDL-GL _target_ support. TEST THIS! 2000-07-11 07:43:55 +00:00
Jeff Teunissen
ba47dca3aa SDL support in configure.in... it isn't turned into a target yet, but it
will be soon.
2000-07-11 05:05:27 +00:00
Dan Olson
bca0df7abc SDL/GL internals. Someone will need to update the makefiles
CFLAGS = -I/usr/include/SDL
LDFLAGS = -lGL -lSDL -lpthread

or have fun playing with SDL's m4 macros and the `sdl-config` stuff
2000-07-11 00:22:52 +00:00
Dabb
d07552e902 Fixes for Borland C++ - all targets should work now without crashes... 2000-07-10 09:35:19 +00:00
Jeff Teunissen
1cf0aff856 zone.c: Remove unnecessary code -- zone isn't used anymore, so it
shouldn't be allocated on the hunk.
sv_main.c: Change default timekick fuzz to 1.5 percent from 1
percent. Should cut down on people getting kicked for lag.
2000-07-09 12:43:46 +00:00
Dabb
728a5dfc47 15to8 palette pre-loading for win32 targets too... 2000-07-09 09:43:10 +00:00
Brian Koropoff
01148e4ce9 This fixes a bug with nvidia cards that can cause other GL programs to run very slowly. Thanks to rpete for pointing out the problem. 2000-07-09 05:49:26 +00:00
Brian Koropoff
69c97f84bd Now the cursor will wrap around the server list when you hit the bottom or top. I hope you are happy, stu. 2000-07-08 04:26:09 +00:00
Dabb
07bbdbfe77 Disabled asm file use for borland c++ software target until conflict issue is resolved. Compiles and works now with bc 5.5 too, but slowly. 2000-07-06 10:35:38 +00:00
Dabb
f934609bf2 Define GL_BGR, GL_BGRA if missing from gl.h. (win32 builds have v1.1 gl.h) 2000-07-06 09:36:31 +00:00
Joseph Carter
289cfa557c cosmetic change - FWIW Mercury it's a bug that blend needs to be disabled
there and the bug's not in our code, so don't whack LH too hard.
2000-07-06 07:04:16 +00:00
Zephaniah E. Hull
46855eff2d gl_screen.c:
- Cleanup for the screenshot code.. (Now requires OpenGL 1.2+)

gl_rsurf.c:
 - Oh Mr Havoc, *WHACK*, you needed to disable GL_BLEND when you switch
   to GL_REPLACE..
2000-07-06 03:35:25 +00:00
Dabb
298f23f2c7 Borland C++ uses __int64 too. 2000-07-05 14:31:12 +00:00
Forest Hale
54648f9a93 Rewrote multitexture rendering. (faster, no fullbright bugs) 2000-07-04 09:29:56 +00:00
Bill Currie
d24e28f28b speed up R_RenderBrushPoly ever so slightly 2000-07-04 07:04:46 +00:00
Forest Hale
1dd7a8be0d Fix for the fullbright models. 2000-07-04 06:59:34 +00:00
Forest Hale
225cbaff0d Minor world rendering fixes. 2000-07-04 04:19:06 +00:00
Forest Hale
f6006e7cef Fix for dark models bug. 2000-07-04 03:10:31 +00:00
Forest Hale
9f5df4afa6 Possible world rendering speedup. 2000-07-04 02:23:50 +00:00
Forest Hale
51c1db9220 Very minor world rendering optimization. 2000-07-04 00:52:00 +00:00
Forest Hale
b6484d3f66 Fix for long standing baseline bug (OUCH!), should fix invis problems... 2000-07-04 00:49:01 +00:00
Forest Hale
b0f65051b1 Minor cleanup. (purely cosmetic) 2000-07-04 00:44:10 +00:00
Zephaniah E. Hull
7077ac4582 FINALLY the end to the invis objects!! 2000-07-03 21:56:51 +00:00
Forest Hale
fff8ccb2c3 This should stomp the last of the invisible entity bugs. 2000-07-03 00:34:20 +00:00
Forest Hale
50fec20142 Fix for invisible players, etc etc. (QW protocol is nasty) 2000-07-02 14:14:56 +00:00
Forest Hale
5644666f0c Massive dynamic light rendering speedup. 2000-07-02 13:47:00 +00:00
Forest Hale
fdcf20b4a3 Fix for black static lightmaps. (oops, forgot that one too) 2000-07-02 06:40:46 +00:00
Forest Hale
cd0fbe1b52 Fix for black walls. (oops) 2000-07-02 06:13:46 +00:00
Bill Currie
0af7b854e8 fix a warning that msvc doesn't pick up but gcc does. 2000-07-02 06:00:15 +00:00
Forest Hale
906ab864c2 Brightness controls (brightness, contrast) and gl_lightmode cvar. 2000-07-02 05:16:10 +00:00
Zephaniah E. Hull
d9557428f2 Fixed the black/invisible model problems..
This is a bit of a kludge, but it works..
2000-07-01 21:54:29 +00:00
Bill Currie
6f93f36cc2 oh, nothing much, just 1/4 R_DrawSkyLayer's us/call :) (I halved the number
of steps around the glob in each direction). it's now taking 3% of the time
on my machine.
2000-07-01 09:40:14 +00:00
Forest Hale
f98331c3a8 Black lightning fix. 2000-07-01 07:52:38 +00:00
Joseph Carter
ce94a82b9d Fixed view entity - its alpha was never getting set so a stray dlight or
something could (and did in all my tests) make viewmodel go away..  That
sucked, but it's fixed now.
2000-07-01 05:54:12 +00:00
Forest Hale
968efda8ed Fixed up Endy's EXTEND support - everything should work now. 2000-07-01 04:56:13 +00:00
Forest Hale
99836b2862 Another include fix for software... (ugh) 2000-06-30 23:15:16 +00:00
Forest Hale
674e537a72 Includes for recent fixes. (forgot to upload them) 2000-06-30 23:10:23 +00:00