Commit graph

210 commits

Author SHA1 Message Date
Kp 74db12f880 Move similar/main/net_udp.c -> similar/main/net_udp.cpp 2012-11-11 22:12:51 +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 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 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 a9b21cbcee Use enum mle_loc consistently 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 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 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 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 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
Kp 3d3116d09f Use MALLOC for load_text addition 2013-10-05 21:35:58 +00:00
Kp ae8a70ac61 Use MALLOC for polygon reading 2013-10-05 21:35:58 +00:00
Kp 0fc7300ec4 Use MALLOC for newdemo_strip_frames 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 62a5d41a9c Move similar/main/hud.c -> similar/main/hud.cpp 2013-10-05 21:35:58 +00:00
Kp ff3e8bfd7e Move similar/main/hostage.c -> similar/main/hostage.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 8601ef255e Move similar/main/gameseg.c -> similar/main/gameseg.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 ec5fedfc04 Move similar/main/gamerend.c -> similar/main/gamerend.cpp 2013-10-05 21:35:58 +00:00