asarium
f780d9e22a
Add ability to dynamically add new SEXPs at runtime
...
This add a system for adding generic instances of the DynamicSEXP class
to the SEXP system. The only implementation at the moment is the LuaSEXP
which is used by the mn.addSEXP lua API to allow Lua to add new SEXPs.
Since this requires that FRED also runs lua scripts I added a mod table
option to enable scripting in FRED. Since the current scripts are not
built with FRED in mind it would likely break all these scripts if FRED
would be opened with normal scripting enabled.
This fixes #1320 .
2017-12-20 10:45:40 +01:00
asarium
6da5302d34
Add localized subtitle support to the video player
...
This adds support for displaying subtitles embedded in movie files. This
supports files with multiple subtitle streams where each stream contains
the subtitles for one language. When the movie file is opened, the
stream for the currently active language will be used and displayed.
This resolves one of the points mentioned in #1522 .
This also depends on PR #1484 .
2017-12-05 12:04:13 +01:00
asarium
43e540cc4c
Add true Unicode support
...
This adds proper Unicode support by allowing the parse system to read
UTF-8 encoded files. The new mode is controlled by a mod option which
allows older mods to continue using the legacy text encoding.
That option changes the behavior of several systems in FSO. It disallows
the usage of Volition fonts since they don't support Unicode encoding
and changes a few usages of special characters to their unicode
counterparts of generic rendering solutions.
This fixes #1415 .
2017-11-30 13:26:20 +01:00
MageKing17
b1046b1c1c
Window title overhaul.
...
FSO now allows the window title to be specified via game_settings.tbl, some never-used function arguments were pruned at the same time, and fred.rc now receives version information (for the About dialogue and the title bar) from a cmake-generated header, so the version numbers get filled in properly. Speaking of FRED's About dialogue, it now displays the copyright symbol properly.
2017-11-17 02:51:36 -08:00
MageKing17
8e558b2095
Move MAX_BITMAPS to bmpman.cpp/.h, use error_display() for warnings.
...
Per discussion on the PR. Also corrected sizeof(bm_bitmaps) to sizeof(bm_bitmaps[0]) * MAX_BITMAPS.
2017-11-04 08:52:56 -07:00
MageKing17
37b81efea4
Allow BMPMAN slot limit to be defined by mod table.
...
bm_init() now dynamically allocates the bm_bitmaps array, and MAX_BITMAPS can be changed by the mod table.
2017-11-02 16:37:57 -07:00
asarium
841872aae0
Add mod table setting for specifying targetted FSO version
...
This adds a small system for letting a mod specify which version of FSO
was designed for. That would allow us to introduce code which would
normally break backwards-compatibility by putting it in an if block
which checks if the mod supports the FSO version which ontroduced the
behavioral change.
There is currently no code which uses the new functions yet so I added a
few tests to verify that the options do what they are designed to do.
This fixes #1389 .
2017-07-14 20:09:29 +02:00
Cliff Gordon
89d13ab774
fix/solaris_math_h: Attempt to work around the version symbol conflict.
2017-04-21 14:08:54 -05:00
asarium
6c3da4b455
Fix even more 64-bit warnings
2016-08-11 10:08:11 +02:00
asarium
1bcd5400d3
Move build system to CMake
2016-07-22 12:07:19 +02:00
asarium
519e89b6fa
Add "$Minimum version" to game settings table
...
This allows a modder to specify a minimum FSO version that is needed
for the mod.
2015-11-20 11:51:51 +01: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
Echelon9
ed2170b2ea
Simplify duplicative mod_table/ includes.
2015-06-22 20:24:31 +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
Axem
e396686570
Adding customizable pain flash and shield pain flash settings
2015-05-24 09:00:30 -05:00
asarium
9aed627ce7
Replace longjmp with exceptions
...
Also added a EditorConfig file
2015-04-24 15:03:59 +02:00
niffiwan
484b518760
Fix mantis 2804: beams can use damage factors
...
Add game_setting.tbl option that allows beams to use weapons table
Armor/Shield/Subsystem damage factors
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11089 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-27 18:20:18 +10:00
niffiwan
d9a4320dbb
Add missing \n to mod_table mprintf
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11073 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-13 13:52:21 +10:00
Goober5000
8cdfb029d3
add mod_table option for red-alert for delayed ships (Mantis #3055 )
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10895 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-14 19:02:31 +10:00
Goober5000
2fe0ec8ef0
Yarn's patch for Mantis #3049 (character remapping in tstrings.tbl)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10894 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-14 19:02:31 +10:00
The_E
8c1bef0415
From FUBAR: Patch for Mantis 2842 (Adds new section to game_settings.tbl called "#FRED SETTINGS". Also adds a parameter for it, "$Disable Hard Coded Message Head Ani Files:", a boolean value that controls whether FRED fills the head ani selection in the Event Editor with the retail head ani names)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10842 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-05 10:38:06 +10:00
The_E
54787e8402
Fix for Mantis 3016 (Briefing window FOV different from retail). Also adds a new setting to game_settings.tbl, "$Briefing Window FOV:" under Graphics, which takes a single float argument to set the FOV of the briefing window.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10824 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-19 20:12:53 +10:00
zookeeper
a20f54957c
Ported r10282 from zookeeper branch: added a new #SOUND SETTINGS section to game_settings.tbl and in it overrides for the default sound, music and voice volume.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10563 387891d4-d844-0410-90c0-e4c51a9137d3
2014-04-22 19:22:24 +10:00
chief1983
5664773a29
Allow game_settings.tbl to define the FS2NetD port, so TCs can work out of the box on *nix, etc.
...
http://www.hard-light.net/forums/index.php?topic=86317.0
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10242 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-22 19:05:15 +10:00
zookeeper
40af858593
Port r9823 from zookeeper branch: Added an option to make pitch and yaw axes be determined by eyepoint orientation.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9867 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:29 +10:00
Goober5000
138e6b853f
yeesh... a veritable cascade of const-correctness
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9783 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-13 20:18:32 +10:00
Goober5000
3550b720cb
remove requirement that game_settings.tbl should specify a campaign filename with an extension
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9771 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-13 20:18:31 +10:00
zookeeper
8308920e3b
Fix really stupid mistake.
2012-11-16 11:26:48 +00:00
zookeeper
a456519b95
Made the default detail level tableable in game_settings.tbl, but kept "very high" as the default.
2012-11-14 11:54:47 +00:00
The_E
4bb94b0abf
OOps, forgot a :
2012-10-30 20:09:03 +00:00
The_E
ebd477067d
Fix for Mantis 2679: Adds new setting to game_settings.tbl: "$Weapons inherit parent collision group:", a boolean setting defaulting to FALSE. Setting it to true will cause weapons fired to inherit their parent ships' collision group setting.
2012-10-30 19:37:53 +00:00
Goober5000
e7bcccd4c0
revert r9218 per discussion with karajorma... new fix will follow shortly
2012-09-28 05:36:12 +00:00
karajorma
e4978a67a4
Allow mods to mark campaigns as ignored.
2012-09-25 13:40:05 +00:00
karajorma
9433f054f3
Stop #weak weapons appearing in the tech room in multiplayer missions.
2012-09-23 08:33:32 +00:00
Goober5000
0537dff6d6
the initialized value should match the default value
2012-08-22 02:00:03 +00:00
Goober5000
ca08b3813a
reverting 9121 -- I'll give karajorma the benefit of the doubt and assume he just didn't see the compatibility additions
2012-08-19 07:20:06 +00:00
karajorma
8e043a0019
Revert 9119 and 9120 since at least one of them breaks compatibility with 3.6.12
2012-08-19 06:13:45 +00:00
Goober5000
53f080ea67
all mod_table flags should also default to NO
...
also, change the generic_anim flag on whether to use the HUD color settings to be a bit more descriptive
2012-08-19 03:27:31 +00:00
Valathil
48e0517e0d
Allow generic_anim's to reuse bmpman and texture_cache slots and implement eff streaming. Changed talking heads to use generic_anim. Fixes Mantis 2417
2012-08-14 23:48:23 +00:00
The_E
9a54bd0cc4
New game_settings.tbl setting: "$Enable External Shaders:", which allows the use of, you may have guessed it, external shaders. Default is off.
2012-08-03 20:31:57 +00:00
Goober5000
a5f80ab4bb
move the selection effect settings into game_settings.tbl because putting them in ai_profiles.tbl is incorrect and misleading
...
also, fix game_settings.tbl to not leave some settings uninitialized
2012-07-29 20:57:20 +00:00
Goober5000
3e983aa390
add mod.tbl flag for Mantis #82
2012-07-01 04:32:03 +00:00
Goober5000
e1d4e74092
remove extension if user didn't
2012-07-01 04:17:22 +00:00
karajorma
480931fa17
Additions to message.tbl to allow users to specify the frequency of builtin messages.
2012-06-24 11:36:45 +00:00
The_E
d03af34eed
Add a log print for my previous mod.tbl addition
2012-05-11 11:30:19 +00:00
The_E
b006d8de1a
Since we can't change the default cutscene camera behaviour (switching off the HUD when cutscene camera is active), this introduces a mod.tbl setting to alter this behaviour.
...
The new setting is called "$Cutscene camera disables HUD:", is a boolean, and defaults to true.
2012-05-11 07:57:01 +00:00
The_E
21ef9c620a
Adding a few newlines here
2012-03-30 16:25:06 +00:00
zookeeper
a5279f786c
Fixed a typo ("$Fix Turret Collisions:" -> "$Fixed Turret Collisions:").
2012-03-22 06:52:35 +00:00
zookeeper
a02fb5a869
Moved the features from r8621 and r8622 behind two game_settings.tbl flags.
2012-03-22 06:15:39 +00:00
karajorma
dc9de13d85
Get the default chance of a pilot praising his own kills from mod.tbl rather than the hardcoded magic number it currently uses.
...
Switch mod.tbl to automatically read the default table first, then look for the one the mod uses. This guarantees that variables are initialised to something and simplifies the logic for mod.tbl a lot.
2012-03-07 00:45:28 +00:00