Commit graph

4215 commits

Author SHA1 Message Date
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 3756a27518 Use narrowly scoped loop variables in kconfig 2013-10-19 17:06:17 +00:00
Kp 852a4c7f4d Use enum weapon_type_t in more places 2013-10-19 17:06:16 +00:00
Kp f51e9e8cfc Fix ancient hxm memory leak 2013-10-19 17:03:11 +00:00
Kp fabed11b2f Fix ancient animbrush memory leak 2013-10-19 17:03:11 +00:00
Kp e436a5dc43 Use MALLOC for hoard reading 2013-10-19 17:03:11 +00:00
Kp 9f87b72a7d Remove unused SUPER_LASER_INDEX handling 2013-10-19 17:03:11 +00:00
Kp aaa720d4d7 Fix const-ness in load_text 2013-10-19 17:03:11 +00:00
Kp 643fdbc08b Fix const-ness in songs_play_file 2013-10-19 17:03:11 +00:00
Kp a36c7dee08 Remove unused argument to slew_reset_orient 2013-10-19 17:03:11 +00:00
Kp b84f99faf9 Use purpose_type consistently 2013-10-19 17:03:11 +00:00
Kp 6ad5761c66 Use CALLOC in listbox_draw 2013-10-19 17:03:11 +00:00
Kp 14d7c8cef4 Match MAX_SECRET_LEVELS_PER_MISSION type to N_secret_levels 2013-10-19 17:03:11 +00:00
Kp a9b21cbcee Use enum mle_loc consistently 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 743fe4cf0e Fix Descent display of primary weapon names 2013-10-09 01:54:12 +00:00
Kp 2bcc7bb371 Only create lasers for known weapon types 2013-10-09 01:54:12 +00:00
Kp 3adfb546af Mark some kconfig lengths unsigned 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 d21b7b7b6e Explicitly narrow GL floats for C++11 2013-10-09 01:54:12 +00:00
Kp 3dc0b88bc4 Add -Wno-sign-compare to CXXFLAGS. Much dxx code triggers otherwise 2013-10-09 01:54:12 +00:00
Kp cb0aa24210 Remove useless rewrite of kconfig title
Rewriting the title needlessly violates const correctness, and no caller
seems to actually pass the rewritten characters.
2013-10-08 02:38:22 +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 3caf739dc8 Simplify kconfig height calculation 2013-10-08 02:02:26 +00:00
Kp 2e5dfccd70 Simplify display embedded goody name 2013-10-08 02:02:26 +00:00
Kp 22f24ef783 Simplify guidebot marker name printing 2013-10-08 02:02:26 +00:00
Kp eb930f4875 Simplify robot name display 2013-10-08 02:02:26 +00:00
Kp 00f0fddabc Centralize handling of SysUsePlayersDir 2013-10-06 21:04:29 +00:00
Kp 740a190835 Move */main/playsave.c -> similar/main/playsave.c 2013-10-06 17:56:37 +00:00
Kp 7dd7d6704b Make write_player_file void 2013-10-06 17:56:37 +00:00
Kp 761d0661ea Remove obsolete control_type_dos,control_type_win
This causes the field mapped to control_type_win to always set to 0 on
save.  However, the value was never used during execution.
2013-10-06 17:56:37 +00:00
Kp a2fc216cf6 Restructure playsave.c for merging 2013-10-06 17:56:37 +00:00
Kp 15d93a8253 Move similar/main/dumpmine.c -> similar/main/dumpmine.cpp 2013-10-06 16:58:50 +00:00
Kp f92e234054 Move */main/dumpmine.c -> similar/main/dumpmine.c 2013-10-06 16:58:49 +00:00
Kp fa1b1a1217 Restructure dumpmine.c for merging 2013-10-06 16:20:00 +00:00
Kp 3c05b04629 Move similar/misc/args.c -> similar/misc/args.cpp 2013-10-05 23:16:52 +00:00
Kp 7af533bdf5 Move similar/mem/mem.c -> similar/mem/mem.cpp 2013-10-05 23:16:50 +00:00
Kp 3643530c03 Move similar/editor/fixseg.c -> similar/editor/fixseg.cpp 2013-10-05 23:11:39 +00:00
Kp 10eee6f84e Move similar/editor/eswitch.c -> similar/editor/eswitch.cpp 2013-10-05 23:11:39 +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 f1c4c5df62 Move similar/editor/eglobal.c -> similar/editor/eglobal.cpp 2013-10-05 23:07:32 +00:00
Kp c1faee1798 Move similar/editor/curves.c -> similar/editor/curves.cpp 2013-10-05 23:07:23 +00:00
Kp 21c9e11811 Move similar/editor/centers.c -> similar/editor/centers.cpp 2013-10-05 23:07:23 +00:00
Kp 4961f1b425 Move similar/editor/autosave.c -> similar/editor/autosave.cpp 2013-10-05 23:04:43 +00:00
Kp 42893d8618 Store cheat strings inline 2013-10-05 21:35:58 +00:00
Kp 53714438ca Use MALLOC for state screenshot 2013-10-05 21:35:58 +00:00