Commit graph

1627 commits

Author SHA1 Message Date
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
Kp 2cece43d4b Fix recvfrom prototype mismatches
Win32 uses int* instead of unsigned int*.  Fortunately, socklen_t is
defined to the correct type in both cases, so use socklen_t and let the
compiler sort it out.
2013-06-08 17:43:35 +00:00
Kp 105be723f8 Adjust handling of weapon cycle with superlaser 2013-06-08 02:58:06 +00:00
Kp b29c4e8120 Mark bitblt.c functions static 2013-06-08 23:35:21 +00:00
Kp 6914285892 Restore use of Windows icon file 2013-06-02 22:10:32 +00:00
Kp 2b0ae93c41 Delete empty function apply_modified_palette 2013-04-20 03:07:49 +00:00
Kp 8352c7e90b Mark reactor default countdown times as const 2012-07-15 17:32:21 +00:00
Kp 05861ca745 Treat robot joints as const 2012-07-07 21:38:03 +00:00
Kp ae2d94309a Mark powerup_basic as printf-like 2012-07-01 04:39:04 +00:00
Kp 4f63b346e6 Mark weapon related globals as const 2012-10-28 02:27:28 +00:00
Kp 653b81bc23 Adjust alignment of vulcan/gauss ammo display 2012-10-21 23:11:37 +00:00
Kp 361f620d69 Use a static wrapper in PCX reading code 2012-07-28 22:33:54 +00:00
Kp 0e71a77a0a Refactor PCX loading code to simplify exit path 2012-07-28 22:20:14 +00:00
Kp f72e2bc38e Mark reticle control data const 2012-07-15 03:24:56 +00:00
Kp c3be4be5bd Make ranking strings const 2012-07-08 20:32:47 +00:00
Kp 4819213420 Remove unnecessary exit(1) calls in physfsx
Error never returns, so calling exit afterward is pointless.
2012-07-07 18:07:42 +00:00
Kp 707fc7ba83 Make Boss_dying an int
It is read and written as one, so store it as one.
2013-05-26 01:48:55 +00:00
Kp 6846d97ffb Fold headlight message into powerup_basic 2012-07-01 04:38:51 +00:00
Kp c56890df5a Convert thief-steal messages to use weapon name macros 2012-07-01 01:14:25 +00:00
Kp a1c07a6bc9 Add support for linking under an alternate name 2013-05-05 22:59:09 +00:00
Kp 88946d5c9b Add support for DESTDIR installs 2013-05-05 22:55:16 +00:00
Kp 7d140363ab Allow user to suppress install target 2013-05-05 22:50:19 +00:00
Kp e0a14391d1 Simplify reading $LDFLAGS 2013-05-05 23:33:38 +00:00