Commit graph

1649 commits

Author SHA1 Message Date
Kp 63dc72ba4a Add HUD_init_message_literal for preformatted text strings 2013-06-29 22:19:17 +00:00
Kp 5b1b870551 Make newdemo_write_string const correct 2013-06-29 22:19:17 +00:00
Kp 6aada62c4d Call HUD_init_message_va directly from powerup_basic 2013-06-29 22:19:17 +00:00
Kp 2b20eeb6e2 Work around ntpath handling of None 2013-06-28 21:26:42 +00:00
Kp 9b8831c9c5 Use program.srcdir, not self.srcdir for Win32PlatformSettings 2013-06-28 19:16:03 +00:00
Kp 5013c4d749 Make diagnostic_message forward directly to editor_status 2013-06-28 02:17:40 +00:00
Kp 100255b650 Remove unused editor functions 2013-06-28 02:17:40 +00:00
Kp b454954702 Remove unused function editor_sub_status 2013-06-28 02:17:40 +00:00
Kp fe88284700 Remove unused function print_diagnostic 2013-06-28 02:17:40 +00:00
zico de89ac6fa7 Made credits music fade respect previous music volume 2013-06-27 12:55:22 +02:00
zico 298c3c930d Correctly spply demo string to credits file and also check whether a mission has been loaded. if not, show normal credits 2013-06-27 12:48:59 +02:00
zico 4028c332bd Made hmp->tempo endian-safe 2013-06-27 12:08:58 +02:00
zico 8534b9705b fixed regression introduced in bb57521ef1 causing the game to crash when trying to incorrectly re-init SDL_mixer for change in sample rate - which isn't needed in the first place 2013-06-27 11:41:46 +02:00
Skywing 0c10c9db7f It helps to pass the right length to bind().
- Fixes a break with -DIPv6 under Win32.
2013-06-27 01:48:10 +00:00
Skywing ec709efaa3 Don't truncate callback pointer to midiStreamOpen in hmp_play().
- This is obviously busted on NT64.
2013-06-27 01:48:10 +00:00
Skywing 347292d866 Use vsnprintf instead of vsprintf in 2d\font.cpp 2013-06-27 01:48:10 +00:00
Kp 29ab6430df Realign netflag enum and strings 2013-06-25 02:26:08 +00:00
Kp 5575f9beba Validate netgame mode index 2013-06-25 02:09:12 +00:00
Kp 88759aee48 Fix bug that allowed shield centers to charge indefinitely 2013-06-23 20:55:42 +00:00
Kp ef3d72cd7f Remove unused return value of free_object_slots 2013-06-23 20:39:55 +00:00
Kp 56b65506ce Move model_buf back onto stack 2013-06-23 18:25:36 +00:00
Kp feb4abd98b Use D1X style per-vector copying 2013-06-23 18:23:11 +00:00
Kp 7e179e6e1d Use enum for multiplayer netflag numbers 2013-06-22 23:41:57 +00:00
Kp 1959e479ef Remove unused -DPROGRAM_NAME 2013-06-16 18:54:58 +00:00
Kp b685253fef Use enum for multiplayer message numbers 2013-06-14 03:04:23 +00:00
Kp 9af78b7217 Compute message_length limit automatically 2013-06-14 03:04:23 +00:00
Kp d59f9085ff Make piggy_find_bitmap input mostly const 2013-06-14 03:04:23 +00:00
Kp f37a127b1f Use inline function to compute placement names 2013-06-14 03:04:23 +00:00
Kp ac97642962 Simplify left rotation to help the compiler 2013-06-14 03:04:23 +00:00
Kp c60c2dea30 Remove obsolete advice about level saving
Levels are no longer maintained under DOS.  Remove the obsolete advice.
2013-06-14 03:04:23 +00:00
Kp 3057daab4c Use symbolic indexes for secondary weapon names 2013-06-14 03:04:23 +00:00
Kp 0674740490 Remove unused gr_bm_ubitblt0x_rle parameter masked 2013-06-13 03:23:25 +00:00
Kp 37ac3f635c Use MENU_DIFFICULTY_TEXT for pause dialog 2013-06-13 03:23:25 +00:00
Kp fe2e19d655 Convert text index macros to ternary expressions 2013-06-13 03:23:25 +00:00
Kp e9f483a3e3 Move demo ammo recording up so it works in immersion mode
Immersion mode bypasses draw_hud, so the calls to record ammo into the
demo were skipped.
2013-06-13 03:23:25 +00:00
Kp 4a817f2cfa Avoid some weapon name copying 2013-06-13 03:23:25 +00:00
Kp 64b8cfd4d6 Remove unused SW_* variables 2013-06-13 03:23:24 +00:00
Kp ace282222f Use inline function to compute extra-short secondary names 2013-06-13 03:23:24 +00:00
zico 8148ddd416 merge 2013-06-11 12:21:38 +02:00
zico 918b08e688 Consider FrameTime overhead when calculating time to allow next weapon fire. Should work perfectly as long as FPS >= Shots-per-second. Also set Omega firing rate to 20 shots per second for both single- and multiplayer 2013-06-11 12:19:03 +02:00
Kp d1e260e582 Add Win32PlatformSettings.__init__ to fix SConstruct for Windows 2013-06-11 02:27:59 +00:00
zico bffa6ac838 Fixed case where it wasn't possible to switch to view of a player > X if player X was missing 2013-06-11 01:19:56 +02:00
zico 28419bcd32 Changed message regarding VSync and Multisampling indicating not all OSes need a restart to apply (mysteries of SDL) 2013-06-11 01:07:12 +02:00
zico 9b3e6dd50a Don't try to free Current_mission->alternate_ham_file if not allocated 2013-06-11 01:00:37 +02:00
zico c7f2ed7bb1 Fixed briefing_screens array for Descent 1 Shareware 2013-06-11 00:48:23 +02:00
zico c65b0a5d3c Removed call of digi_stop_digi_sounds() from DoPlayerDead(). Since it was killing persistent sounds which were only started once a level it would forever mute fans, waterfalls, etc.. Also closing Game_wind kills all sounds anyways so there is no point doing it on player death 2013-06-10 23:58:30 +02:00
zico 112866ef3d merge 2013-06-10 22:07:49 +02:00
zico bb57521ef1 re-init digi system after re-setting sample rate for shareware 2013-06-10 17:19:37 +02:00
zico fc26c7c605 Made hmp code actually read tempo. Due to missing documentation of the format I can only guess it's a 4 bit int 2013-06-10 16:34:52 +02:00
Kp 49b547cb45 Fix font prototype mismatch in SDL-only case
Commit 33bf139002 changed OGL
gr_internal_color_string to take a const char, but left SDL
gr_internal_color_string with non-const char.
2013-06-08 17:38:36 +00:00