Kp
7b7bfe14a5
Enable tail-call to redraw_current_object
2015-06-13 22:42:19 +00:00
Kp
c1455cfea9
Use template for object page functions
2015-06-13 22:42:19 +00:00
Kp
302e344979
Warn when UI_GADGET_* are immediately freed
2015-06-13 22:42:19 +00:00
Kp
7b1e774cb8
Hack around buggy clang constant warning
...
clang whines that static_assert(A && B) uses && with a constant operand,
but this is necessary and correct, because static_assert only takes
compile-time constant expressions. However, !!A && !!B does not warn.
Switch to !!A && !!B to silence the clang whining.
similar/main/collide.cpp:2566:63: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
static_assert(collision_result_t<OBJ_WALL, OBJ_ROBOT>::value && collision_result_t<OBJ_ROBOT, OBJ_WALL>::value, "OBJ_WALL" " " "OBJ_ROBOT");
2015-06-13 22:42:19 +00:00
Kp
420c2adee1
Simplify editor lighting
2015-06-13 22:42:19 +00:00
Kp
fe3dae1508
Use valptr for texpage highest_valid
2015-06-13 22:42:19 +00:00
Kp
994350f752
Use valptr for state highest_valid
2015-06-13 22:42:19 +00:00
Kp
b07704ef45
Use valptr for seguvs highest_valid
2015-06-13 22:42:19 +00:00
Kp
2154f8e442
Use valptr for segment highest_valid
2015-06-13 22:42:19 +00:00
Kp
f98e884fdf
Use valptr for paging highest_valid
2015-06-13 22:42:18 +00:00
Kp
94a86326b5
Use valptr for ogl highest_valid
2015-06-13 22:42:18 +00:00
Kp
a4d3c55fe4
Use valptr for object highest_valid
2015-06-13 22:42:18 +00:00
Kp
ac5d5b879a
Use valptr for newdemo highest_valid
2015-06-13 22:42:18 +00:00
Kp
4a8f836a3d
Use valptr for net_udp highest_valid
2015-06-13 22:42:18 +00:00
Kp
71e7432290
Use valptr for multibot highest_valid
2015-06-13 22:42:18 +00:00
Kp
546f361c5f
Use valptr for multi highest_valid
2015-06-13 22:42:18 +00:00
Kp
438a1a4bee
Use valptr for medwall highest_valid
2015-06-13 22:42:18 +00:00
Kp
c3ba75cd22
Use valptr for meddraw highest_valid
2015-06-13 22:42:18 +00:00
Kp
3d323dd194
Use valptr for lighting highest_valid
2015-06-13 22:42:17 +00:00
Kp
adcd8d7fa7
Use valptr for ksegsize highest_valid
2015-06-13 22:42:17 +00:00
Kp
fc46612114
Use valptr for kbuild highest_valid
2015-06-13 22:42:17 +00:00
Kp
41b71fd214
Use valptr for group highest_valid
2015-06-13 22:42:17 +00:00
Kp
bbb0b225b4
Use valptr for gameseq highest_valid
2015-06-13 22:42:17 +00:00
Kp
a8e1e504ef
Use valptr for gameseg highest_valid
2015-06-13 22:42:17 +00:00
Kp
3c748c2418
Use valptr for gamesave highest_valid
2015-06-13 22:42:17 +00:00
Kp
be34e5a959
Use valptr for gamemine highest_valid
2015-06-13 22:42:17 +00:00
Kp
1bbfe3e830
Use valptr for gamecntl highest_valid
2015-06-13 22:42:17 +00:00
Kp
8042d6c120
Use valptr for game highest_valid
2015-06-13 22:42:17 +00:00
Kp
9d5bc102ab
Use valptr for fuelcen highest_valid
2015-06-13 22:42:17 +00:00
Kp
3980c5d472
Use valptr for escort highest_valid
2015-06-13 22:42:16 +00:00
Kp
32f256311d
Use valptr for eobject highest_valid
2015-06-13 22:42:16 +00:00
Kp
b9d6c577be
Use valptr for endlevel highest_valid
2015-06-13 22:42:16 +00:00
Kp
742971711f
Use valptr for elight highest_valid
2015-06-13 22:42:16 +00:00
Kp
c5bd78f4bc
Use valptr for dumpmine highest_valid
2015-06-13 22:42:16 +00:00
Kp
a53a348f09
Use valptr for cntrlcen highest_valid
2015-06-13 22:42:16 +00:00
Kp
4c5ce566ef
Use valptr for automap highest_valid
2015-06-13 22:42:16 +00:00
Kp
cda5cb160c
Use valptr for aipath highest_valid
2015-06-13 22:42:16 +00:00
Kp
1f9650d402
Use valptr for ai highest_valid
2015-06-13 22:42:16 +00:00
Kp
9ecb8d8601
Use fwdvalptridx instead of inline forward declarations
2015-06-13 22:42:16 +00:00
Kp
286753d210
Fix valptridx operator& definition
2015-06-13 22:42:15 +00:00
Kp
9125ae32cd
Make objnum unsigned
2015-06-13 22:42:15 +00:00
Kp
61019b9dab
Refactor escort code to make it work under strict checks
2015-06-13 22:42:15 +00:00
Kp
678f462c45
Fix buggy guidebot detection of retrieving a key
2015-06-13 22:42:15 +00:00
Kp
00c1429ebf
Use enum for Escort_special_goal
2015-06-13 22:42:15 +00:00
Kp
148c0f44c8
Convert segnum_t to uint16_t
2015-06-13 22:42:15 +00:00
Kp
fcaacaebde
Factor out valptridx test for *_none
2015-06-13 22:42:15 +00:00
Kp
8358dfcd0b
Support biased pointers to help memory debuggers
2015-06-13 22:42:15 +00:00
Kp
513e7c05e9
Remove force-free of "leaked" memory in mem_display_blocks
...
mem_display_blocks runs before global destructors, so it reports as
leaked any memory which is managed by a global scope object with a
destructor. If mem_display_blocks calls mem_free, and the destructor
later calls mem_free, a double-free results, and usually leads to a
crash. Even if the memory were actually leaked, freeing it does not
help because the program will exit soon anyway.
Reported-by: zico <https://github.com/dxx-rebirth/dxx-rebirth/issues/85 >
2015-06-12 02:54:53 +00:00
Kp
d5b5846657
Fix serial *_type -fno-inline build
2015-06-11 03:06:58 +00:00
Kp
5124c510f8
Fix serial endian_access -fno-inline build
2015-06-11 03:06:58 +00:00