]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
9 years agoremove d1x-ism Game_screen_mode, which basically duplicates Current_display_mode
Bradley Bell [Mon, 2 Feb 2015 05:37:39 +0000 (21:37 -0800)]
remove d1x-ism Game_screen_mode, which basically duplicates Current_display_mode

9 years agoimplement menu_gameres, using cvar
Bradley Bell [Mon, 2 Feb 2015 04:55:43 +0000 (20:55 -0800)]
implement menu_gameres, using cvar

9 years agodelete duplicate define
Bradley Bell [Mon, 2 Feb 2015 03:31:25 +0000 (19:31 -0800)]
delete duplicate define

9 years agodon't grab mouse if mouse not enabled
Bradley Bell [Mon, 2 Feb 2015 01:45:46 +0000 (17:45 -0800)]
don't grab mouse if mouse not enabled

9 years agoMake OGL_VIEWPORT static inline
Kp [Sun, 4 Aug 2013 22:24:33 +0000 (22:24 +0000)]
Make OGL_VIEWPORT static inline

9 years agoformatting
Bradley Bell [Sun, 1 Feb 2015 09:57:51 +0000 (01:57 -0800)]
formatting

9 years agoorder forms
Bradley Bell [Sun, 1 Feb 2015 08:59:13 +0000 (00:59 -0800)]
order forms

9 years agoremove redundant prototypes
Bradley Bell [Sun, 1 Feb 2015 08:57:38 +0000 (00:57 -0800)]
remove redundant prototypes

9 years agoremove unnecessary ifdefs
Bradley Bell [Sun, 1 Feb 2015 08:55:10 +0000 (00:55 -0800)]
remove unnecessary ifdefs

9 years agoformatting
Bradley Bell [Sun, 1 Feb 2015 08:00:49 +0000 (00:00 -0800)]
formatting

9 years agocorrect defines for d1 builtins
Bradley Bell [Sun, 1 Feb 2015 07:53:05 +0000 (23:53 -0800)]
correct defines for d1 builtins

9 years agoremove unnecessary canvas switching
Bradley Bell [Sun, 1 Feb 2015 07:50:26 +0000 (23:50 -0800)]
remove unnecessary canvas switching

9 years agoenable d1 endgame screens
Bradley Bell [Sun, 1 Feb 2015 07:49:26 +0000 (23:49 -0800)]
enable d1 endgame screens

9 years agodefine constants for D1 bosses
Bradley Bell [Sun, 1 Feb 2015 03:12:30 +0000 (19:12 -0800)]
define constants for D1 bosses

9 years agocorrectly handle D1 bosses
Bradley Bell [Sat, 31 Jan 2015 03:32:22 +0000 (19:32 -0800)]
correctly handle D1 bosses

9 years agomake sure we don't strcpy to ourself
Bradley Bell [Sat, 31 Jan 2015 03:30:09 +0000 (19:30 -0800)]
make sure we don't strcpy to ourself

9 years agoplay endlevel song during rendered endlevel sequence
Bradley Bell [Sat, 31 Jan 2015 02:31:05 +0000 (18:31 -0800)]
play endlevel song during rendered endlevel sequence

9 years agoRAND_MAX -> D_RAND_MAX
Bradley Bell [Sat, 31 Jan 2015 02:30:00 +0000 (18:30 -0800)]
RAND_MAX -> D_RAND_MAX

9 years agoplay briefing song instead of hum and chatter in D1 briefings
Bradley Bell [Sat, 31 Jan 2015 00:25:13 +0000 (16:25 -0800)]
play briefing song instead of hum and chatter in D1 briefings

9 years agodefault to current song
Bradley Bell [Fri, 30 Jan 2015 23:46:28 +0000 (15:46 -0800)]
default to current song

9 years agoenable song menu
Bradley Bell [Fri, 30 Jan 2015 23:30:26 +0000 (15:30 -0800)]
enable song menu

9 years agogracefully handle missing midi files
Bradley Bell [Fri, 30 Jan 2015 23:30:14 +0000 (15:30 -0800)]
gracefully handle missing midi files

9 years agoplay D1 midi for D1 missions, by allowing descent.hog to override the builtin hog...
Bradley Bell [Fri, 30 Jan 2015 23:18:22 +0000 (15:18 -0800)]
play D1 midi for D1 missions, by allowing descent.hog to override the builtin hog, and reinitializing songs on mission change

9 years agoformatting, remove some obsolete stuff
Bradley Bell [Fri, 30 Jan 2015 22:14:56 +0000 (14:14 -0800)]
formatting, remove some obsolete stuff

9 years agoget midi working with sdl_mixer and the hmp2midi from d2x-rebirth
Bradley Bell [Fri, 30 Jan 2015 10:13:43 +0000 (02:13 -0800)]
get midi working with sdl_mixer and the hmp2midi from d2x-rebirth

9 years agoUse MALLOC for hmp
Kp [Sat, 24 Nov 2012 20:14:03 +0000 (20:14 +0000)]
Use MALLOC for hmp

9 years agoMade hmp->tempo endian-safe
zico [Thu, 27 Jun 2013 10:08:58 +0000 (12:08 +0200)]
Made hmp->tempo endian-safe

9 years agoMade hmp code actually read tempo. Due to missing documentation of the format I can...
zico [Mon, 10 Jun 2013 14:34:52 +0000 (16:34 +0200)]
Made hmp code actually read tempo. Due to missing documentation of the format I can only guess it's a 4 bit int

9 years agoInstead of writing converted MIDI to file, write to buffer so it can be played directly
zico [Fri, 29 Oct 2010 15:40:42 +0000 (17:40 +0200)]
Instead of writing converted MIDI to file, write to buffer so it can be played directly

9 years agoFixing bug in MIDI header - format was written in size of int instead of short
zico [Tue, 27 Jul 2010 20:16:39 +0000 (20:16 +0000)]
Fixing bug in MIDI header - format was written in size of int instead of short

9 years agoDid not close hmp after MIDI conversion which caused some unfree memory - fixed
zico [Mon, 19 Jul 2010 17:05:41 +0000 (17:05 +0000)]
Did not close hmp after MIDI conversion which caused some unfree memory - fixed

9 years agoMerged all HMP-related code into hmp.c/h; Also introduced new HMP to MIDI conversion...
zico [Sun, 18 Jul 2010 20:28:15 +0000 (20:28 +0000)]
Merged all HMP-related code into hmp.c/h; Also introduced new HMP to MIDI conversion functions based on JJFFE which use former Win32-related HMP-code - fixes some bugs in MIDI conversion and cleaner

9 years agorename var
Bradley Bell [Fri, 30 Jan 2015 07:17:02 +0000 (23:17 -0800)]
rename var

9 years agofix function args
Bradley Bell [Fri, 30 Jan 2015 05:32:20 +0000 (21:32 -0800)]
fix function args

9 years agomore header cleanup
Bradley Bell [Fri, 30 Jan 2015 01:34:24 +0000 (17:34 -0800)]
more header cleanup

9 years agomore header fixes
Bradley Bell [Thu, 29 Jan 2015 22:42:27 +0000 (14:42 -0800)]
more header fixes

9 years agoheader fixes
Bradley Bell [Thu, 29 Jan 2015 09:12:45 +0000 (01:12 -0800)]
header fixes

9 years agosimplify opengl save screenshot
Bradley Bell [Thu, 29 Jan 2015 08:19:14 +0000 (00:19 -0800)]
simplify opengl save screenshot

9 years agoinclude glext on osx
Bradley Bell [Thu, 29 Jan 2015 08:05:04 +0000 (00:05 -0800)]
include glext on osx

9 years agoselectively enable compiler warnings
Bradley Bell [Thu, 29 Jan 2015 08:04:44 +0000 (00:04 -0800)]
selectively enable compiler warnings

9 years agoRenaming FSCALE to FIXSCALE preventing possible naming conflicts
zico [Tue, 1 Dec 2009 16:45:40 +0000 (16:45 +0000)]
Renaming FSCALE to FIXSCALE preventing possible naming conflicts

9 years agono more concntl.c, asm fixes
Bradley Bell [Thu, 29 Jan 2015 00:01:36 +0000 (16:01 -0800)]
no more concntl.c, asm fixes

9 years agogcc fixes
Bradley Bell [Wed, 28 Jan 2015 22:47:23 +0000 (14:47 -0800)]
gcc fixes

9 years agogr.c<->vid.c
Bradley Bell [Wed, 28 Jan 2015 22:46:09 +0000 (14:46 -0800)]
gr.c<->vid.c

9 years agoallow left/right navigation in listbox, get_filename
Bradley Bell [Wed, 28 Jan 2015 03:11:25 +0000 (19:11 -0800)]
allow left/right navigation in listbox, get_filename

9 years agolet joystick control other dialogs, briefing screens, etc
Bradley Bell [Wed, 28 Jan 2015 02:42:39 +0000 (18:42 -0800)]
let joystick control other dialogs, briefing screens, etc

9 years agolet left/right emulate other actions in menus
Bradley Bell [Wed, 28 Jan 2015 00:54:09 +0000 (16:54 -0800)]
let left/right emulate other actions in menus

9 years agouse joystick to navigate menus
Bradley Bell [Wed, 28 Jan 2015 00:32:34 +0000 (16:32 -0800)]
use joystick to navigate menus

9 years agodon't send extraneous keypresses for hats
Bradley Bell [Tue, 27 Jan 2015 23:54:13 +0000 (15:54 -0800)]
don't send extraneous keypresses for hats

9 years agofix tab order
Bradley Bell [Tue, 27 Jan 2015 23:21:20 +0000 (15:21 -0800)]
fix tab order

9 years agoenable key repeat for menus and such
Bradley Bell [Tue, 27 Jan 2015 23:13:48 +0000 (15:13 -0800)]
enable key repeat for menus and such

9 years agodon't clobber default/saved display mode
Bradley Bell [Tue, 27 Jan 2015 09:50:43 +0000 (01:50 -0800)]
don't clobber default/saved display mode

9 years agodon't try to remap non-linear bm (i.e. opengl)
Bradley Bell [Tue, 27 Jan 2015 09:41:43 +0000 (01:41 -0800)]
don't try to remap non-linear bm (i.e. opengl)

9 years agomove joystick calibration to controls menu
Bradley Bell [Tue, 27 Jan 2015 09:08:57 +0000 (01:08 -0800)]
move joystick calibration to controls menu

9 years agoyet more palette glitches
Bradley Bell [Mon, 26 Jan 2015 05:18:02 +0000 (21:18 -0800)]
yet more palette glitches

9 years agoclear screen after fade out
Bradley Bell [Mon, 26 Jan 2015 05:15:00 +0000 (21:15 -0800)]
clear screen after fade out

9 years agoformatting
Bradley Bell [Mon, 26 Jan 2015 04:56:36 +0000 (20:56 -0800)]
formatting

9 years agomake -/= bindable keys
Bradley Bell [Sun, 25 Jan 2015 21:30:58 +0000 (13:30 -0800)]
make -/= bindable keys

9 years agocorrect d2x kconfig number
Bradley Bell [Sun, 25 Jan 2015 20:43:59 +0000 (12:43 -0800)]
correct d2x kconfig number

9 years agoactually draw scanlines in ogl
Bradley Bell [Sun, 25 Jan 2015 20:43:40 +0000 (12:43 -0800)]
actually draw scanlines in ogl

9 years agodemo recordings cmds
Bradley Bell [Sun, 25 Jan 2015 20:09:05 +0000 (12:09 -0800)]
demo recordings cmds

9 years agoadd r_aspectratio cvar, pixelaspect command
Bradley Bell [Sun, 25 Jan 2015 19:50:39 +0000 (11:50 -0800)]
add r_aspectratio cvar, pixelaspect command

9 years agofix whitespace
Bradley Bell [Sun, 25 Jan 2015 19:34:42 +0000 (11:34 -0800)]
fix whitespace

9 years agoadd joystick deadzone, mouse sensitivity config
Bradley Bell [Tue, 27 Jan 2015 02:46:31 +0000 (18:46 -0800)]
add joystick deadzone, mouse sensitivity config

9 years ago(re-)separation gr module from video functions
Bradley Bell [Sun, 25 Jan 2015 10:02:38 +0000 (02:02 -0800)]
(re-)separation gr module from video functions

9 years agoadd gamma cvar
Bradley Bell [Sat, 24 Jan 2015 21:41:43 +0000 (13:41 -0800)]
add gamma cvar

9 years agoxcode
Bradley Bell [Sat, 24 Jan 2015 21:41:29 +0000 (13:41 -0800)]
xcode

9 years agoget rid of CDRom_dir, other kludges
Bradley Bell [Tue, 20 Jan 2015 07:34:54 +0000 (23:34 -0800)]
get rid of CDRom_dir, other kludges

9 years agomore type warnings
Bradley Bell [Tue, 20 Jan 2015 06:24:10 +0000 (22:24 -0800)]
more type warnings

9 years agodon't use named variadic macros
Bradley Bell [Tue, 20 Jan 2015 06:11:33 +0000 (22:11 -0800)]
don't use named variadic macros

9 years agoenable more warnings in xcode
Bradley Bell [Tue, 20 Jan 2015 05:49:16 +0000 (21:49 -0800)]
enable more warnings in xcode

9 years agomore warnings
Bradley Bell [Tue, 20 Jan 2015 05:47:52 +0000 (21:47 -0800)]
more warnings

9 years agouse correct width types
Bradley Bell [Tue, 20 Jan 2015 04:17:59 +0000 (20:17 -0800)]
use correct width types

9 years agono longer needed
Bradley Bell [Tue, 20 Jan 2015 04:16:27 +0000 (20:16 -0800)]
no longer needed

9 years agoset cvar correctly
Bradley Bell [Tue, 20 Jan 2015 04:16:11 +0000 (20:16 -0800)]
set cvar correctly

9 years agoexplicit casts
Bradley Bell [Tue, 20 Jan 2015 04:14:30 +0000 (20:14 -0800)]
explicit casts

9 years agoget rid of packing warnings
Bradley Bell [Tue, 20 Jan 2015 03:31:33 +0000 (19:31 -0800)]
get rid of packing warnings

9 years agodelete unused superhires option
Bradley Bell [Mon, 19 Jan 2015 07:44:09 +0000 (23:44 -0800)]
delete unused superhires option

9 years agoimplement gl_texturemode command
Bradley Bell [Mon, 19 Jan 2015 06:49:22 +0000 (22:49 -0800)]
implement gl_texturemode command

9 years agoautomap_gameres
Bradley Bell [Mon, 19 Jan 2015 06:48:58 +0000 (22:48 -0800)]
automap_gameres

9 years agoshow borders in SDL and OGL, optimized and cleaned
zico [Mon, 7 Aug 2006 00:27:18 +0000 (00:27 +0000)]
show borders in SDL and OGL, optimized and cleaned

9 years agounused
Bradley Bell [Mon, 19 Jan 2015 04:46:25 +0000 (20:46 -0800)]
unused

9 years agofinish refactoring Controls
Bradley Bell [Mon, 19 Jan 2015 02:42:15 +0000 (18:42 -0800)]
finish refactoring Controls

9 years agostart refactoring Controls stuff more logically, now that it no longer has anything...
Bradley Bell [Mon, 19 Jan 2015 01:05:59 +0000 (17:05 -0800)]
start refactoring Controls stuff more logically, now that it no longer has anything to do with kconfig

9 years agounused
Bradley Bell [Sun, 18 Jan 2015 21:45:24 +0000 (13:45 -0800)]
unused

9 years agomove bomb toggle code to weapon.c
Bradley Bell [Sun, 18 Jan 2015 21:41:57 +0000 (13:41 -0800)]
move bomb toggle code to weapon.c

9 years agomake sure queue still processed, states preserved while in console etc
Bradley Bell [Sun, 18 Jan 2015 21:17:44 +0000 (13:17 -0800)]
make sure queue still processed, states preserved while in console etc

9 years agounused
Bradley Bell [Sun, 18 Jan 2015 20:02:23 +0000 (12:02 -0800)]
unused

9 years agoget rid of unused external control and cyberman stuff
Bradley Bell [Sun, 18 Jan 2015 19:58:09 +0000 (11:58 -0800)]
get rid of unused external control and cyberman stuff

9 years agoflush command queue so menu keypresses don't get executed when returning to game
Bradley Bell [Sun, 18 Jan 2015 18:49:10 +0000 (10:49 -0800)]
flush command queue so menu keypresses don't get executed when returning to game

9 years agocorrect num
Bradley Bell [Sun, 18 Jan 2015 18:17:39 +0000 (10:17 -0800)]
correct num

9 years agostart to simplify console controls by implementing directly in kconfig.
Bradley Bell [Sun, 18 Jan 2015 07:55:13 +0000 (23:55 -0800)]
start to simplify console controls by implementing directly in kconfig.

9 years agotrust ogl_*_ok values. fixes dark fonts at some resolutions
Bradley Bell [Sun, 18 Jan 2015 04:24:21 +0000 (20:24 -0800)]
trust ogl_*_ok values. fixes dark fonts at some resolutions

9 years agobetter mouse grab and cursor handling
Bradley Bell [Sat, 17 Jan 2015 03:32:44 +0000 (19:32 -0800)]
better mouse grab and cursor handling

9 years agouse in_mouse cvar instead of -grabmouse
Bradley Bell [Sat, 17 Jan 2015 02:45:30 +0000 (18:45 -0800)]
use in_mouse cvar instead of -grabmouse

9 years agorepresent sensitivity and deadzone as decimals instead of ints
Bradley Bell [Sat, 17 Jan 2015 02:23:59 +0000 (18:23 -0800)]
represent sensitivity and deadzone as decimals instead of ints

9 years agostore cvar value as fix instead of float
Bradley Bell [Sat, 17 Jan 2015 01:40:05 +0000 (17:40 -0800)]
store cvar value as fix instead of float

9 years agoinvert bank axis here too
Bradley Bell [Sat, 17 Jan 2015 00:35:45 +0000 (16:35 -0800)]
invert bank axis here too

9 years agoseparate mouse sensitivity cvars. joy deadzone cvars
Bradley Bell [Sat, 17 Jan 2015 00:31:54 +0000 (16:31 -0800)]
separate mouse sensitivity cvars. joy deadzone cvars

9 years agorename to be consistent w/idsoft cvars
Bradley Bell [Fri, 16 Jan 2015 23:18:56 +0000 (15:18 -0800)]
rename to be consistent w/idsoft cvars