Commit Graph
126 Commits
Author SHA1 Message Date
Echelon9 b9b2517623 PVS-Studio fix (courtesy of niffiwan): V568It's odd that the argument of sizeof() operator is the '(short) method' expression. 2011-09-05 12:49:37 +00:00
Echelon9 66cc873369 Documentation: A few documentation fixes 2011-09-03 09:06:00 +00:00
The_E 6e17a7f6ae PVS Studio related: Mark false alarms as such. 2011-08-30 17:46:49 +00:00
Goober5000 6f45a96d38 add fire-beam-at-coordinates, which is as awesome as it sounds 2011-08-30 07:29:57 +00:00
Goober5000 6a65e3cb11 waypoints and waypoint paths now have dynamic limits 2011-08-30 03:35:42 +00:00
Echelon9 98a9293520 PVS-Studio: Fix V805. Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) > 0' construct 2011-08-24 13:37:01 +00:00
Goober5000 931bdab721 add an option to fire-beam to force the beam to fire
combine fighter_beam flag into flags field
2011-08-21 01:11:24 +00:00
Echelon9 052020fb45 PVS-Studio: The '&' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '&&' operator. In process_event_update_packet() 2011-08-11 14:56:43 +00:00
Echelon9 12beca93ba PVS-Studio fix: No need to set sinfo variable again immediately after first assignment to a different value in send_secondary_fired_packet() 2011-08-10 13:51:31 +00:00
Goober5000 ee0bfbaec2 rename subsystem type fields so as to better distinguish them
some consistency checks
add "no aggregate" flag to exclude a subsystem from aggregate hitpoint calculations
2011-02-14 08:33:23 +00:00
Zacam 6b122a7973 Karajorma's "Clean up" code. (Not for credit, but because I'm trying to reduce the "open" number of "Code Reviews" so that we don't get too backlogged with them)
http://www.hard-light.net/forums/index.php?topic=74066.0
2011-02-03 07:41:16 +00:00
Echelon9 c2d5e5edd5 Clean up up logic check on packet length overrun 2010-12-12 01:08:10 +00:00
Goober5000 d856d71ffc revert Echelon9's commit 6754 which needs to be discussed first 2010-11-23 08:27:18 +00:00
Echelon9 b8767484a8 Fix a range of potential NULL dereferences 2010-11-20 12:22:03 +00:00
karajorma 04939a6084 Switch to using the Macros for Multiplayer modes whenever possible. 2010-04-27 13:42:59 +00:00
karajorma f1a22aafb5 Packet breaking fix for Mantis 2011 (Send-Message-List sends all messages at once for clients). 2010-02-06 11:19:31 +00:00
portej05 6bc7f30d78 safe_strings - from Antipodes build #1 2009-07-27 16:06:24 +00:00
karajorma 9bd007c1ff Allow clients to pass variable changes to the server (when using lua). 2009-07-06 10:04:19 +00:00
portej05 2a09ecc89b The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
I've tested this through compiling and through hand checking. 
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
Wanderer 78aedf81ae merge from wanderer branch - alt iff colors 2009-05-19 21:17:48 +00:00
karajorma 5f42bb2cb3 Allow multi-docking in multiplayer. 2009-05-16 16:29:41 +00:00
karajorma 4136560308 Commit the SEXP packet code.
Add the set-respawns SEXP.
2009-05-15 18:32:46 +00:00
karajorma 6ef587ed1a Allow players to filter who they send messages to when using the chatbox 2009-05-12 21:30:17 +00:00
karajorma 69e6cdaf7e Bit of a hack but it should stop the function from going over MAX_PACKET_SET_SIZE 2009-03-25 00:49:21 +00:00
karajorma 0e20fd8939 Fix Mantis 1661 (Ships leaving via the fighter bay don't disappear on multiplayer clients). 2009-03-17 20:28:41 +00:00
karajorma 55811201ea Fix multiplayer for Inferno builds. 2009-03-17 20:25:36 +00:00
karajorma 7b977c4fd3 Various fixes needed to allow multiplayer to use over 255 weapons. 2009-03-17 20:20:48 +00:00
karajorma d435d4d3c6 Fix Mantis 1486 (Pressing F4 crashes multiplayer) 2009-03-17 20:14:31 +00:00
karajorma 09616bc10c That should only be called once per mission. 2009-03-02 20:41:31 +00:00
Goober5000 b5aad67d77 being meticulous 2009-01-20 05:49:27 +00:00
karajorma 4530429c4f Mantis 1633 (No orders for player ships) appears to have been due to two different bugs. This should fix the one I missed earlier. 2009-01-04 17:10:51 +00:00
karajorma 98e4b9fc1d Fix a bug whereby initial orders were being ignored on the standalone. Maybe fix Mantis 1815 (Starting wings play dead on standalone). 2008-12-30 21:33:35 +00:00
karajorma 9eabed2772 Fix the Decline error message that crops up in multiplayer sometimes and get rid of the PAIN! entry in the log. 2008-11-14 09:15:19 +00:00
taylor edb2c41a53 make sure that a positive hull precentage doesn't hit 0 due to rounding error (Mantis #1720) 2008-11-11 00:59:19 +00:00
taylor 74ffc7face sync up to current FS2NetD code (fixes so many little problems/issues that it's not even funny) 2008-11-09 05:08:19 +00:00
taylor 6c6c8908ce fix bogus ml_printf strings
use ml_string over ml_printf where possible
remove newlines from ml_* calls, since it gets added already
2008-10-23 13:26:35 +00:00
taylor 23072c10c0 final part of the fighter beam fix; freaky as it is, it actually managed to not break anything :D (Mantis #1795) 2008-10-23 13:00:21 +00:00
taylor 8216e715f7 basic fixing for cmeasure handling over the network, not 100% without packet breaking though (Mantis #1098) 2008-10-23 04:47:41 +00:00
taylor a49e42134d fix for fighter beams in multi (Mantis #1795) 2008-10-14 16:57:23 +00:00
karajorma 5a97de45f0 Fix Mantis 1088 (Extra call to ai_do_objects_docked_stuff() )
Remove the banks_fired Assert. WMC is correct. We don't need it anyway.
2008-09-10 11:24:00 +00:00
karajorma 1071f03496 Fix Mantis 1545 & 1754 (Order SEXP doesn't work with wings or destroy subsystems properly)
Add the Query-Orders SEXP 
Deprecate the Order SEXP
2008-08-31 21:04:44 +00:00
WMCoolmon b6f607cd62 Fix for mantis 0001211 2008-08-30 11:04:12 +00:00
karajorma 7881ae8959 Add builtin messages for support ships back into TvT missions. 2008-08-10 10:37:20 +00:00
karajorma 972a6927cf Fix Mantis 1605 (Support ships are forever marked as abort on clients after initially called in).
Fix a bug where support messages were sent from the client and the server so they played twice.
2008-08-05 21:25:55 +00:00
taylor 5c586a856e remove old warning messages, that stuff should be added on an as-needed basis when debugging only 2008-05-03 04:47:51 +00:00
taylor 3082b39d84 make mission/campaign list dynamic (Mantis #1203) 2008-04-02 23:54:56 +00:00
taylor 68293d8c96 some minor mprintf() cleanup 2008-03-28 03:32:38 +00:00
taylor 11ca1ef4a8 move stable branch to the primary under trunk 2008-03-16 16:25:19 +00:00
taylor eb8c44c2a0 move HEAD to it's own dir under trunk 2008-03-16 16:21:11 +00:00
WMCoolmon c1a163b0f3 Add objectshield.h and include it in files that require it. 2008-03-15 20:46:07 +00:00