Commit graph

1628 commits

Author SHA1 Message Date
Kp e0a14391d1 Simplify reading $LDFLAGS 2013-05-05 23:33:38 +00:00
Kp 5901c3c677 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-03 23:02:11 +00:00
Kp 969c976b82 Restore Raspberry Pi support lost in ed33108
Patch by derhass.
2013-05-03 22:52:57 +00:00
Kp ef8fb7fe44 Fix edge cases in new cycle skip logic
Commit 0ceaaaf 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:49:24 +00:00
Kp ed5d6cc1e1 Use primary order list for primary cycling
Fix copy-paste bug from commit 0ceaaaf.
2013-04-27 01:48:30 +00:00
zico 3405bf6562 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:59 +02:00
zico 40efb50a37 Clear Netgame struct each time player enters a new IP in manual join menu 2013-04-22 11:42:41 +02:00
zico ea8020267a In restricted game mode check for player callsign and sockaddr at the same time 2013-04-22 11:26:55 +02:00
Kp 119a34e9cb Support cross-configuring SDL 2013-04-20 20:36:02 +00:00
Kp f387c32734 Store fixed values at class scope 2013-04-20 20:36:02 +00:00
Kp 2f6ac3cb53 Refactor SConstruct register_program handling 2013-04-20 20:36:02 +00:00
Kp 621c82f631 Move compiler flags/selection into a base class above DXXProgram 2013-04-20 20:36:02 +00:00
Kp 078ee16905 Remove -pedantic
It warns about the editor build and serves no purpose.
2013-04-20 20:36:02 +00:00
zico fdf951673e 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 2013-04-18 15:31:28 +02:00
zico cd6c74e0a9 revert 2013-04-18 15:30:34 +02:00
zico 87ad1a97b7 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:51 +02:00
zico a7692274fa 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:18 +02:00
zicodxx f9b244e0e2 Merge pull request #1 from dxx-rebirth/d2x-rebirth/indirect-ham
Add new mission type with support for HAM-by-reference
2013-04-08 06:11:53 -07:00
zico ebfa2211ff merging? 2013-04-08 15:09:06 +02:00
zico 0ceaaaf237 Added option to ignore cycling weapons that are not on autoselect list 2013-04-08 15:04:28 +02:00
zico c361a6ef91 Added 4th alternative HUD mode for no HUD rendering, aka Immersion mode 2013-04-08 14:28:55 +02:00
Chris Taylor c47dcf2b51 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:21:00 +08:00
Chris Taylor 0b00caaeae Extend #ifdef guards to around StandardAlert for the messagebox, fixing a missing symbol error in SCons for Mac 2013-04-08 17:21:00 +08:00
Chris Taylor 4d6d655072 For SCons in Mac OS X, make sure the frameworks are linked properly 2013-04-08 17:21:00 +08:00
Chris Taylor f566bd1203 For Mac, in SCons link against physfs properly 2013-04-08 14:52:04 +08:00
Chris Taylor bf401f7c74 Allow SCons to find the HIServices framework for the Mac code in physfsx.c 2013-04-08 14:51:38 +08:00
Kp 04ba4ecf9e Add new mission type with support for HAM-by-reference
If a mission starts with !name instead of name/yname/zname, then enable
two new behaviors.  Any other lines which start with an exclamation
point are considered critical and must be recognized or the mission is
rejected.  This allows the addition of mandatory lines without revising
the name= line every time.  Also, add support for one such critical
directive, which reads a HAM by reference, allowing well known HAMs to
be used without being shipped every time.

Syntax:

	!name = My extra-extended mission
	!ham = d2x.ham
	... regular mn2 directives ...
2013-04-06 21:24:40 +00:00
Chris Taylor c1280966f1 Updated Xcode project, changed references to error.h to dxxerror.h, since it was renamed 2013-04-06 11:21:32 +08:00
Chris Taylor a90a86ded6 For the assembler build, make sure platform_settings is accessed from self, likely preventing a compiling error 2013-04-06 10:08:09 +08:00
Kp 919c8fd86d Add proximity bomb ID test helper 2013-03-31 20:42:15 +00:00
Kp 706d2d7451 Remove unused include/ps*.inc 2013-03-31 20:42:15 +00:00
Kp 37f495a1a7 Fix debug=1 build break from 2a3524cd ("Move segment handling from editor.h")
When debug is enabled, gamecntl references symbols that moved to the new
header.
2013-03-31 20:42:14 +00:00
Kp 62ef6abefe Add helper to get pointer to reactor definition 2013-03-31 20:42:14 +00:00
Kp 8f95f0120d Use ubyte/const ubyte consistently in multiplayer messaging 2013-03-31 20:42:14 +00:00
Kp da757190cc Simplify processing of $ insertion of name in multiplayer messages 2013-03-31 20:42:14 +00:00
Kp c87886c814 Simplify logic for robot to drop proximity and smart bombs 2013-03-31 20:42:14 +00:00
Kp e7dcbeecae Adjust physics layout to match D1X 2013-03-31 20:42:14 +00:00
Kp 792d78e6e8 Support extra information, such as git describe, in version string 2013-03-31 20:42:14 +00:00
Kp ad6bb8999c Combine date,time into Descent version con_printf 2013-03-30 15:11:42 +00:00
Kp ea220cc5dd Avoid using #ifdef inside Error string on hog failure 2013-03-30 02:45:23 +00:00
Kp 74d241f9be Reorder differences to match D1X 2013-03-30 02:36:00 +00:00
Kp ab9c0681d2 Read robot_info arrays in pieces 2013-03-30 02:01:36 +00:00
Kp 977b48a8b1 Make stub g3_uninit_polygon_model inline 2013-03-30 18:51:51 +00:00
Kp 49b25a83eb Remove unused hostage dialog editor 2013-03-24 02:28:34 +00:00
Kp 613e0327f3 Remove unused gauge declarations 2013-03-24 02:11:09 +00:00
Kp 8704329767 Remove unused declarations in main/screens.h 2013-03-24 17:53:04 +00:00
Kp 1e3f1c658e Allow user to override Raspberry Pi defaults 2013-03-16 17:18:33 +00:00
Kp b4073678bd 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
Kp 2a85e25015 Move Darwin version handling into DarwinPlatformSettings 2013-04-07 17:03:58 +00:00
Kp 3062b23bd0 Add support for out-of-tree build 2013-03-16 18:24:52 +00:00