Kp
|
335cabcc79
|
Use con_puts instead of con_printf where possible
|
2013-12-17 04:03:34 +00:00 |
|
Kp
|
38a5c03d5d
|
Add type checking for newmenu_listbox
|
2013-12-17 03:58:17 +00:00 |
|
Kp
|
be041a9cfc
|
Add type checking for ui_create_dialog
|
2013-12-17 03:49:24 +00:00 |
|
Kp
|
d1fa9ff7a6
|
Simplify setup for ui_messagebox_n
|
2013-12-15 21:54:59 +00:00 |
|
Kp
|
92e8cb7a31
|
Add type checking to newmenu subfunction userdata
|
2013-12-15 21:54:38 +00:00 |
|
Kp
|
3908215e73
|
Add type checking to nm_messagebox format string
|
2013-12-15 21:54:17 +00:00 |
|
Kp
|
5d306d06be
|
Switch endlevel message dialog not to use nm_messagebox1
|
2013-12-15 19:00:59 +00:00 |
|
Kp
|
3fb0ffa19b
|
Add typedef for newmenu subfunction
|
2013-12-15 18:57:54 +00:00 |
|
Kp
|
cea46651fc
|
Check type of window handler function
|
2013-12-15 18:51:26 +00:00 |
|
Kp
|
f05b6f0008
|
Use on-stack bit array for tracking AI segment visits
|
2013-12-15 18:50:39 +00:00 |
|
Kp
|
7088720507
|
Use C++ array for Automap_visited
|
2013-12-15 18:46:42 +00:00 |
|
Kp
|
2ce15e5703
|
Remove unused extern object variables
|
2013-12-15 01:59:05 +00:00 |
|
Kp
|
ddffec01c7
|
Use enum for multi_send_msgsend_state values
|
2013-12-15 01:52:13 +00:00 |
|
Kp
|
6779dc4991
|
Remove unused command MULTI_DROP_ORB
|
2013-12-15 01:45:19 +00:00 |
|
Kp
|
00a9ca2423
|
Remove unused MULTI_PLAY_BY_PLAY
The sending function has been disabled since Bazaar import.
|
2013-12-15 01:45:19 +00:00 |
|
zico
|
ec516b5675
|
Disable powerup capping for cooperative game mode as it potentially deletes weapons carried over from another level
|
2013-12-14 02:53:45 +01:00 |
|
Kp
|
cb4fd7c1b4
|
Compact known file extension storage
|
2013-12-13 03:58:01 +00:00 |
|
Kp
|
4dfceab50b
|
Factor out file extension filtering
|
2013-12-13 03:51:14 +00:00 |
|
Kp
|
2bd302cddd
|
Move Controls ubyte values into substructure
|
2013-12-13 03:47:57 +00:00 |
|
Kp
|
07877853ba
|
Use static_assert where available
|
2013-12-13 03:44:02 +00:00 |
|
zico
|
e195290fe4
|
Added quick load ability for savestates
|
2013-12-10 18:13:32 +01:00 |
|
zico
|
dae83f9edc
|
Set PPS limits from 5 to 40
|
2013-12-09 14:25:32 +01:00 |
|
zico
|
2e407fa5a8
|
Removed short packets and added segment number to quaternion structure
|
2013-12-09 14:00:23 +01:00 |
|
Kp
|
322c61ef01
|
Remove use of heap-based splitword
|
2013-12-08 21:43:53 +00:00 |
|
Kp
|
b7fe431979
|
Use RAII for playsave strings
|
2013-12-08 21:02:10 +00:00 |
|
Kp
|
3b9b5ebfb0
|
Use RAII to manage function-local heap objects
|
2013-12-08 19:04:52 +00:00 |
|
Kp
|
38e92ddce0
|
Remove useless __pack__ on PlayerCfg
|
2013-12-08 00:15:13 +00:00 |
|
Kp
|
141ead1830
|
Move ramped controls into template structure
|
2013-12-07 21:13:37 +00:00 |
|
Kp
|
75c229c6bf
|
Normalize con_printf newline usage
|
2013-12-07 21:13:37 +00:00 |
|
Kp
|
61d8fe7cc8
|
Remove unused return value of gr_*printf / gr_*string
|
2013-12-07 18:44:07 +00:00 |
|
Kp
|
60727dd7d5
|
Add missing va_end calls
|
2013-12-07 18:42:50 +00:00 |
|
Kp
|
c3dd634cce
|
Remove unused flag OF_HARMLESS
|
2013-12-07 18:41:35 +00:00 |
|
Kp
|
706b458699
|
Mark PHYSFSX_find* functions nonnull
|
2013-12-07 18:40:32 +00:00 |
|
Kp
|
a2cec5d71f
|
Switch PHYSFSX_fgets to auto-sized variant where possible
|
2013-12-07 18:39:19 +00:00 |
|
Kp
|
7f5410cc8b
|
Use lengthof instead of sizeof(A)/sizeof(A[0])
The latter form can accept pointers, but the template lengthof cannot.
|
2013-12-07 18:38:10 +00:00 |
|
Kp
|
babbe8e9e6
|
Move */arch/carbon -> common/arch/carbon
|
2013-12-06 03:58:10 +00:00 |
|
Kp
|
18bf9b94ea
|
Move */arch/cocoa -> common/arch/cocoa
|
2013-12-06 03:57:18 +00:00 |
|
Kp
|
9de54cfa74
|
Switch to C++ linkage
import fileinput
guard = 0
cxxguard = '#ifdef __cplusplus\n'
for line in fileinput.input(inplace=True):
if line == cxxguard:
guard = 1
continue
if guard:
if line == 'extern "C" {\n':
guard = 2
continue
if line == '}\n':
guard = 0
continue
if guard == 2:
assert(line == '#endif\n')
guard = 0
print cxxguard,
continue
print line,
|
2013-12-06 03:35:32 +00:00 |
|
Kp
|
eb84a067fa
|
Remove now unused fgets_unlimited
|
2013-12-06 03:28:59 +00:00 |
|
Kp
|
3620392f56
|
Remove unused nm_messagebox_fixedfont
|
2013-12-06 00:24:07 +00:00 |
|
Kp
|
91b57e52c3
|
Mark ui_messagebox button strings const
|
2013-12-06 00:24:07 +00:00 |
|
Kp
|
1d3395cad1
|
Improve strlen usage
|
2013-12-06 00:24:07 +00:00 |
|
zico
|
7b0bda3302
|
Merge branch 'unification/master' of github.com:dxx-rebirth/dxx-rebirth into unification/master
|
2013-12-05 13:39:53 +01:00 |
|
Drakona
|
04d84ae61d
|
Pass shot orientation with each weapon packet
|
2013-12-05 13:11:49 +01:00 |
|
Kp
|
be0e9f5162
|
Use d_strdup for ui_add_gadget_button
|
2013-12-05 00:10:35 +00:00 |
|
Kp
|
accaef2ecb
|
Remove unused REMOVE_EOL macro in keypad.cpp
It conflicts with pre-compiled headers.
|
2013-12-05 00:08:58 +00:00 |
|
Kp
|
18aea17f9e
|
Move */main/fireball.c -> similar/main/fireball.c
|
2013-12-02 00:21:31 +00:00 |
|
Kp
|
2ac98f7269
|
Move */main/gamemine.c -> similar/main/gamemine.c
|
2013-12-01 23:55:29 +00:00 |
|
Kp
|
38832fd1af
|
Restructure gamemine.c for merge
|
2013-12-01 23:52:27 +00:00 |
|
Kp
|
2d01f3a649
|
Optimize references to player ship
|
2013-12-01 22:53:25 +00:00 |
|
Kp
|
74ac85076f
|
Store joystick button text in one allocation
|
2013-12-01 22:42:47 +00:00 |
|
Kp
|
5354d05fbf
|
Store joystick axis text in one allocation
|
2013-12-01 22:42:47 +00:00 |
|
Kp
|
25c731cc2c
|
Probe for usable array template
|
2013-12-01 22:42:47 +00:00 |
|
Kp
|
d3637e7524
|
Invert sense of SysUseNiceFPS
|
2013-12-01 22:37:21 +00:00 |
|
Kp
|
d626b6c3d4
|
Add include guard to kdefs.h
|
2013-12-01 00:53:22 +00:00 |
|
Kp
|
08efe14586
|
Remove unused Laser_player_fire parameter harmless_flag
|
2013-11-28 02:12:13 +00:00 |
|
Kp
|
3e2c0b5e1b
|
Switch multi_allow_powerup_text to [][] from *[]
|
2013-11-28 02:09:30 +00:00 |
|
Kp
|
5d1769cd2c
|
Switch RankStrings to be [][14] instead of *[]
Saves 10 .rel.ro entries and 6 bytes on x86 / 46 bytes on x64.
|
2013-11-28 02:08:54 +00:00 |
|
Kp
|
6439e41e3a
|
Store SDL key name inline
|
2013-11-28 00:52:37 +00:00 |
|
Kp
|
86c49079a1
|
Move rod_points onto stack
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
c47d1b3d30
|
Move lrgb_list onto stack
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
86a6f4b18b
|
Mark rod.cpp uvl_list[] static
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
541961a2f7
|
Make Object_type_names const
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
386c193cae
|
Make med_functions const
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
68732756e8
|
Make Wall_names const
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
cbc46e343d
|
Remove unused MULTI_ANGER
|
2013-11-24 23:11:30 +00:00 |
|
Kp
|
a65d774c83
|
Improve packing of struct segment
Shrinks Segments[] by 36000 bytes.
|
2013-11-24 23:08:32 +00:00 |
|
Kp
|
c70c6c98b3
|
Remove obsolete segment::degenerated flag
Shrinks Segments[] by 36000 bytes.
|
2013-11-24 23:08:32 +00:00 |
|
Kp
|
e30f548d60
|
Invert sense of DbgAltTexMerge
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
761795e4c8
|
Invert sense of DbgBigPig
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
3b49e65f95
|
Invert sense of DbgUseDoubleBuffer
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
bbb9214e0e
|
Invert sense of hires/lowres options
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
8899120312
|
Remove SndDisableSdlMixer when mixer=0
|
2013-11-24 22:57:36 +00:00 |
|
Kp
|
6be79cadce
|
Unify ai_follow_path
|
2013-11-23 22:41:01 +00:00 |
|
Kp
|
7a9db6716a
|
Make ready_to_fire static
|
2013-11-18 04:51:33 +00:00 |
|
Kp
|
f4cbfca8e2
|
Use helper to test for thief flag
|
2013-11-18 04:51:33 +00:00 |
|
Kp
|
dc72fb5932
|
Use player_awareness_type_t for create_awareness_event
|
2013-11-18 04:51:33 +00:00 |
|
Kp
|
6becfdacca
|
Remove NUM_DXX_REBIRTH_CONTROLS
|
2013-11-18 00:54:59 +00:00 |
|
Kp
|
a842b31a20
|
Remove NUM_MOUSE_CONTROLS
|
2013-11-18 00:54:59 +00:00 |
|
Kp
|
04b0bd892d
|
Remove NUM_JOYSTICK_CONTROLS
|
2013-11-18 00:54:59 +00:00 |
|
Kp
|
bf7063080e
|
Remove NUM_KEY_CONTROLS
|
2013-11-18 00:54:59 +00:00 |
|
Kp
|
c3d328ea5c
|
Use helper to test for guidebot flag
|
2013-11-16 23:24:12 +00:00 |
|
Kp
|
d0514455b3
|
Use automap_state instead of automap_count
|
2013-11-16 23:24:12 +00:00 |
|
Kp
|
321e240744
|
Use rear_view_state instead of rear_view_count
|
2013-11-16 23:24:12 +00:00 |
|
Kp
|
cda0b60687
|
Remove unused fire_secondary_count
|
2013-11-16 23:24:12 +00:00 |
|
Kp
|
494c380abb
|
Switch automap to use fire_primary_state
Counting is unnecessary here.
|
2013-11-16 23:24:12 +00:00 |
|
Kp
|
1312369c94
|
Restructure ai.c for merging
|
2013-11-16 23:20:30 +00:00 |
|
Kp
|
e2a2cc579a
|
Remove unused piggy_dump_all
|
2013-11-10 19:08:12 +00:00 |
|
Kp
|
9b167689ba
|
Remove unused variable joy_num_axes
|
2013-11-09 05:08:37 +00:00 |
|
Kp
|
ce929926e8
|
Remove duplicate warning on excess joystick axes
|
2013-11-08 03:14:44 +00:00 |
|
Kp
|
f11e787ef3
|
Use helper for bounding check
|
2013-11-08 03:14:44 +00:00 |
|
Kp
|
ed8484f096
|
Remove unnecessary packing on vms_vector
|
2013-11-08 03:14:43 +00:00 |
|
Kp
|
6e6b480082
|
Use enum for weapon types
|
2013-11-02 04:26:51 +00:00 |
|
Kp
|
6fc8d110f3
|
Only give secondaries that exist
|
2013-11-02 04:25:33 +00:00 |
|
Kp
|
58958e091b
|
Only give primaries that exist
|
2013-11-02 04:24:14 +00:00 |
|
Kp
|
2714679284
|
Mark private functions static
|
2013-11-02 04:23:55 +00:00 |
|
Kp
|
9dec31d801
|
Remove unused vms_svec
|
2013-11-01 02:58:05 +00:00 |
|
Kp
|
663d81cc8f
|
Remove unused function med_rotate_segment_ang
|
2013-10-29 03:24:43 +00:00 |
|
Kp
|
be777c78a3
|
Remove unused function med_copy_segment
|
2013-10-29 03:24:43 +00:00 |
|
Kp
|
765f34eb0a
|
Remove unused function med_check_all_vertices
|
2013-10-29 03:24:42 +00:00 |
|
Kp
|
aa7f36e3b7
|
Provide HUD prototypes in Descent 1
|
2013-10-29 03:24:42 +00:00 |
|
Kp
|
50392e9a3c
|
Mark OpenGL loader functions static
|
2013-10-29 03:24:42 +00:00 |
|
Kp
|
68e936b809
|
Disable Parallax AI path debug printing
|
2013-10-29 03:24:41 +00:00 |
|
Kp
|
4fcf34fdbb
|
Make create_weapon_object static
|
2013-10-28 04:16:45 +00:00 |
|
Kp
|
19fef0a51d
|
Simplify full_palette_save calls
|
2013-10-28 04:16:44 +00:00 |
|
Kp
|
685c3fd8e7
|
Fix Win64 build errors due to pointer casting
|
2013-10-28 04:14:20 +00:00 |
|
Kp
|
8ed99faf5c
|
Make headers freestanding
|
2013-10-26 03:50:28 +00:00 |
|
Kp
|
9e1c33cca3
|
Rename struct _grs_* to struct grs_* for consistency
|
2013-10-26 03:50:28 +00:00 |
|
Kp
|
fdd2dd65c7
|
Use underlying type for state_game_id
This avoids the need for a header to declare it.
|
2013-10-26 03:50:27 +00:00 |
|
Kp
|
a6b1bd58a2
|
Use MALLOC consistently
|
2013-10-26 03:50:27 +00:00 |
|
Kp
|
980621b9d4
|
Move similar/editor/med.c -> similar/editor/med.cpp
|
2012-11-17 06:14:09 +00:00 |
|
Kp
|
7de558490f
|
Move similar/editor/kfuncs.c -> similar/editor/kfuncs.cpp
|
2012-11-17 06:14:09 +00:00 |
|
Kp
|
65b809b218
|
Move similar/editor/info.c -> similar/editor/info.cpp
|
2012-11-17 06:14:09 +00:00 |
|
Kp
|
f95d401926
|
Move similar/editor/group.c -> similar/editor/group.cpp
|
2012-11-17 06:14:09 +00:00 |
|
Kp
|
3693743d41
|
Move similar/main/mission.c -> similar/main/mission.cpp
|
2013-10-20 22:49:12 +00:00 |
|
Kp
|
e663767201
|
Move similar/main/menu.c -> similar/main/menu.cpp
|
2013-10-20 22:49:12 +00:00 |
|
Kp
|
cf2c153c77
|
Move similar/main/kmatrix.c -> similar/main/kmatrix.cpp
|
2013-10-20 22:49:11 +00:00 |
|
Kp
|
1d073475e7
|
Mark various headers for C linkage
|
2013-10-20 22:49:11 +00:00 |
|
Kp
|
5b0c4b10ac
|
Use accessor for most get/set object->id accesses
|
2013-10-20 22:49:09 +00:00 |
|
Kp
|
852a4c7f4d
|
Use enum weapon_type_t in more places
|
2013-10-19 17:06:16 +00:00 |
|
Kp
|
14d7c8cef4
|
Match MAX_SECRET_LEVELS_PER_MISSION type to N_secret_levels
|
2013-10-19 17:03:11 +00:00 |
|
Kp
|
24ac83d88c
|
Make PLAYER_DIRECTORY_STRING work in C++
|
2013-10-19 17:03:11 +00:00 |
|
Kp
|
2bcc7bb371
|
Only create lasers for known weapon types
|
2013-10-09 01:54:12 +00:00 |
|
Kp
|
a8050a462f
|
Only fire valid level lasers
|
2013-10-09 01:54:12 +00:00 |
|
Kp
|
553dc95b05
|
Use helper to check for laser type weapons
|
2013-10-09 01:54:12 +00:00 |
|
Kp
|
798774294f
|
Use weapon_type_t for Laser_create_new* weapon type
|
2013-10-08 02:10:18 +00:00 |
|
Kp
|
bd46b7ea73
|
Make CONTROLCEN_WEAPON_NUM a weapon_type_t member
|
2013-10-08 02:07:39 +00:00 |
|
Kp
|
00f0fddabc
|
Centralize handling of SysUsePlayersDir
|
2013-10-06 21:04:29 +00:00 |
|
Kp
|
7dd7d6704b
|
Make write_player_file void
|
2013-10-06 17:56:37 +00:00 |
|
Kp
|
fa1b1a1217
|
Restructure dumpmine.c for merging
|
2013-10-06 16:20:00 +00:00 |
|
Kp
|
2dddf084e0
|
Move similar/editor/eobject.c -> similar/editor/eobject.cpp
|
2013-10-05 23:10:44 +00:00 |
|
Kp
|
57a0b23ae4
|
Move similar/editor/elight.c -> similar/editor/elight.cpp
|
2013-10-05 23:09:01 +00:00 |
|
Kp
|
21c9e11811
|
Move similar/editor/centers.c -> similar/editor/centers.cpp
|
2013-10-05 23:07:23 +00:00 |
|
Kp
|
e73205faac
|
Use enum for player awareness types
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
bd467b4140
|
Move similar/main/inferno.c -> similar/main/inferno.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
9c65aa3cc5
|
Move similar/main/gauges.c -> similar/main/gauges.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
4db024f953
|
Move similar/main/gamesave.c -> similar/main/gamesave.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
06c83c9393
|
Move similar/main/gamecntl.c -> similar/main/gamecntl.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
d656bd4115
|
Move similar/main/game.c -> similar/main/game.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
782372d6b8
|
Move similar/main/effects.c -> similar/main/effects.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
c7e34f5330
|
Move similar/main/digiobj.c -> similar/main/digiobj.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
f4393ca1b6
|
Move similar/main/credits.c -> similar/main/credits.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
ba4b87d44a
|
Move similar/main/controls.c -> similar/main/controls.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
b1dbeb6199
|
Move similar/main/config.c -> similar/main/config.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
64350f83b8
|
Move similar/main/cntrlcen.c -> similar/main/cntrlcen.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
584fc93f34
|
Move similar/main/automap.c -> similar/main/automap.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
e5ee9b72f1
|
Move similar/main/aipath.c -> similar/main/aipath.cpp
|
2013-10-05 21:35:58 +00:00 |
|
Kp
|
b4107e6526
|
Remove duplicate declarations
|
2013-10-03 03:11:52 +00:00 |
|
Kp
|
c58c4e4d06
|
Move declarations to headers
|
2013-10-03 03:11:52 +00:00 |
|
Kp
|
f9899a9f20
|
Mark various functions static
|
2013-10-03 03:11:51 +00:00 |
|