Fabian Woltermann
eab9fab9ca
Further, non-multi-breaking changes as suggested by MageKing17.
2015-10-13 09:11:36 +02:00
Fabian Woltermann
92ace8e983
Further comment tweaks
2015-10-08 09:49:48 +02:00
Fabian Woltermann
d3df7ef2b1
Adds explanatory comments and applies the same logic to the net signature overload.
2015-10-05 08:08:46 +02:00
The E
99306be6cf
Amendment based on Kara's feedback. Should allow same behaviour in both SP and MP.
2015-10-04 12:23:35 +02:00
The E
6835d2bf9f
Only remove the player ship from the arrival list in singleplayer
2015-10-03 22:15:57 +02:00
Goober5000
cc79554f7a
keep track of the active stage via index rather than via pointer because the vector may be resized
2015-09-22 20:39:37 -04:00
Goober5000
3df6bb82db
add basic conditional support to fiction viewer stages
2015-09-22 20:17:31 -04:00
Yarn366
5f58aaa392
Merge branch 'master' into per_mission_ui_backgrounds
2015-09-20 21:05:46 -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
f0c0d60a11
Fiction viewer UI can now be set in mission files and game_settings.tbl
2015-09-18 21:51:24 -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
Lari Nieminen
473090e9e0
Made $On Ship Arrive cope with generic anchors (e.g. "<any hostile>")
...
This changes the interface of mission_set_arrival_location() to return the objnum of the anchor (if any; -1 otherwise).
2015-09-04 01:23:32 +03:00
Lari Nieminen
81d18573aa
Fixed the $On Ship Arrive hook code as per issue #334 and PR #333
2015-09-02 10:53:21 +03: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
MageKing17
64c9b272e7
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
...
Conflicts:
code/pilotfile/pilotfile.cpp
2015-08-19 11:53:25 -07:00
Goober5000
bd3cd7eb18
Merge pull request #195 from Echelon9/fix/sort-uniq-includes
...
Review and refactor #include's
2015-08-19 00:05:02 -04:00
MageKing17
7b15fe0786
Do a couple more MAX_SHIP_*_BANKS to num_*_banks replacements.
2015-08-13 15:03:31 -07:00
MageKing17
fada4f514e
Make primary weapon cargo_size check first check the WIF2_BALLISTIC flag.
2015-08-13 03:59:52 -07:00
MageKing17
6985b198ec
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
...
Conflicts:
code/ship/ship.cpp
2015-08-12 13:25:34 -07:00
MageKing17
1aa7af5167
Merge pull request #263 from Echelon9/fix/printf-issues
...
Resolve numerous format string issues
2015-08-12 13:05:17 -07:00
MageKing17
4fc84e61c6
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
...
Conflicts:
code/ship/ship.cpp
2015-08-11 14:27:48 -07:00
MageKing17
3b43614ae9
Hopefully fix FRED and turret ammo.
...
Adds a get_max_ammo_count_for_turret_bank() function that the weapon editor can use for turrets instead of trying to hack the behavior into get_max_ammo_count_for_bank somehow. Adjusts weaponeditordlg.cpp to use it, and also fixes missionparse.cpp so that ammo values get correctly converted from a percentage to the number of actual missiles (but only when FRED isn't running).
2015-08-09 16:53:50 -07:00
MageKing17
dc80ae0c9a
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
...
Conflicts:
code/ship/ship.cpp
2015-08-06 00:25:42 -07:00
Echelon9
3385a0a6a3
Fix: warning: format not a string literal and no format arguments [-Wformat-security]
2015-08-05 20:38:10 +10:00
Echelon9
b5610a5005
Proposed refactor of #Cutscenes in mission files, per wiki documentation.
2015-06-25 16:56:24 +12:00
Echelon9
a7e6be3368
Simplify duplicative mission/ includes.
2015-06-22 20:24:30 +10:00
Echelon9
c5493bb480
Scripted sort and uniq on (internal) project includes. Improves search time and as a by product removed a number of duplicative includes.
2015-06-22 20:24:30 +10:00
MageKing17
ab9d2e20fb
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
...
Conflicts:
code/ship/ship.cpp
2015-06-18 14:40:53 -07:00
Lari Nieminen
26e31a4cf0
Added a $Max Shield Recharge ship table entry for limiting how full the shields may recharge.
2015-06-04 15:35:41 +03:00
MageKing17
16229a9950
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
2015-05-18 10:04:21 -07:00
asarium
cc9109843a
Fix for Coverity 1093690: Resource leak
...
This introduces a move constructor for CJumpNode to handle freeing resources.
2015-05-16 11:20:20 +02:00
MageKing17
274a32e1ac
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
...
Conflicts:
code/model/modelread.cpp
code/ship/ship.h
2015-05-12 19:22:58 -07:00
Fabian Woltermann
5dfbc6d292
Merge pull request #88 from SamuelCho/soft_shadows_deferred_lighting
...
Soft shadows, deferred lighting, and various graphics improvements and optimizations
2015-05-12 20:06:33 +02:00
Lari Nieminen
24d16213a6
Avoid loading the anchor ship model multiple times when resolving path masks.
2015-05-10 02:23:44 +03:00
Swifty
c620372357
Soft shadows, deferred lighting, and various major graphics optimizations.
2015-05-02 14:35:37 -07:00
MageKing17
e8bed8f892
Merge branch 'master' of ssh://github.com/scp-fs2open/fs2open.github.com into ship_info
...
Conflicts:
code/ship/ship.cpp
2015-05-01 13:09:32 -07:00
MageKing17
1591237acf
Reverting recent string of commits.
...
Since they didn't go through code review (and break compilation), reverting the recent string of commits (just used "git revert -n 5042c44..05b4635").
2015-04-29 16:19:59 -07:00
zookeeper
dc820fdfc1
Avoid loading the anchor ship model multiple times when resolving path masks.
...
git-svn-id: svn://svn.icculus.org/fs2open/branches/zookeeper@11235 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-29 22:45:57 +03:00
MageKing17
e84a6e8d33
Fix tech room mission lists.
...
get_mission_info() was returning an uninitialized int due to rval no longer being initialized to 0 by setjmp(). Since rval isn't actually needed anymore, I went ahead and removed it. The only bits of code that actually check the return value of get_mission_info() are the tech room's mission simulator and some of the multiplayer code, so this bug wasn't actually preventing missions from being played through the ready room.
2015-04-29 12:34:11 -07:00
MageKing17
bc0c7cf4c5
Vectorization of Ship_info.
...
Converts Ship_info from a ship_info[] to an SCP_vector<ship_info>. ship_info now has proper constructors, assignment operators, and a destructor. Num_ship_classes removed; various references to Num_ship_classes and/or MAX_SHIP_CLASSES (which remains for various other structures which need it) changed to Ship_info.size() instead.
This doesn't make the ship class limit dynamic, but it is a preparatory step to get there.
2015-04-27 00:01:22 -07:00
asarium
9aed627ce7
Replace longjmp with exceptions
...
Also added a EditorConfig file
2015-04-24 15:03:59 +02: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
Goober5000
7250cd13a6
add ship class texture replacement using a simplified method that doesn't require the texture_set code
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11204 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-23 18:15:11 +10:00
Goober5000
0162cab8bd
move this around for more logical flow
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11188 387891d4-d844-0410-90c0-e4c51a9137d3
2014-12-08 17:14:57 +10:00
Goober5000
bffdef1ce5
from xt branch: add some hysteresis to asteroid fields to prevent "popping" when an asteroid exceeds the bounds
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11118 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-12 06:22:25 +10:00
niffiwan
3d8554b41f
Followup fix to mantis 2887 (from MageKing17)
...
no-collide ship classes would collide unless the no-collide flag was set
in the mission file
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10989 387891d4-d844-0410-90c0-e4c51a9137d3
2014-08-16 12:31:57 +10:00