]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
9 years agoadd function to find a cvar by name
Bradley Bell [Tue, 23 Dec 2014 20:33:29 +0000 (12:33 -0800)]
add function to find a cvar by name

9 years agoless opengl spew
Bradley Bell [Tue, 23 Dec 2014 20:27:55 +0000 (12:27 -0800)]
less opengl spew

9 years agoavoid gratuitous mode changes
Bradley Bell [Tue, 23 Dec 2014 20:26:44 +0000 (12:26 -0800)]
avoid gratuitous mode changes

9 years agorevert 99fd6e1277d43a760e0fa39740ce27a4ccb1e821, just make sure mode is set before...
Bradley Bell [Tue, 23 Dec 2014 20:23:04 +0000 (12:23 -0800)]
revert 99fd6e1277d43a760e0fa39740ce27a4ccb1e821, just make sure mode is set before font init

9 years agojust insert cvars at the head of the list
Bradley Bell [Tue, 23 Dec 2014 19:41:11 +0000 (11:41 -0800)]
just insert cvars at the head of the list

9 years agodon't spew cvar settings
Bradley Bell [Tue, 23 Dec 2014 19:35:36 +0000 (11:35 -0800)]
don't spew cvar settings

9 years agoless blinding console text
Bradley Bell [Tue, 23 Dec 2014 04:41:38 +0000 (20:41 -0800)]
less blinding console text

9 years agoplaceholders for dos sound config
Bradley Bell [Tue, 23 Dec 2014 11:21:03 +0000 (03:21 -0800)]
placeholders for dos sound config

9 years agoremove test file
Bradley Bell [Tue, 23 Dec 2014 04:34:38 +0000 (20:34 -0800)]
remove test file

9 years agomake descent.cfg items into cvars, and exec the file to read config
Bradley Bell [Tue, 23 Dec 2014 04:21:50 +0000 (20:21 -0800)]
make descent.cfg items into cvars, and exec the file to read config

9 years agomore convenience functions, add intval
Bradley Bell [Tue, 23 Dec 2014 01:33:57 +0000 (17:33 -0800)]
more convenience functions, add intval

9 years agoconvenience function to set numeric cvars
Bradley Bell [Tue, 23 Dec 2014 01:21:49 +0000 (17:21 -0800)]
convenience function to set numeric cvars

9 years agoproperly queue script lines
Bradley Bell [Tue, 23 Dec 2014 01:13:27 +0000 (17:13 -0800)]
properly queue script lines

9 years agokeep cvar string value around
Bradley Bell [Tue, 23 Dec 2014 01:12:29 +0000 (17:12 -0800)]
keep cvar string value around

9 years agohave to terminate the string!
Bradley Bell [Tue, 23 Dec 2014 00:52:16 +0000 (16:52 -0800)]
have to terminate the string!

9 years agoallow '=' as delimiter when setting cvar value
Bradley Bell [Mon, 22 Dec 2014 23:04:30 +0000 (15:04 -0800)]
allow '=' as delimiter when setting cvar value

9 years agoget rid of redundant type
Bradley Bell [Mon, 22 Dec 2014 22:33:07 +0000 (14:33 -0800)]
get rid of redundant type

9 years agofix missing braces
Bradley Bell [Mon, 22 Dec 2014 22:21:42 +0000 (14:21 -0800)]
fix missing braces

9 years agoMerge branch 'master' into cmd-queue
Bradley Bell [Mon, 22 Dec 2014 21:52:15 +0000 (13:52 -0800)]
Merge branch 'master' into cmd-queue

Conflicts:
d2x.xcodeproj/project.pbxproj

9 years agodon't fall thru if invalid redbook track requested
Bradley Bell [Mon, 22 Dec 2014 21:50:02 +0000 (13:50 -0800)]
don't fall thru if invalid redbook track requested

9 years agosupport playback of demos recorded in D1 Demo
Bradley Bell [Mon, 22 Dec 2014 12:36:39 +0000 (04:36 -0800)]
support playback of demos recorded in D1 Demo

9 years agosupport playback of demos recorded in D2 Demo
Bradley Bell [Mon, 22 Dec 2014 08:46:27 +0000 (00:46 -0800)]
support playback of demos recorded in D2 Demo

9 years agosupport playback of demos recorded in Descent 1
Bradley Bell [Mon, 22 Dec 2014 07:05:50 +0000 (23:05 -0800)]
support playback of demos recorded in Descent 1

9 years agofix search/replace error in 53c4bf686c68ee79013b583658ef6a82f5a3b3d0
Bradley Bell [Mon, 22 Dec 2014 02:31:55 +0000 (18:31 -0800)]
fix search/replace error in 53c4bf686c68ee79013b583658ef6a82f5a3b3d0

9 years agoupdate
Bradley Bell [Fri, 19 Dec 2014 08:02:21 +0000 (00:02 -0800)]
update

9 years agodelete
Bradley Bell [Fri, 19 Dec 2014 07:44:37 +0000 (23:44 -0800)]
delete

9 years agoget rid of ifdefs for mac data dir
Bradley Bell [Sun, 21 Dec 2014 22:57:37 +0000 (14:57 -0800)]
get rid of ifdefs for mac data dir

9 years agoget rid of redbook ifdefs
Bradley Bell [Sun, 21 Dec 2014 21:30:23 +0000 (13:30 -0800)]
get rid of redbook ifdefs

9 years agocomments
Bradley Bell [Sun, 21 Dec 2014 09:56:55 +0000 (01:56 -0800)]
comments

9 years agouse PLAYER_DIR for rest of player files
Bradley Bell [Sun, 21 Dec 2014 05:54:39 +0000 (21:54 -0800)]
use PLAYER_DIR for rest of player files

9 years agonew PLAYER_DIR macro, use it for secret files
Bradley Bell [Sun, 21 Dec 2014 05:34:18 +0000 (21:34 -0800)]
new PLAYER_DIR macro, use it for secret files

9 years agoshow apple-specific keyboard help
Bradley Bell [Sun, 21 Dec 2014 04:26:41 +0000 (20:26 -0800)]
show apple-specific keyboard help

9 years agoget rid of last remaining WINDOS macros
Bradley Bell [Sun, 21 Dec 2014 01:06:04 +0000 (17:06 -0800)]
get rid of last remaining WINDOS macros

9 years agoplay the correct redbook audio for any given descent version
Bradley Bell [Sat, 20 Dec 2014 05:12:29 +0000 (21:12 -0800)]
play the correct redbook audio for any given descent version

9 years agodebug messages
Bradley Bell [Wed, 17 Dec 2014 07:37:51 +0000 (23:37 -0800)]
debug messages

9 years agosilly ansi color for terminal
Bradley Bell [Wed, 17 Dec 2014 07:37:30 +0000 (23:37 -0800)]
silly ansi color for terminal

9 years agouse the new queue
Bradley Bell [Tue, 16 Dec 2014 10:58:15 +0000 (02:58 -0800)]
use the new queue

9 years agomove to main
Bradley Bell [Tue, 16 Dec 2014 09:52:53 +0000 (01:52 -0800)]
move to main

9 years agoconsole.h pulls in cmd.h
Bradley Bell [Tue, 16 Dec 2014 09:52:03 +0000 (01:52 -0800)]
console.h pulls in cmd.h

9 years agocommand queueing
Bradley Bell [Sat, 13 Dec 2014 19:15:35 +0000 (11:15 -0800)]
command queueing

9 years agomerge res menus
Bradley Bell [Fri, 19 Dec 2014 04:05:57 +0000 (20:05 -0800)]
merge res menus

9 years agomerge res menus
Bradley Bell [Fri, 19 Dec 2014 03:58:12 +0000 (19:58 -0800)]
merge res menus

9 years agoget rid of dependencies on predefined display modes
Bradley Bell [Fri, 19 Dec 2014 03:03:43 +0000 (19:03 -0800)]
get rid of dependencies on predefined display modes

9 years agoenable cmd+f for framerate
Bradley Bell [Thu, 18 Dec 2014 23:26:48 +0000 (15:26 -0800)]
enable cmd+f for framerate

9 years agomake braces parseable by IDE
Bradley Bell [Thu, 18 Dec 2014 22:49:09 +0000 (14:49 -0800)]
make braces parseable by IDE

9 years agodon't try to free console gfx data if not initialized
Bradley Bell [Thu, 18 Dec 2014 21:27:33 +0000 (13:27 -0800)]
don't try to free console gfx data if not initialized

9 years agoenable cmd-q to quit
Bradley Bell [Thu, 18 Dec 2014 10:17:05 +0000 (02:17 -0800)]
enable cmd-q to quit

9 years agoeliminate warnings and old warning kludges
Bradley Bell [Thu, 18 Dec 2014 10:14:15 +0000 (02:14 -0800)]
eliminate warnings and old warning kludges

9 years agodon't declare in for statement
Bradley Bell [Thu, 18 Dec 2014 03:42:29 +0000 (19:42 -0800)]
don't declare in for statement

9 years agomacro returns int
Bradley Bell [Thu, 18 Dec 2014 03:41:54 +0000 (19:41 -0800)]
macro returns int

9 years agoinclude header for Debugger()
Bradley Bell [Thu, 18 Dec 2014 03:39:46 +0000 (19:39 -0800)]
include header for Debugger()

9 years agoignore underline code in opengl instead of eating the next char
Bradley Bell [Sat, 13 Dec 2014 20:17:20 +0000 (12:17 -0800)]
ignore underline code in opengl instead of eating the next char

9 years agofix font line spacing in opengl
Bradley Bell [Sat, 13 Dec 2014 19:42:29 +0000 (11:42 -0800)]
fix font line spacing in opengl

9 years agocommand queueing
Bradley Bell [Sat, 13 Dec 2014 19:15:35 +0000 (11:15 -0800)]
command queueing

9 years agoadd autoexec for console commands
Bradley Bell [Sat, 13 Dec 2014 08:57:38 +0000 (00:57 -0800)]
add autoexec for console commands

9 years agobegin work on command queue
Bradley Bell [Sat, 13 Dec 2014 06:35:48 +0000 (22:35 -0800)]
begin work on command queue

9 years agomove console private data out of header
Bradley Bell [Sat, 13 Dec 2014 00:21:00 +0000 (16:21 -0800)]
move console private data out of header

9 years agoprevent overflow of line buffer
Bradley Bell [Sat, 13 Dec 2014 00:11:48 +0000 (16:11 -0800)]
prevent overflow of line buffer

9 years agodelete console->OutputScreen, always is grd_curscreen
Bradley Bell [Fri, 12 Dec 2014 23:48:55 +0000 (15:48 -0800)]
delete console->OutputScreen, always is grd_curscreen

9 years agomerge CON_Transfer with CON_InitGFX
Bradley Bell [Fri, 12 Dec 2014 23:41:00 +0000 (15:41 -0800)]
merge CON_Transfer with CON_InitGFX

9 years agomerge console init functions
Bradley Bell [Fri, 12 Dec 2014 23:13:29 +0000 (15:13 -0800)]
merge console init functions

9 years agomerge con_background with con_init_gfx
Bradley Bell [Fri, 12 Dec 2014 21:27:03 +0000 (13:27 -0800)]
merge con_background with con_init_gfx

9 years agoredundant function
Bradley Bell [Fri, 12 Dec 2014 21:24:34 +0000 (13:24 -0800)]
redundant function

9 years agomerge CON_Free
Bradley Bell [Fri, 12 Dec 2014 19:08:55 +0000 (11:08 -0800)]
merge CON_Free

9 years agoconsole is alway true
Bradley Bell [Fri, 12 Dec 2014 19:05:39 +0000 (11:05 -0800)]
console is alway true

9 years agonewinfo => console
Bradley Bell [Fri, 12 Dec 2014 10:13:02 +0000 (02:13 -0800)]
newinfo => console

9 years agopreallocate the console
Bradley Bell [Fri, 12 Dec 2014 08:08:43 +0000 (00:08 -0800)]
preallocate the console

9 years agodelete CON_Destroy
Bradley Bell [Fri, 12 Dec 2014 07:55:58 +0000 (23:55 -0800)]
delete CON_Destroy

9 years agodelete junk
Bradley Bell [Fri, 12 Dec 2014 07:53:52 +0000 (23:53 -0800)]
delete junk

9 years agoconsole is always at 0,0
Bradley Bell [Fri, 12 Dec 2014 07:47:48 +0000 (23:47 -0800)]
console is always at 0,0

9 years agoget rid of execute and complete callbacks
Bradley Bell [Fri, 12 Dec 2014 07:42:45 +0000 (23:42 -0800)]
get rid of execute and complete callbacks

9 years agoeliminate show wrappers, hide callback, and Console_open global
Bradley Bell [Fri, 12 Dec 2014 07:28:38 +0000 (23:28 -0800)]
eliminate show wrappers, hide callback, and Console_open global

9 years agoeliminate some wrappers
Bradley Bell [Fri, 12 Dec 2014 07:23:00 +0000 (23:23 -0800)]
eliminate some wrappers

9 years agono more CONSOLE macro
Bradley Bell [Fri, 12 Dec 2014 07:16:55 +0000 (23:16 -0800)]
no more CONSOLE macro

9 years agoOnly one console, Topmost => console
Bradley Bell [Fri, 12 Dec 2014 07:14:05 +0000 (23:14 -0800)]
Only one console, Topmost => console

9 years agosimplify functions since we only want the one console
Bradley Bell [Fri, 12 Dec 2014 07:06:14 +0000 (23:06 -0800)]
simplify functions since we only want the one console

9 years agomerged CON_console and console
Bradley Bell [Fri, 12 Dec 2014 06:39:52 +0000 (22:39 -0800)]
merged CON_console and console

9 years agoadd alias command
Bradley Bell [Thu, 11 Dec 2014 02:05:42 +0000 (18:05 -0800)]
add alias command

9 years agoadd alias cmd
Bradley Bell [Wed, 10 Dec 2014 11:46:18 +0000 (03:46 -0800)]
add alias cmd

9 years agocleanup
Bradley Bell [Wed, 10 Dec 2014 03:48:35 +0000 (19:48 -0800)]
cleanup

9 years agoadd exec cmd
Bradley Bell [Wed, 10 Dec 2014 01:51:00 +0000 (17:51 -0800)]
add exec cmd

9 years agomake sure we have an impulse number
Bradley Bell [Wed, 10 Dec 2014 01:39:23 +0000 (17:39 -0800)]
make sure we have an impulse number

9 years agodon't add leading space to echo
Bradley Bell [Wed, 10 Dec 2014 01:32:14 +0000 (17:32 -0800)]
don't add leading space to echo

9 years agodon't try to print non-printable characters
Bradley Bell [Wed, 10 Dec 2014 01:23:10 +0000 (17:23 -0800)]
don't try to print non-printable characters

9 years agouse timer for palette fade
Bradley Bell [Tue, 9 Dec 2014 23:48:38 +0000 (15:48 -0800)]
use timer for palette fade

9 years agoimplement fades for ogl
Bradley Bell [Tue, 9 Dec 2014 23:48:08 +0000 (15:48 -0800)]
implement fades for ogl

9 years agoadd impulse, echo cmds
Bradley Bell [Tue, 9 Dec 2014 11:57:09 +0000 (03:57 -0800)]
add impulse, echo cmds

9 years agomove cvar to its own module
Bradley Bell [Tue, 9 Dec 2014 10:40:22 +0000 (02:40 -0800)]
move cvar to its own module

9 years agofree cmd memory
Bradley Bell [Tue, 9 Dec 2014 10:09:27 +0000 (02:09 -0800)]
free cmd memory

9 years agoMove Error Int3 to after printing the message
Kp [Tue, 9 Dec 2014 01:10:24 +0000 (01:10 +0000)]
Move Error Int3 to after printing the message

9 years agomakefile fixes
Bradley Bell [Tue, 9 Dec 2014 03:48:06 +0000 (19:48 -0800)]
makefile fixes

9 years agosmall hack to fix briefing palette switching, remove old broken hacks
Bradley Bell [Tue, 9 Dec 2014 03:47:25 +0000 (19:47 -0800)]
small hack to fix briefing palette switching, remove old broken hacks

9 years agomake sure we don't try to print to console after shutdown.
Bradley Bell [Tue, 9 Dec 2014 02:45:54 +0000 (18:45 -0800)]
make sure we don't try to print to console after shutdown.

9 years agominor stuff
Bradley Bell [Tue, 9 Dec 2014 02:27:02 +0000 (18:27 -0800)]
minor stuff

9 years agouse __builtin_debugtrap() for clang, __debugbreak() for MSVC
Bradley Bell [Tue, 9 Dec 2014 01:52:01 +0000 (17:52 -0800)]
use __builtin_debugtrap() for clang, __debugbreak() for MSVC

9 years agoimplemented execution of console commands
Bradley Bell [Mon, 8 Dec 2014 14:16:09 +0000 (06:16 -0800)]
implemented execution of console commands

9 years agomake braces parseable by IDE
Bradley Bell [Mon, 8 Dec 2014 11:16:25 +0000 (03:16 -0800)]
make braces parseable by IDE

9 years agoadd a newline
Bradley Bell [Mon, 8 Dec 2014 07:31:20 +0000 (23:31 -0800)]
add a newline

9 years agoadd callback for console hide. disable controls when open.
Bradley Bell [Fri, 5 Dec 2014 12:48:33 +0000 (04:48 -0800)]
add callback for console hide. disable controls when open.

9 years agoadd fov cvar
Bradley Bell [Thu, 4 Dec 2014 11:34:02 +0000 (03:34 -0800)]
add fov cvar
rename r_framerate to show_fps