]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
9 years agomake static
Bradley Bell [Tue, 10 Feb 2015 23:12:43 +0000 (15:12 -0800)]
make static

9 years agofix up console key handler
Bradley Bell [Tue, 10 Feb 2015 23:09:01 +0000 (15:09 -0800)]
fix up console key handler

9 years agomove ins/del logic to cli_add_character
Bradley Bell [Tue, 10 Feb 2015 22:46:57 +0000 (14:46 -0800)]
move ins/del logic to cli_add_character

9 years agoclean up names
Bradley Bell [Tue, 10 Feb 2015 09:50:09 +0000 (01:50 -0800)]
clean up names

9 years agobetter width calculation
Bradley Bell [Tue, 10 Feb 2015 09:28:16 +0000 (01:28 -0800)]
better width calculation

9 years agomore unused stuff
Bradley Bell [Tue, 10 Feb 2015 09:16:27 +0000 (01:16 -0800)]
more unused stuff

9 years agoget rid of unused alpha, font color stuff
Bradley Bell [Tue, 10 Feb 2015 09:13:54 +0000 (01:13 -0800)]
get rid of unused alpha, font color stuff

9 years agosplit console command-line interface into separate module
Bradley Bell [Tue, 10 Feb 2015 09:03:37 +0000 (01:03 -0800)]
split console command-line interface into separate module

9 years agoformatting
Bradley Bell [Tue, 10 Feb 2015 06:27:35 +0000 (22:27 -0800)]
formatting

9 years agoget rid of ConsoleInformation struct
Bradley Bell [Tue, 10 Feb 2015 04:57:41 +0000 (20:57 -0800)]
get rid of ConsoleInformation struct

9 years agobase scaling on actual bitmap size
Bradley Bell [Mon, 9 Feb 2015 05:50:12 +0000 (21:50 -0800)]
base scaling on actual bitmap size

9 years agoformatting
Bradley Bell [Mon, 9 Feb 2015 05:49:00 +0000 (21:49 -0800)]
formatting

9 years agoformatting
Bradley Bell [Mon, 9 Feb 2015 01:16:42 +0000 (17:16 -0800)]
formatting

9 years agopreserve aspect of briefing frame and robot canvas.
Bradley Bell [Sun, 8 Feb 2015 00:12:54 +0000 (16:12 -0800)]
preserve aspect of briefing frame and robot canvas.
constrain by scaled height.
robot still renders according to screen aspect.

9 years agoformatting
Bradley Bell [Sat, 7 Feb 2015 22:37:34 +0000 (14:37 -0800)]
formatting

9 years agocenter kmatrix screens
Bradley Bell [Sat, 7 Feb 2015 21:51:07 +0000 (13:51 -0800)]
center kmatrix screens

9 years agoconstrain robot movies by height, don't do vertical recenter
Bradley Bell [Sat, 7 Feb 2015 09:31:23 +0000 (01:31 -0800)]
constrain robot movies by height, don't do vertical recenter

9 years agoproperly init robot movies
Bradley Bell [Sat, 7 Feb 2015 09:26:42 +0000 (01:26 -0800)]
properly init robot movies

9 years agouse cvar for automap_use_game_res
Bradley Bell [Sat, 7 Feb 2015 00:21:26 +0000 (16:21 -0800)]
use cvar for automap_use_game_res

9 years agosimplify redbook track selection, allow d1 redbook briefing, endgame, etc tracks...
Bradley Bell [Thu, 5 Feb 2015 23:07:18 +0000 (15:07 -0800)]
simplify redbook track selection, allow d1 redbook briefing, endgame, etc tracks to play if available

9 years agoonly free if malloced
Bradley Bell [Thu, 5 Feb 2015 09:32:22 +0000 (01:32 -0800)]
only free if malloced

9 years agofix makefiles
Bradley Bell [Wed, 4 Feb 2015 10:46:26 +0000 (02:46 -0800)]
fix makefiles

9 years agouse bigger font for 'Vertigo' text, align to canvas size
Bradley Bell [Wed, 4 Feb 2015 10:16:21 +0000 (02:16 -0800)]
use bigger font for 'Vertigo' text, align to canvas size

9 years agocenter kconfig screens with a sub canvas
Bradley Bell [Wed, 4 Feb 2015 09:18:50 +0000 (01:18 -0800)]
center kconfig screens with a sub canvas

9 years agomake nm_restore_background work with rescaled backgrounds (from d1x)
Bradley Bell [Wed, 4 Feb 2015 08:51:02 +0000 (00:51 -0800)]
make nm_restore_background work with rescaled backgrounds (from d1x)

9 years agoMenuHires now just a macro
Bradley Bell [Wed, 4 Feb 2015 08:04:12 +0000 (00:04 -0800)]
MenuHires now just a macro

9 years agoreinitialize screen mode after switching res
Bradley Bell [Wed, 4 Feb 2015 07:35:28 +0000 (23:35 -0800)]
reinitialize screen mode after switching res

9 years agomove select_tmap to new init function, also selectable via console command
Bradley Bell [Tue, 3 Feb 2015 23:34:33 +0000 (15:34 -0800)]
move select_tmap to new init function, also selectable via console command

9 years agorename to avoid confusion with Screen_mode
Bradley Bell [Tue, 3 Feb 2015 09:05:55 +0000 (01:05 -0800)]
rename to avoid confusion with Screen_mode

9 years agocheck for low res modes using correct macro
Bradley Bell [Tue, 3 Feb 2015 08:05:11 +0000 (00:05 -0800)]
check for low res modes using correct macro

9 years agoscale credits screen, center credit text and increase lines to match screen size
Bradley Bell [Tue, 3 Feb 2015 04:17:48 +0000 (20:17 -0800)]
scale credits screen, center credit text and increase lines to match screen size

9 years agomake scale_line available to use, rename it and show_fullscr for consistency
Bradley Bell [Tue, 3 Feb 2015 04:15:35 +0000 (20:15 -0800)]
make scale_line available to use, rename it and show_fullscr for consistency

9 years agostring may be clipped, use gr_bitmapm
Bradley Bell [Tue, 3 Feb 2015 02:40:59 +0000 (18:40 -0800)]
string may be clipped, use gr_bitmapm

9 years agokeep hi scores centered
Bradley Bell [Mon, 2 Feb 2015 10:40:15 +0000 (02:40 -0800)]
keep hi scores centered

9 years agoimplement scaled menu background, from d1x
Bradley Bell [Mon, 2 Feb 2015 10:39:43 +0000 (02:39 -0800)]
implement scaled menu background, from d1x

9 years agopreserve movie aspect ratio, keep centered vertically
Bradley Bell [Mon, 2 Feb 2015 08:32:42 +0000 (00:32 -0800)]
preserve movie aspect ratio, keep centered vertically

9 years agoscale movie resolution if necessary
Bradley Bell [Mon, 2 Feb 2015 07:03:11 +0000 (23:03 -0800)]
scale movie resolution if necessary

9 years agouse game res for movies if MenuGameres is set
Bradley Bell [Mon, 2 Feb 2015 06:12:43 +0000 (22:12 -0800)]
use game res for movies if MenuGameres is set

9 years agouse uint32_t for screen modes
Bradley Bell [Mon, 2 Feb 2015 06:10:36 +0000 (22:10 -0800)]
use uint32_t for screen modes

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