Kp
251f3abb2d
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
b9d08b2bbf
Move PCX filenames onto stack
...
PATH_MAX*2 is cheap, and this improves the quality of the error message
on failure paths.
2013-06-08 16:57:59 +00:00
Kp
7012eda814
Add unused weapon_info_read_n parameter file_version to match D2X
2013-06-08 04:29:20 +00:00
Kp
dc53b2a2a0
Move new_baldguy_pcx inline
2013-06-08 23:21:51 +00:00
Kp
49ef10fe3a
Convert HAS_*_INDEX to use helper macro
2013-06-08 23:19:26 +00:00
Kp
8140b7ff54
Make weapon.c more like D2X
2013-06-08 02:34:30 +00:00
Kp
47d8ca0713
Restore use of Windows icon file
2013-06-02 22:08:50 +00:00
Kp
285985b071
Move mine_*info fields into #ifdef EDITOR where they belong
2013-06-01 23:11:29 +00:00
Kp
a9c257f715
Use SDLK_UNKNOWN for unmapped entries
2012-11-24 16:46:43 +00:00
Kp
c1162f254f
Remove unused interpreter color table
2013-07-14 22:49:49 +00:00
Kp
fbddc7823c
Make g3_draw_morphing_model take ubyte* model_ptr
2013-07-14 22:45:35 +00:00
Kp
ee3bc685e9
Make g3_draw_polygon_model take ubyte* model_ptr
2013-07-14 22:45:35 +00:00
Kp
fbcbccea83
Fix preprocessor guard for draw_outline
2013-07-14 22:41:04 +00:00
Kp
ab72e26469
Remove useless strlen in menubar setup
2013-07-14 22:34:37 +00:00
Kp
57cb348dea
Make select_tmap take const char*
2013-07-14 22:24:08 +00:00
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