Echelon9
a248a37d58
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
Sushi
68b036a4af
Add "Fog Near Multiplier" and "Fog Far Multiplier" options for missions. Allows the FREDder to tweak distances at which ships fade out in a nebula.
2011-08-20 15:06:18 +00:00
Goober5000
570aaf88ae
change warnings to mprintfs
2011-08-14 08:42:50 +00:00
The_E
f8fef5c56f
Patch for Mantis 2326: Standalone server crashes when ship classes are changed in loadout.
...
I hope.
2011-06-25 08:03:52 +00:00
Goober5000
5fb4a6db18
add ability to set the duration of the ship death roll
2011-05-30 21:06:11 +00:00
The_E
72287264e3
FSF's fix for Mantis 2371 (Hotkey selection does not work for additional wings)
2011-04-04 14:48:27 +00:00
Goober5000
c6f40a74bb
finish patching subsystem comparison
2011-03-03 07:00:42 +00:00
Goober5000
315bd423dc
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
Goober5000
a5cd0f8de0
gaaaah, fix a whole bunch of bugs with the no-ets flag:
...
checkbox ui settings were incorrect
checkbox wasn't hooked into the event loop
resource #define's overlapped
FRED never saved the ship flag
ship flag did not have an equivalent parse flag
sexp(s) to modify ship flag did not use the existing ship flag sexp architecture
2011-02-07 09:08:39 +00:00
Goober5000
f570348ee2
--the behavior of cargo index -1 (which can only happen for capships) and cargo index 0 is substantially the same, so let's standardize on index 0... this prevents crazy stuff happening with bitwise operators on negative numbers :-/
...
--also, remove the restriction on capship cargo where ships must have the "scannable" flag
--because of the above constraints, "nothing" cannot be a meaningful subsys cargo, but then again, scanning a subsystem with "nothing" didn't do anything in the old code, so this doesn't change anything
2011-01-31 10:04:37 +00:00
Goober5000
eae11de29b
commit the "immobile" flag, requested by Black Wolf, Diaspora, etc. This is just the infrastructure; the flag doesn't actually do anything yet.
2011-01-30 08:19:17 +00:00
Sushi
b38fa48e7e
Add "starts locked" subsystem flag (that turret starts out locked by default and needs to be turret-freed before it will fire)
2011-01-22 00:44:44 +00:00
Goober5000
110cd3bccc
add turret-protect-ship and turret-unprotect-ship
2011-01-21 08:55:26 +00:00
Goober5000
2e7dea0018
set certain flags that used to be in ship_info via ship_set and change_ship_type, which is the correct thing to do, rather than in the middle of parsing, which was a red herring
...
(fixes Mantis #2169 )
2010-12-13 07:33:35 +00:00
Echelon9
ebc0d3b6f4
Fix: Local declaration of 'rship' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '6450'
2010-12-11 13:49:06 +00:00
The_E
7c58abb9eb
Fix for faulty check
2010-10-29 02:44:14 +00:00
The_E
e11fe6515a
Changing this sanity check to pop up a warning in FRED, but print to log in FS.
2010-10-26 22:56:58 +00:00
Goober5000
b8736c0c0b
sanity check +Team: values, because older versions of FRED saved crazy values like 1301728
2010-10-17 20:12:09 +00:00
karajorma
9bcf6d9521
Change Alt_Type into an int to fix a compiler warning.
...
Move the multi_sexp_ship_change_callsign function (Multi_ functions should sit directly below the server side function that calls them so that they can be updated at the same time).
2010-10-13 02:16:34 +00:00
Zacam
76c4083cbd
Warning Fix: for "set_special_explosion"
...
Corrects conversion of 'float' to 'int', by setting set_special_explosion related entries to 'float'
2010-10-06 19:18:38 +00:00
IssMneur
654be5a6e7
Removes the hard restriction (compile time) on the maximum number of "active" support ships per team. Controlled by an optional seventh argument to set-support-ship. Also fixes glitch where only "max concurrent ships" number of support ships would actually respond to support requests.
2010-09-21 05:16:23 +00:00
karajorma
d4e8bd4bf3
Fix Mantis 2278 (Adding a variable can mess up team loadout variables)
2010-09-15 00:50:28 +00:00
taylor
b287ecfef9
new sound code
...
- Mantis #58
- Mantis #1769
- many other fixes and improvements
2010-05-29 15:53:18 +00:00
karajorma
c07d555346
Genghis' fix for Mantis 2159 (Certain parsing errors are never reported)
2010-05-02 10:24:48 +00:00
karajorma
2f635ad879
Genghis' fix for Mantis 2157 (Invalid subsystems not properly detected on mission parse).
2010-05-02 06:00:50 +00:00
karajorma
a2afa2b67a
Switch to using the Macros for Multiplayer modes whenever possible.
2010-04-27 13:42:59 +00:00
karajorma
ca90928e08
Refactoring the Special Explosion and Special Hitpoints/Shield code and saving methods.
2010-03-10 08:50:28 +00:00
Goober5000
4efaaf4523
clarify difference between knossos warpin and warpout in the code -- this should fix Mantis #2128
...
"mabye" -> "maybe"
2010-02-15 11:01:29 +00:00
Zacam
ab17ff4d40
From The_E: "This adds the optional string "$End Campaign Cutscene:" to the list of possible cutscenes; once end-campaign is called, all of those scenes will be played if their requisite trigger conditions are met, in the order in which they are defined in the mission file".
2010-02-09 20:03:57 +00:00
Goober5000
407c670e74
fix mission load error message
...
remove deleted files from project
2009-12-30 21:04:00 +00:00
Goober5000
770095c84c
allow up to two additional fonts using fonts.tbl
...
allow specification of fiction viewer font
2009-12-30 08:02:37 +00:00
Goober5000
554de8e375
warning fixage
2009-11-23 03:41:40 +00:00
portej05
7e65e47acc
Fix for issues caused by memset and _HAS_ITERATOR_DEBUGGING.
...
Some ugliness involved (placement new - yuck!), however given that a lot of our structures are allocated with vm_malloc, I haven't got a better way around this at present.
2009-11-13 18:06:27 +00:00
Goober5000
9c85ac2835
fix Mantis #1967 (spurious warning about custom wing names)
2009-11-13 08:26:12 +00:00
karajorma
38682babc3
Fix Max Respawn Delay properly.
2009-11-02 02:21:42 +00:00
Goober5000
fbcb83b9db
fix FRED choking on respawn delay by making it default to 0 instead of -1; this does not appear to break anything
2009-11-01 09:51:36 +00:00
Sushi
6542269c77
Fix decade-old AI class bug... including AI_Profiles.tbl flag ($fix AI class bug) to avoid breaking retail compatibility.
2009-09-24 20:40:56 +00:00
Goober5000
e516f97d49
improved some retarded setup code in aicode.cpp
...
moved create_waypoints() into waypoints.cpp and called it at mission post-process
2009-09-20 08:30:50 +00:00
karajorma
c81d8fdeec
Add the option to set a maximum delay before a player is automatically respawned in multiplayer games.
2009-09-15 13:43:13 +00:00
portej05
6a1d3d3862
Flaming_Swords Interface Fixes "fixed popup dialog button errors"
2009-08-14 15:42:19 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
chief1983
a1699f9edd
Port from 3.6.10 branch of fix for dropping issues in the mod warning system, r5458.
2009-07-18 21:34:31 +00:00
karajorma
ee761c8dfc
GUI and mission saving stuff for Chief's Force-Shields-On Parse flag.
2009-07-17 21:18:22 +00:00
karajorma
1e80a663af
Make messages dynamic.
2009-07-11 17:40:46 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
karajorma
7d08f2fecb
Add the Trigger Count setting to allow events to repeat a certain number of times rather than simply be tested as with Repeat Count.
2009-06-20 11:27:50 +00:00
portej05
719825f80d
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
chief1983
87fa567516
Whoops.
2009-06-11 04:30:13 +00:00
chief1983
5bd74f4ab3
intrinsic no shields flag for ships.
...
force-shields-on p_obj flag for mission ship object (overrides intrinsic no shields, don't use with no shields).
No FRED checkbox yet for force-shields-on yet.
2009-06-10 20:19:01 +00:00
karajorma
8bdc2c1a9f
Portej05's second set of preFAST fixes.
2009-05-24 21:38:22 +00:00