Commit graph

1016 commits

Author SHA1 Message Date
Bradley Bell cde8b4c703 w32: check -no(mouse|joystick) within respective _init() funcs (d1x r1.2, r1.6) 2004-05-20 19:02:58 +00:00
Bradley Bell af46f29a9a fixed win32 gr_*_mode funcs that I forgot to change the arg type for (d1x r1.5) 2004-05-20 18:48:44 +00:00
Bradley Bell 4e39740519 altsounds (d1x r1.6) 2004-05-20 09:17:18 +00:00
Bradley Bell 7e8d7d298c fixed a major memory leak and removed a bit of redundancy (d1x r1.5) 2004-05-20 08:29:58 +00:00
Bradley Bell 7b1c66d2a1 call digi_reset_digi_sounds in digi_close to fix crashing (d1x r1.4) 2004-05-20 08:23:08 +00:00
Bradley Bell 1e9f0618f2 win32's digi_start_sound was not calling DS_release_slot after setting .playing=0, resulting in a memleak. Thanks to Stefan Ring for catching this (d1x r1.9) 2004-05-20 08:07:44 +00:00
Bradley Bell d4236338d8 remove joySetCapture in win32 joystick code, apparently it was somehow causing some joysticks (Sidewinder Precision 2) to only turn when the stick was moving, but not when at turned but held stationary. And it was completely unused anyway. Thanks to Stefan Ring for (somehow) finding this 2004-05-20 08:03:39 +00:00
Bradley Bell a3b5787e59 add alt+enter to toggle fullscreen (in addition to previous key combos (d1x r1.29) 2004-05-20 07:54:47 +00:00
Bradley Bell b15d0296d8 minor cleanup, use same for loop for filling r, g, and b values (d1x r1.15) 2004-05-20 07:49:21 +00:00
Bradley Bell a47da9acb6 fix funky ogl gammaramp palette when getting hit sometimes (didn't handle negative palette steps) (d1x r1.34) 2004-05-20 07:47:28 +00:00
Bradley Bell 5177356ea0 add caching of weapon inner models, screen shatter effects, robot explosions and weapons, and some more always present stuff. Also clean up ogl_cache_weapon_textures calling. (d1x r1.37) 2004-05-20 07:43:57 +00:00
Bradley Bell 1da34c5528 move gr_renderstats and gr_badtexture back to game.c 2004-05-20 07:42:41 +00:00
Bradley Bell 9991442698 move gr_renderstats and gr_badtexture back to game.c 2004-05-20 07:29:11 +00:00
Bradley Bell 1de277460d add -renderstats command-line arg to activate RENDERSTATS (d1x r1.36, r1.15, r1.33) 2004-05-20 07:25:22 +00:00
Bradley Bell fa4b1da8b7 fix last commit (d1x r1.35) 2004-05-20 07:16:53 +00:00
Bradley Bell ca09768f00 add RENDERSTATS counter for number of textures loaded after texture caching stage (d1x r1.34) 2004-05-20 07:13:20 +00:00
Bradley Bell 794d1749a7 use GL_INDEX_BITS to get bpp for color buffer for renderstats (d1x r1.33) 2004-05-20 07:02:54 +00:00
Bradley Bell ad42e7c895 add anisotropic texture filtering suport (d1x r1.33, r1.32, r1.23, r1.32) 2004-05-20 05:16:21 +00:00
Bradley Bell 730b28ef61 make RENDERSTATS show size of color/depth buffer too (d1x r1.31) 2004-05-20 05:02:53 +00:00
Bradley Bell 12a67e5014 utilize hardware multitexturing support if possible (requires GL_NV_texture_env_combine4 extension) (d1x r1.32, r1.30, r1.4, 1.22) 2004-05-20 03:31:36 +00:00
Bradley Bell 380f586bd8 add ogl_setbrightness_internal stub for glx (d1x r1.17) 2004-05-20 02:15:15 +00:00
Bradley Bell b49dc3439f implement SetGammaRamp on WGL (d1x r1.14) 2004-05-20 02:13:13 +00:00
Bradley Bell 130ac9dfb4 implement brightness/palette effects in OGL using SetGammaRamp, much faster than the hack that was being used. currently SDL only (though not too hard to add to WGL, not as easy as sdl) (d1x r1.31, r1.3, r1.13, r1.21) 2004-05-20 02:04:30 +00:00
Bradley Bell 9c553e1353 allow arbitrary (custom) resolution entry in change_res menu (d1x r1.14) 2004-05-20 01:44:09 +00:00
Bradley Bell fa39384021 inserted d1x-style res change menu (mostly works) 2004-05-20 01:29:19 +00:00
Bradley Bell 74bc00dcf7 use strnicmp instead of strncasecmp 2004-05-19 22:28:08 +00:00
Bradley Bell 3dfcdca415 add -gl_trilinear OGL command-line option (d1x r1.27) 2004-05-19 22:16:38 +00:00
Bradley Bell 76250c6df9 changelog fixes 2004-05-19 22:10:05 +00:00
Bradley Bell 20eaeb70db restore inferno.c initialization of screen_compatible and use_double_buffer to 'normal' values, broken long long ago in one of the high res menu patches (d1x r1.30) 2004-05-19 21:47:50 +00:00
Bradley Bell d9b238dc94 allow arbitrary resolutions to be specified on command line (d1x r1.2, r1.29, r1.4) -- doesn't work yet 2004-05-19 21:20:09 +00:00
Bradley Bell 6f9c8a6216 needs to include args.h now (d1x r1.9) 2004-05-19 19:20:16 +00:00
Bradley Bell a8dfe48d9f implement -nomusic for linux hmiplay (d1x r1.8) 2004-05-19 19:15:05 +00:00
Bradley Bell 7d3ab4a139 correct linux hmiplay handling of midi 0 volume song stop/starting (d1x r1.7) 2004-05-19 19:04:41 +00:00
Bradley Bell 70f9cbf8c6 remove needless sleep on linux hmiplay startup (d1x r1.6) 2004-05-19 07:00:57 +00:00
Bradley Bell c3744616ae fix off by .5 errors in ogl_upixelc and ogl_ulinec (d1x r1.29) 2004-05-19 03:47:03 +00:00
Bradley Bell 693717b603 fix ogl gr_ucircle (d1x r1.29) 2004-05-19 03:41:58 +00:00
Bradley Bell 217f1a7e91 fix off-by-one error in ogl_urect, right and bottom are inclusive not exclusive (d1x r1.28) 2004-05-19 03:35:48 +00:00
Bradley Bell 369a375f5f fix briefing spinning robot display in OGL (d1x r1.28, r1.20, r1.2) 2004-05-19 03:29:04 +00:00
Bradley Bell 237094095c fix typo 2004-05-19 03:13:44 +00:00
Bradley Bell d1e1ba65ac fix savegame thumbnail saving in OGL (d1x r1.6) 2004-05-19 02:47:49 +00:00
Bradley Bell c352a2a1f4 move win32 window creation code from arch_init_start to arch_init to fix weirdness with --help (d1x r1.5, r1.6) 2004-05-19 02:39:21 +00:00
Bradley Bell 314853ff03 apply patch from bluecow to fix hmiplay sync issues and lack of midi reset (d1x r1.5) 2004-05-19 02:30:05 +00:00
Bradley Bell 3eccfad0f2 fix crash on exit if sounds are still playing (d1x r1.8) 2004-05-19 02:23:56 +00:00
Bradley Bell c58a793d31 Fix mismatched arg types in the win32 code (d1x r1.2) 2004-05-19 02:20:34 +00:00
Bradley Bell 775969a0c2 Fix mismatched arg types in the win32 code (d1x r1.7) 2004-05-19 02:18:19 +00:00
Bradley Bell 12ad7d63cd Fix mismatched arg types in the win32 code (d1x r1.12) 2004-05-19 02:14:17 +00:00
Bradley Bell 60ffd8b3c9 fix problems with msgbuf struct not being defined (d1x r1.4) 2004-05-19 02:02:42 +00:00
Bradley Bell 4d42c78ea3 updated SDL include path (d1x r1.3) 2004-05-19 01:59:14 +00:00
Bradley Bell 84e8d64941 comments/formatting 2004-05-19 01:47:24 +00:00
Martin Schaffner 4465861130 add -no-cpp-precomp when compiling on Mac OS X 2004-05-18 01:52:28 +00:00