Kp
27f50082f0
Avoid unnecessary cross_lca initialization
2015-04-02 02:36:55 +00:00
Kp
32d99ada2e
Make ret_rgba const array<>
2015-04-02 02:36:55 +00:00
Kp
ae8b99ae7d
Use RAIIdigi_sound for briefing printing_channel
2015-04-02 02:36:55 +00:00
Kp
b60c603e21
Avoid redundant PHYSFSX_exists checks
2015-04-02 02:36:55 +00:00
Kp
61ee6463aa
Remove unused show_title_screen return value
2015-04-02 02:36:55 +00:00
Kp
b36ce28382
Remove unnecessary strcpy in titles.cpp
2015-04-02 02:36:55 +00:00
Kp
efcf7ce6cf
Remove unnecessary strcpy in info.cpp
2015-04-02 02:36:55 +00:00
Kp
2a1df52f71
Remove unused g3_draw_bitmap return value
2015-04-02 02:36:54 +00:00
Kp
72d349b0e0
Remove unused g3_draw_sphere return value
2015-04-02 02:36:54 +00:00
Kp
1125a751db
Remove unused g3_draw_poly return value
2015-04-02 02:36:54 +00:00
Kp
c3161d08d5
Remove unused g3_draw_line return value
2015-04-02 02:36:54 +00:00
Kp
6a4c7ed78e
Inline away D1 secret_restore values
2015-04-02 02:36:53 +00:00
Kp
b1d8114b7d
Reduce sb_show_lives lookup of HIRESMODE
2015-04-02 02:36:53 +00:00
Kp
6e1a1873cc
Fix D1 behavior/mode confusion
2015-04-02 02:36:53 +00:00
Kp
9157e5f970
Use enum class for player_awareness_type_t
2015-04-02 02:36:53 +00:00
Kp
2c0755b117
Factor out AI timesplice check
2015-04-02 02:36:52 +00:00
Kp
90fbebf8fd
Convert most global arrays to array<>
2015-04-02 02:36:52 +00:00
Kp
66a70fd373
Prepare for global arrays to be array<>
2015-04-02 02:36:52 +00:00
Kp
6e96ff3e00
Fix ambiguous use of INTEL_SHORT/INTEL_INT
2015-04-02 02:36:52 +00:00
Kp
d4351a9457
Fix gcc-4.6 for loop variable warning
2015-04-02 02:36:52 +00:00
Kp
66806e1f34
Enable -Wmissing-braces
...
clang includes it in -Wall, so add it for gcc
2015-04-02 02:36:52 +00:00
Kp
f76b112304
Allow dropping laser powerups
2015-03-28 17:18:02 +00:00
Kp
598a5e42a2
Allow granting items at player spawn
2015-03-28 17:18:02 +00:00
Kp
da3cb31a0e
Refactor powerup allow code
2015-03-28 17:18:02 +00:00
Kp
b32d1c76c9
Move powerup size reset into set_powerup_id
2015-03-28 17:18:02 +00:00
Kp
ccc440df57
Optimize cloak/invuln cleanup
2015-03-28 17:18:02 +00:00
Kp
12ad357b8d
Move Wimp Menu to macro
2015-03-28 17:18:02 +00:00
Kp
0b20dea0ad
Remove unused jukebox functions
2015-03-28 17:18:02 +00:00
Kp
9fa052f5b1
Remove unused Multi_killed_yourself
2015-03-28 17:18:01 +00:00
Kp
7ecb605a58
Combine tracker message formatting
2015-03-28 17:18:01 +00:00
Kp
12b5d6c94e
Stringize packets per second limits
2015-03-28 17:18:01 +00:00
Kp
c645e5b477
Fix gcc-4.7 jukebox build
2015-03-28 01:16:10 +00:00
Bradley Bell
0f88195dba
use <cstdlib> instead of <stdlib.h>
...
to use definitions in the std namespace
2015-03-27 02:50:23 +00:00
Kp
75680578e1
Move CROSS_* into guard
...
Suggested-by: btb <c3efc342bc
>
2015-03-26 02:42:26 +00:00
Kp
99e4fedcd3
Guard kernel_accepts_extra_sockaddr_bytes in defined(IPv6)
2015-03-26 02:42:26 +00:00
Christian
97fc714970
Merge pull request #53 from derhass/unification/syncgl
...
cleaned-up syncgl patch for unification
2015-03-24 12:37:55 +01:00
Kp
5d6e2c16c6
Fix kill accounting
...
Fixes: c4ae4e5379
("Pass player number to multi functions")
2015-03-24 02:35:37 +00:00
Kp
0707664ae1
Use enum for kmatrix_view result
2015-03-24 02:07:42 +00:00
derhass
daf6b7a29a
add missing line break in -gl_syncwait help message
2015-03-23 20:18:27 +01:00
derhass
639b569496
Merge branch 'unification/master' into unification/syncgl_v2
...
Conflicts:
similar/arch/ogl/gr.cpp
similar/misc/args.cpp
2015-03-23 20:18:17 +01:00
zico
8d686ab23b
implemented return value for kmatrix_view() so we can properly bail out of the game loop in AdvanceLevel()
2015-03-23 03:03:22 +01:00
zico
8292efe622
made code for level progression more similar between D1X and D2X
2015-03-23 02:43:31 +01:00
Kp
1e5acb5f6e
Fix guided missile crash
...
Check type before checking signature. Objects with type OBJ_NONE are
not guaranteed to have any particular signature. Commit 91d31b1
removed
the statement which cleared the signature when the type changes to
OBJ_NONE.
Fixes: 91d31b1952
("Wrap object signature in subtype")
2015-03-22 22:48:47 +00:00
Kp
d63be36fb3
Fix bogus trap on remote_owner check
...
Some call sites pass a uint8_t to objnum_remote_to_local, which is
zero-extended up to an int. The check for owner==-1 then fails, causing
the sanity check to trap to the debugger, even though the situation is
normal and harmless. Switch the type to int8_t to ensure that the value
is not sign/zero-extended.
2015-03-22 22:48:47 +00:00
Kp
b4eaa591c8
Fix crash when all sound channels are in use
...
If digi_mixer_find_channel returns -1, do not use that result to index
channels[].
2015-03-22 22:48:47 +00:00
Kp
95eccebcb3
Fix parsing of MULTI_FIRE_TRACK/MULTI_FIRE_BOMB
...
Fixes: 04d84ae61d
("Pass shot orientation with each weapon packet")
2015-03-22 22:48:47 +00:00
derhass
6d41224638
move GL synchronization code into its own class
2015-03-22 21:19:06 +01:00
derhass
db267af6f2
add basic OpenGL extension handling
...
Currently only used for fence sync objects.
2015-03-22 20:32:14 +01:00
Kp
677e48bc7e
Warn when aspect ratio is ignored
2015-03-22 18:49:21 +00:00
Kp
627547371f
Improve change_res error checking
2015-03-22 18:49:21 +00:00