Commit graph

4108 commits

Author SHA1 Message Date
Kp 8df7e8c6b4 Restructure laser.c to simplify merge 2013-09-21 23:19:31 +00:00
Kp 9210a3870e Remove unused fields in struct player 2013-09-21 18:04:10 +00:00
Kp 7e6278bb0a D2X also needs the workaround for do_weapon_select 2013-09-21 18:01:45 +00:00
Kp 83df42af8e Fix loading of older save files
struct player_rw offsets must not change within a savefile version
2013-09-21 17:47:03 +00:00
Kp 53c8c2f812 Backport D2X use of helper call_find_homing_object_complete 2013-09-21 17:02:14 +00:00
Kp ec015d8814 Backport D2X ancestor sanity check 2013-09-20 23:14:47 +00:00
Kp f4b21088a0 Track vulcan ammo explicitly 2013-09-20 23:12:54 +00:00
Kp 6e1d9f1f0c Add helper to test for weapons that use vulcan ammo 2013-09-20 23:12:51 +00:00
Kp 173a3febc9 Enable -Wpointer-arith 2013-09-15 21:39:18 +00:00
Kp d447d02a1d Move */main/newdemo.c -> similar/main/newdemo.c 2013-09-15 21:34:08 +00:00
Kp aa9127e3c1 Enable -Wwrite-strings 2013-09-15 21:34:03 +00:00
Kp ef218b7665 Simplify pilot deletion 2013-09-15 21:34:03 +00:00
Kp 485c3f8a2a Convert d1x newdemo to menu helpers 2013-09-15 21:34:02 +00:00
Kp eb9b126ab1 Reorder newdemo.c to simplify merging 2013-09-15 21:03:58 +00:00
Kp d52a930cab Store pointer to customized demo text out of line 2013-09-15 21:01:30 +00:00
Kp c3bbc41796 Remove !defined(NETWORK) code
Rebirth has always defined NETWORK, so checking for it clutters the code.
2013-09-15 21:01:06 +00:00
Kp b7db46a43a Switch to std::min 2013-09-15 04:06:07 +00:00
Kp 4848179857 Remove unused bm_read_hostage_face 2013-09-14 17:42:11 +00:00
Kp d858932187 Remove unused parameter in call to slew_stop 2013-09-11 02:41:38 +00:00
Kp 316e71c96c Simplify Toggle_var 2013-09-11 02:41:38 +00:00
Kp 88403fbfd8 Remove defined(SHAREWARE) code
Rebirth supports shareware and retail data based on runtime decisions.
2013-09-11 02:39:50 +00:00
Kp c509faf0f7 Cache weapon order value 2013-09-11 02:29:29 +00:00
Kp df69df56dc Remove unused common/ui/popup.cpp 2013-09-07 16:39:25 +00:00
Kp 2d964c414c Remove unused strcins/strndel 2013-09-07 16:39:25 +00:00
Kp a3883ab6ac Move restore_state into #if 0 2013-09-07 16:39:10 +00:00
Kp 7a2c9ea021 Remove useless menu text change 2013-09-07 16:35:03 +00:00
Kp d4e4a34be7 Remove obsolete descent_critical_error variables
These appear to be for reporting serious errors from DOS.  Commit
1de5349 removed the ability to set them to anything other than 0, so
remove them.
2013-09-02 23:59:31 +00:00
Kp 243f8cdd36 Simplify D1X SPREADFIRE truncation 2013-09-02 23:59:31 +00:00
Kp 4e177dd3fa Move common/arch/win32/messagebox.c -> common/arch/win32/messagebox.cpp 2013-09-02 23:59:31 +00:00
Kp cc90678647 Move common/arch/sdl/digi_mixer_music.c -> common/arch/sdl/digi_mixer_music.cpp 2013-09-02 23:59:31 +00:00
Kp d165b9c422 Make briefing->message const 2013-09-02 23:59:31 +00:00
Kp d156a4c1ab Simplify D1X hostage handling 2013-09-02 23:59:31 +00:00
Kp c8f0c799b7 Use helper for setting menu items to type number 2013-09-01 23:50:55 +00:00
Kp 4fe618b325 Use helper for setting menu items to type slider 2013-09-01 23:50:55 +00:00
Kp 0645e96e17 Use helper for setting menu items to type radio 2013-09-01 23:50:54 +00:00
Kp 4c5eaded8d Use helper for setting menu items to type checkbox 2013-09-01 23:23:55 +00:00
Kp bb8b229dc2 Use helper for setting menu items to type input 2013-09-01 23:23:55 +00:00
Kp c7b9a45f63 Combine D2X ai.c, ai2.c 2013-09-01 23:21:57 +00:00
Kp b7dac2941c Move */main/gamesave.c -> similar/main/gamesave.c 2013-09-01 22:59:55 +00:00
Kp 19c1a65627 Rearrange gamesave.c to simplify merge 2013-09-01 22:24:13 +00:00
Kp ce2dd25e3f Use helper for setting menu items to types menu and text 2013-09-01 22:24:13 +00:00
Kp 6386023a86 Remove obsolete arch/linux/include in CPPPATH 2013-09-01 22:22:18 +00:00
Kp a15996a761 Format maximum starting level once 2013-09-01 22:22:12 +00:00
Kp 6768c9bd6c Reduce wasted space in briefing_screen struct 2013-09-01 22:19:33 +00:00
Kp bf027e3df0 Move */main/titles.c -> similar/main/titles.c 2013-09-01 22:19:27 +00:00
Kp 17037caa4d Mark titles.c briefings static const 2013-09-01 21:52:34 +00:00
Kp 801dfbcd81 Move */main/net_udp.c -> similar/main/net_udp.c 2013-09-01 21:51:54 +00:00
Kp ccb92fdefa Use macro to define advanced net UDP options 2013-09-01 21:11:27 +00:00
Kp 9d2d8bb552 Scrub netgame flags on load/save/send/recv 2013-09-01 21:09:01 +00:00
Kp 923c2111de Move */main/switch.c -> similar/main/switch.c 2013-09-01 18:42:31 +00:00