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
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
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
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
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
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
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
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
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
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
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
Kp
919c8fd86d
Add proximity bomb ID test helper
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
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
d9de256e21
Avoid crash on failure to open HAM file
2012-12-23 22:39:29 +00:00
Kp
d86f0d25a1
Move declaration of last_palette_loaded to gamepal.h
2013-03-24 17:14:06 +00:00
Kp
8f682eb6b2
Delete definition of Segment2s
...
This should have been part of 644f7ce9
("Move segment2 back to
segment").
2013-03-23 15:44:30 +00:00