Commit graph

3933 commits

Author SHA1 Message Date
Kp db7092106d Use MALLOC for MenuX allocation 2013-07-06 03:08:37 +00:00
Kp fd66f82186 Use MALLOC for ui_add_gadget_inputbox 2013-07-07 19:55:59 +00:00
Kp ba132472df Make HMP cmdlen const 2013-07-06 03:57:57 +00:00
Kp 1a9e2009e3 Use sizeof to compute array extents 2012-11-24 17:35:35 +00:00
Kp 8e94b21061 Add size information to improve -fmudflap 2012-11-11 00:12:17 +00:00
Kp 5e21ee36fb Make Side_to_verts const 2013-07-14 21:47:36 +00:00
Kp 490908f530 Make various g3s_point pointers const 2013-07-14 18:54:48 +00:00
Kp 843672be06 Make zero_angles const 2013-07-14 18:04:33 +00:00
Kp ab3d0bd39f Mark weapon related globals as const 2012-10-27 02:27:28 +00:00
Kp b47343c377 Mark reactor default countdown times as const 2012-07-15 17:32:21 +00:00
Kp e72a10a545 Mark reticle control data const 2012-07-14 03:24:56 +00:00
Kp 12f8dbfd07 Make ranking strings const 2012-07-07 20:32:47 +00:00
Kp 7f6f191059 Treat robot joints as const 2012-07-07 21:38:03 +00:00
Kp aebc5da4d3 Remove variables that were unused-but-set 2013-05-28 02:02:26 +00:00
Kp b65272771e Add unused ai_restore_state parameter version to match D2X 2013-03-31 21:32:58 +00:00
Kp 62d8de0824 Make main/fireball.c more like D2XR
Add general purpose explode_badass_object.  Make object_create_egg a
thin wrapper for new drop_powerup, which has the same signature as in
D2XR.
2013-04-24 02:28:35 +00:00
Kp 1cb4ee361f Make GET_INTEL_* const-correct
Based on a report by derhass, but with additional changes.  Original
report at

<http://www.dxx-rebirth.com/frm/index.php/topic,1048.msg17421.html#msg17421>.
2013-05-04 17:13:47 +00:00
Kp ace1902ef7 Add Raspberry Pi automatic environment setup
Patch by derhass.

Requested at
<http://www.dxx-rebirth.com/frm/index.php/topic,1048.msg17426/topicseen.html#msg17426>.
2013-05-04 17:13:31 +00:00
Kp d268169eb0 Use D2XR pick_connected_segment for increased randomness 2013-05-02 03:35:57 +00:00
Kp ee9fbc387b Fix edge cases in new cycle skip logic
Commit dab702a introduced two undesirable behaviors which can be
mitigated by a heuristic from commit cab78bb and commit 7bed83b.  This
heuristic prevents a buffer overread if no weapons are auto-selectable
and prevents the player from being stuck on a single weapon if only one
weapon is auto-selectable and that weapon is the current weapon.
Players would not use cycle in such a case, so skipping the
non-auto-select weapons does not help.
2013-04-27 20:52:09 +00:00
Kp e054a205a2 Make do_exploding_wall_frame set WALL_BLASTED
Hostage doors misbehave after commit 5cc09c9:

5cc09c974a (commitcomment-3037382)

Descent 1 set WALL_BLASTED in blast_blastable_wall, but Descent 2 set
WALL_BLASTED in do_exploding_wall_frame.  Commit 5cc09c9 broke exploding
walls because it removed the WALL_BLASTED logic from
blast_blastable_wall, but did not add it to do_exploding_wall_frame.

Reported-by: zico <zico@dxx-rebirth.com>
2013-04-24 01:40:37 +00:00
zico d5016e349f Added a lot of status messages for RBA code shown with -verbose, hopefully making it easier for users to track down problems and made all RBA messages start with RBAudio prefix 2013-04-22 12:37:51 +02:00
zico 664139efcf Clear Netgame struct each time player enters a new IP in manual join menu 2013-04-22 11:42:38 +02:00
zico 07a73afee7 In restricted game mode check for player callsign and sockaddr at the same time 2013-04-22 11:26:49 +02:00
Kp ebc971be95 Support cross-configuring SDL 2013-04-20 20:35:58 +00:00
Kp 52a15a6e11 Add unused ai_restore_state parameter version to match D2X 2013-04-20 20:35:58 +00:00
Kp 63b1abc80a Store fixed values at class scope 2013-04-20 20:35:58 +00:00
Kp 528ea51ce4 Refactor SConstruct register_program handling 2013-04-20 20:35:58 +00:00
Kp 17ca9f15bd Move compiler flags/selection into a base class above DXXProgram 2013-04-20 20:35:58 +00:00
Kp 47aa7d000d Make CPPDEFINES consistent with unification branch 2013-04-20 20:35:58 +00:00
Kp e658660d21 Make name of GLES_CM library configurable 2013-04-20 20:35:58 +00:00
zico cb280a8ef4 Adjusted SB_PRIMARY_W_BOX_RIGHT_L to fit perfectly 2013-04-18 15:46:09 +02:00
zico 8ae018aa0c use const ubyte for multi_do_powcap_update() 2013-04-18 15:45:40 +02:00
zico a060ec45db Made UPID_GAME_INFO_SIZE, UPID_GAME_INFO_LITE_SIZE and UPID_SEQUENCE_SIZE change if NETGAME_NAME_LEN, MISSION_NAME_LEN or CALLSIGN_LEN changes, fixes bug where joining games was not possible anymore due to recent change of MISSION_NAME_LEN 2013-04-18 15:14:16 +02:00
zico b769485d9a Due to additive blending, transparent sprites will become invivible in font of white surfaces (lamps). Fix that with a little desaturation 2013-04-18 12:08:53 +02:00
zico 6d3dc4f1b1 Removed light_frame_count due to being unnecessary since lighting is now time-based and messed up deletion of dynamic light 2013-04-18 11:56:32 +02:00
zico dab702aba9 Added option to ignore cycling weapons that are not on autoselect list 2013-04-08 15:04:19 +02:00
zico bf52256c8d Added 4th alternative HUD mode for no HUD rendering, aka Immersion mode 2013-04-08 14:28:41 +02:00
zico c60b007398 Increased ship wiggle from 20FPS- to 30FPS-base as I think this more representy the 486 play style - feels way more natural to me, too 2013-04-08 12:55:27 +02:00
zico 758f2d64f8 Support for Raspberry Pi - patch by derhass 2013-04-08 12:54:02 +02:00
zico 3553ea3cf7 Added Rankings functionality like in D2X-Rebirth while still utilizing eff file from original D1X source; Decrease personal score when killing multi buddy and don't increment towards kill goal 2013-04-08 12:46:05 +02:00
Chris Taylor 7d5833007d Update SDLmain.m from SDL 1.2.14 source, fixing a missing symbol 'NSAppleMenuController' when building using SCons for Mac. For Mac, using SCons, it finally builds and works again\! 2013-04-08 17:08:54 +08:00
Chris Taylor 8e6d903ad2 Extend #ifdef guards to around StandardAlert for the messagebox, fixing a missing symbol error in SCons for Mac 2013-04-08 16:34:24 +08:00
Chris Taylor 77d4cccf56 Letting the Xcode project figure out its geography regions 2013-04-08 16:32:25 +08:00
Chris Taylor 175cad804c For SCons in Mac OS X, make sure the frameworks are linked properly 2013-04-08 16:21:53 +08:00
Chris Taylor 5ee91b1a8e Merged in remote changes 2013-04-08 14:40:07 +08:00
Chris Taylor 7683d7998d For Mac in SCons, find the HIServices framework for physfsx.c 2013-04-08 14:35:48 +08:00
Chris Taylor f3b1294bf0 For Mac, in SCons link against physfs properly 2013-04-08 14:27:36 +08:00
Chris Taylor e3eabde3ca Allow SCons to find the HIServices framework for the Mac code in physfsx.c 2013-04-08 13:00:05 +08:00
Kp 5f34dab041 Set Environment tools= from platform settings
This allows Linux and Darwin to pass None instead of ['mingw32'].
2013-04-07 17:04:16 +00:00