Goober5000
b1ac0876d4
add no-disabled-self-destruct ship flag
...
Normally, ships whose weapons or engines subsystems are destroyed will
self-destruct after 90 seconds if they are part of a wing (see
ai_maybe_self_destruct). This adds a ship flag to prevent that from
happening.
2015-12-20 23:12:59 -05:00
Goober5000
8a125ab019
remove obsolete const_casts
2015-10-28 00:18:31 -04:00
MageKing17
69ab8c179d
Merge pull request #357 from Goober5000/fiction_viewer_conditional_support
...
Fiction viewer conditional support
2015-09-23 16:14:46 -07:00
Goober5000
c90db8c498
Merge pull request #314 from MageKing17/cleanup/fred-save-refactor
...
Refactor mission saving to avoid duplicate code.
2015-09-22 21:19:23 -04:00
Goober5000
3df6bb82db
add basic conditional support to fiction viewer stages
2015-09-22 20:17:31 -04:00
Yarn366
484be09275
Added support for custom fiction viewer backgrounds. Also moved the $UI parameter so it occurs just before the $File parameter.
2015-09-20 15:59:29 -04:00
Yarn366
873694eae2
Added unified functions for loading and saving custom UI backgrounds
2015-09-19 04:47:11 -04:00
Yarn366
f0c0d60a11
Fiction viewer UI can now be set in mission files and game_settings.tbl
2015-09-18 21:51:24 -04:00
Yarn366
0af93bcceb
Fixed attempts to access current debriefing as an array when saving the debriefing background
2015-09-16 14:24:59 -04:00
Yarn366
9cb1af00aa
Added support for custom command briefing backgrounds
2015-09-16 14:06:15 -04:00
Yarn366
4ef212157a
Briefing backgrounds are now set with $briefing_background_xxx instead of $background_xxx
2015-09-16 02:17:53 -04:00
Yarn366
3bb9b0068c
Added support for custom debriefing backgrounds
2015-09-16 01:32:57 -04:00
Yarn366
09aa01db6b
Added support for custom weapon select backgrounds
2015-09-16 00:14:54 -04:00
Yarn366
36cc228527
Added support for custom ship select backgrounds
2015-09-15 23:49:43 -04:00
MageKing17
3329285192
Refactor mission saving to avoid duplicate code.
...
Makes save_mission_file() and autosave_mission_file() delegate to a new save_mission_internal() function. Tested and works with both manual and automatic saves.
As an aside, this fixes a slight inconsistency between manual and automatic saving (which inspired this refactor in the first place): when the order of save_fiction() and save_cutscenes() was swapped (in r10886 a.k.a. d6e0a73 ), autosave_mission_file() wasn't also changed, so autosaves of missions with "#Cutscenes" sections can't actually be loaded.
2015-09-10 13:34:57 -07:00
Goober5000
05d4e44c97
mjn.mixael's request for per-mission briefing backgrounds; see http://www.hard-light.net/forums/index.php?topic=90337.0
2015-08-27 01:22:14 -04:00
Goober5000
4f53f07681
minor modifications to mission cutscenes: change cutscene_name field to filename, because it's actually the filename of the cutscene make struct a plain old data object (no constructor) make parsing a little tidier, and make the SEXP formula and closing #end tag optional
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11213 387891d4-d844-0410-90c0-e4c51a9137d3
2015-01-14 17:29:43 +10:00
MageKing17
e604125e5d
Minor followup to r11150.
...
The regular parsing code not using the same broken logic as parse_comments() is not the same thing as it "ignoring" too high versions, and searching for repetitions of the same token would result in just finding the first one over and over again (the likelihood of this actually mattering to anyone is minuscule, but I needed something to test commit access, and this code has been tested).
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11167 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-30 13:23:58 +10:00
Goober5000
6cc96ce0c5
MageKing17 has done yeoman's work in fixing the version-specific commenting system. Thanks, MageKing17!
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11150 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-17 18:25:40 +10:00
m_m
9689711149
From FUBAR-BDHR, chief1983, m!m and MageKing17: Fix for Mantis 2887: Additional workaround for mantis 2693
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10969 387891d4-d844-0410-90c0-e4c51a9137d3
2014-08-06 19:39:34 +10:00
The_E
d6e0a731db
From MageKing17: Patch for Mantis 3074: Correct mismatch between mission write and mission parse
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10886 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-14 19:02:30 +10:00
m_m
6d5b5ddde1
Add support for voice acting in fiction viewer.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10755 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-06 16:51:18 +10:00
Goober5000
70d05d3815
scramble messages on a per-ship basis
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10136 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
Goober5000
389a2c6955
fix Mantis #2933 : don't output alt ship class information using fout_version
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10116 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
Goober5000
e0fa46a185
more memset refactoring... turn texture_replace back into a POD struct
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10048 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-17 20:24:41 +10:00
Goober5000
5d73931b6d
this should now allow wing icons to be specified too
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10012 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:57 +10:00
Goober5000
b4cc5d72f4
use an index rather than an iterator into the waypoint list so that ai_info is again a plain old data object
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9816 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:35 +10:00
Zacam
593be42e66
*drum roll* Pilot Code! Originated by taylor. Additional direct work by: The E, niffiwan, CommanderDJ, Pyro3D, Echelon9 (PVS-Studio), Karajorma and Eli2. (If I missed you, don't kill me.)
...
MASSIVE thanks to Mjn.Mixael and Blue Planet for tireless constant testing.
(It's still not perfect, but it probably wouldn't be where it is at without them)
Spans a lot from initial commit to AP Branch in r6835.
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9561 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:26:06 +10:00
Valathil
917bd38692
Fix for Mantis 2735: Port commit 8643 & 8644 to Turrets as well
2012-11-26 01:37:24 +00:00
karajorma
20b614069e
Resaving a mission shouldn't result in any changes other than the date.
2012-10-26 09:44:12 +00:00
karajorma
7769a4e6e1
Okay, this time JUST the event.log stuff!
2012-10-08 09:13:21 +00:00
karajorma
49f63ad88b
Backout that commit. Wrong codebsse!
2012-10-08 09:11:14 +00:00
karajorma
7c25c35243
Commit the event.log feature.
2012-10-08 09:02:44 +00:00
The_E
3b1a94b751
After a long time being tested in TAP, Team Colors are now stable. Please refer to http://www.hard-light.net/forums/index.php?topic=79743.0 for details.
2012-07-28 20:53:57 +00:00
Goober5000
3eeb334d77
allow skyboxes to be rendered at a custom orientation
2012-07-24 03:53:25 +00:00
Goober5000
1798c9b750
add the mission cutscene save type, per Karajorma and MjnMixael
2012-07-09 06:48:53 +00:00
Echelon9
a0e59defd6
CJumpNode class code convention; convert to UpperCamelCase for class and function name; ensure all private variables adopt m_ prefix
2012-04-07 11:07:30 +00:00
The_E
5d8b95c2f5
Same for secondary weapons
2012-04-01 15:09:24 +00:00
The_E
2f72134675
Fix for Mantis 2635: Invalid memory access when saving a mission due to a weapon bank set to empty.
2012-04-01 14:57:09 +00:00
Goober5000
b146b10403
MOAR const-correctness!
2012-03-08 08:12:56 +00:00
Goober5000
a378cfe005
sexp strings are now SCP_string
2012-03-08 06:48:44 +00:00
Goober5000
7d4fd7ee2a
convert briefing and debriefing to use SCP_string
2012-03-07 05:23:21 +00:00
Goober5000
d4adf75ffa
change command briefing text to use SCP_string
2012-03-06 04:58:45 +00:00
Goober5000
4e9915cc9b
change fout routines to use SCP_string instead of large C string buffers
2012-03-05 09:23:01 +00:00
Goober5000
f03eb16119
mjn.mixael's required weapon feature
2012-03-05 02:37:09 +00:00
The_E
3477e1d968
Fix for Mantis 2568: "Fog Near/Far Mult:" being written to mission files even when in retail compatibility mode.
2012-01-14 10:55:13 +00:00
karajorma
bfb54ea844
Split the Locked flag in two so that you can lock Ships or Weapons independently.
2012-01-11 07:57:36 +00:00
Echelon9
77c852e15a
A few further changes for Windows support under the new jump_nodes STL refactor
2011-10-03 13:26:03 +00:00
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
karajorma
1fe4fdeaef
Fix the cloaked ship flag not saving.
2011-09-05 00:05:20 +00:00