Commit graph

4240 commits

Author SHA1 Message Date
Kp 23681b5143 Move similar/main/playsave.c -> similar/main/playsave.cpp 2012-11-11 22:12:51 +00:00
Kp 00af0206ea Move similar/main/player.c -> similar/main/player.cpp 2012-11-11 22:12:51 +00:00
Kp dcb2792aac Move similar/main/physics.c -> similar/main/physics.cpp 2012-11-11 22:12:51 +00:00
Kp 74ec056b43 Move similar/main/paging.c -> similar/main/paging.cpp 2012-11-11 22:12:51 +00:00
Kp 7f334859ae Move similar/main/object.c -> similar/main/object.cpp 2012-11-11 22:12:51 +00:00
Kp 9b9b373b71 Move similar/main/newmenu.c -> similar/main/newmenu.cpp 2012-11-11 22:12:51 +00:00
Kp 636e78fd22 Move similar/main/newdemo.c -> similar/main/newdemo.cpp 2012-11-11 22:12:51 +00:00
Kp 74db12f880 Move similar/main/net_udp.c -> similar/main/net_udp.cpp 2012-11-11 22:12:51 +00:00
Kp 64e6700528 Rename replacement new for C++ compatibility 2013-10-20 22:34:40 +00:00
Kp 8bd98e27c4 Remove unused ksegsize.c 2013-10-20 22:33:30 +00:00
Kp 17557fb63b Use CALLOC for hashtable_init 2013-10-20 02:36:16 +00:00
Kp ed0bc808f5 Fix memory leak on realloc failure in PHYSFSX_* 2013-10-20 02:34:43 +00:00
Kp b14390c021 Reorder copy_file to calm Visual Studio warning
Visual Studio code flow analysis fails to recognize that buf is always
assigned at least once.  Reorder the logic to encourage it to recognize
this.
2013-01-20 22:26:33 +00:00
Kp c0552c0dfa Add realloc casts 2013-10-06 03:05:57 +00:00
Skywing 8f112d669c sendto and recvfrom take a char* and not void* on Win32. 2013-10-20 22:49:57 +00:00
Kp 375ac66b2f Move similar/main/multibot.c -> similar/main/multibot.cpp 2013-10-20 22:49:12 +00:00
Kp 3855291457 Move similar/main/multi.c -> similar/main/multi.cpp 2013-10-20 22:49:12 +00:00
Kp a5f95cab76 Move similar/main/morph.c -> similar/main/morph.cpp 2013-10-20 22:49:12 +00:00
Kp 3693743d41 Move similar/main/mission.c -> similar/main/mission.cpp 2013-10-20 22:49:12 +00:00
Kp 9fb22a8be0 Move similar/main/mglobal.c -> similar/main/mglobal.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 d3ddb816f1 Move similar/main/lighting.c -> similar/main/lighting.cpp 2013-10-20 22:49:11 +00:00
Kp 7bd8ab3af1 Move similar/main/laser.c -> similar/main/laser.cpp 2013-10-20 22:49:11 +00:00
Kp cf2c153c77 Move similar/main/kmatrix.c -> similar/main/kmatrix.cpp 2013-10-20 22:49:11 +00:00
Kp ba7950d3d5 Move similar/main/kconfig.c -> similar/main/kconfig.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 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