asarium
9aed627ce7
Replace longjmp with exceptions
...
Also added a EditorConfig file
2015-04-24 15:03:59 +02:00
MageKing17
4742378d50
Followup to r11266; let code use hardcoded defaults.
...
Presumably, the use of use_default_pos in load_gauge_radar_dradis() is the result of a copy&paste job, but removing it allows the default values to be used to compute coords.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11273 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-04 22:43:03 +10:00
niffiwan
a1979e704e
Coverity 1244962 Uninitialized scalar variable
...
Set default DRADIS coords to 0,0
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11266 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-01 11:02:15 +10:00
niffiwan
16f0ff1959
Allow fonts to set/change special char indexes
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11151 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-24 19:06:21 +10:00
niffiwan
df3435cadd
Fix mantis 3108 (from Yarn)
...
Make parsing of DRADIS and custom hud gauges consistent with the rest
of the hud gauges
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11087 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-27 00:19:25 +10:00
Goober5000
62a2fb3c00
Yarn's patch for Mantis #3106 (Font parameter in hud_gauges.tbl not parsed correctly)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11080 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-24 20:08:21 +10:00
Goober5000
7cd97633b6
Yarn's patch for Polish localization
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11044 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-09 20:37:02 +10:00
m_m
f8ff3be1fe
From MageKing17: Fix for Mantis 3085: Unhelpful error reporting in hud_gauges.tbl if an invalid gauge type is specified.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10978 387891d4-d844-0410-90c0-e4c51a9137d3
2014-08-11 18:54:04 +10:00
niffiwan
b725ec527a
Fix mantis 3087 (from Yarn)
...
Readd translation support for default escort gauge header text
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10976 387891d4-d844-0410-90c0-e4c51a9137d3
2014-08-11 18:54:04 +10:00
The_E
5bff2754c2
From MageKing17: Fixes for a couple of clang warnings.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10921 387891d4-d844-0410-90c0-e4c51a9137d3
2014-07-24 19:45:27 +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
niffiwan
4e98285d2a
Followup to mantis 3009; missed the Lead Sight gauge in the 1st fix
...
Rechecked all other gauges that set slew=true in their contructors
(vs 1st pass which checked gauges that set slew=true in hudparse.cpp)
I think I got them all now...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10476 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-14 19:50:31 +10:00
niffiwan
a2b42bf5f1
Fix mantis 3009: set slew correctly for hud gauges
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10462 387891d4-d844-0410-90c0-e4c51a9137d3
2014-02-20 18:27:35 +10:00
The_E
6b39db6b12
Remove a superfluous $ sign from gauge_load_common, which was messing up hud_gauges tables that defined differing fonts for hud gauges.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10350 387891d4-d844-0410-90c0-e4c51a9137d3
2014-01-31 17:26:00 +10:00
niffiwan
cecc445e8b
Move $Scale Gauges: token before $Reticle Style: to avoid breaking parsing when both are specified
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10275 387891d4-d844-0410-90c0-e4c51a9137d3
2014-01-14 20:24:45 +10:00
niffiwan
7f05cca670
Ensure Offset & Origin are used together (hud gauges)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10274 387891d4-d844-0410-90c0-e4c51a9137d3
2014-01-14 20:24:45 +10:00
niffiwan
4d7c218d59
Tweak HUD so that retail gauge scale/no-scale can be set in a minimalistic hud gauges table
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10273 387891d4-d844-0410-90c0-e4c51a9137d3
2014-01-14 20:24:45 +10:00
niffiwan
770cd66755
Add scaling option to Yarns hud gauges
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10272 387891d4-d844-0410-90c0-e4c51a9137d3
2014-01-14 20:24:45 +10:00
niffiwan
aa60c5acec
Coverity ID 109381[456]: Uninitialized scalar variable in load_gauge_target_monitor()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10217 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-15 12:23:02 +10:00
niffiwan
a3256bbf88
Fix two issues found by Yarn
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10210 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-11 18:52:14 +10:00
niffiwan
0402e46f89
Merge Yarn adaptable hud with m!m common hud parse
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10209 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-11 18:52:14 +10:00
niffiwan
706152c7d5
Add common parsing function for hud tables (originally from m!m with updates from me)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10208 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-11 18:52:14 +10:00
Goober5000
0fb563b241
set ballistic HUD gauge any time HUD is changed -- fixes Mantis #2962
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10158 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:37 +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
niffiwan
2b6fea8ff4
From Yarn - Fix mantis 2839: remove overlap in default 640x480 res HUD gauges
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9625 387891d4-d844-0410-90c0-e4c51a9137d3
2013-04-14 13:00:35 +10:00
Echelon9
93d0af04d2
Resolve uninitialised value warnings in load_gauge_warhead_count()
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9526 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
The_E
1f48d15dcc
PVS Studio suggestion: Create a reference to avoid multiple vector access operations
2012-11-03 09:31:54 +00:00
Swifty
2132f14d60
Fixed scaling and positioning issues with cockpit displays. Added Display Offsets: to all RTT capable gauges.
2012-10-15 04:45:02 +00:00
Swifty
ab7c112951
Cockpit display support for a crapload of gauges.
2012-10-07 05:37:50 +00:00
Goober5000
22dc84b6e1
MSVC6 compatibility
2012-09-30 21:08:05 +00:00
The_E
1f8dcf5494
Reverting 9215, because it conflicts massively with my fixes for hud_gauges. m|m, did you update your checkout before committing your stuff?
2012-09-22 21:41:23 +00:00
m_m
1faee4f711
Added weapon specific HUD tracking and lock-on sounds and in-flight sounds.
...
New options are $TrackingSnd, $LockedSnd, $InFlightSnd and +Inflight sound type.
2012-09-20 13:05:09 +00:00
The_E
c04b6a54f0
Fixes memory management issues due to duplicated pointers
2012-09-19 19:28:03 +00:00
The_E
1cae449aad
Clear the ship list between gauge configs to avoid multiple huds rendering at once
2012-09-19 18:40:10 +00:00
The_E
dcf8339ae2
And another fix. Apparently, = != ==, who knew
2012-09-19 17:34:09 +00:00
The_E
d324780a3f
And more fixes
2012-09-19 16:52:30 +00:00
The_E
98e4c56c19
Fix a stupid parsing bug
2012-09-19 16:37:34 +00:00
The_E
a736ac2d36
As requested by mjn.mixael: Allows modders to specify a list of ship classes a given hud config can be applied to. To use this, use "$Ships: ("Some ship" "Another ship")" instead of "$Ship: This ship". $Ship has been deprecated.
2012-09-19 15:31:31 +00:00
Swifty
849976985a
Created Primary Weapons Gauge and Secondary Weapons Gauge.
2012-09-10 07:09:32 +00:00
Swifty
2b857771fc
Created Hardpoints gauge.
2012-09-10 06:58:59 +00:00
Swifty
aba9b4515e
Created Warhead Count gauge.
2012-09-10 06:51:14 +00:00
Swifty
087d9c04db
Added additional parameters for the Wingman Status gauge.
2012-09-10 06:35:33 +00:00
Swifty
cafad3bb24
Added text color parameters for the auto target and auto speed gauges.
2012-09-10 06:31:03 +00:00
Swifty
a3fafcb248
Added Bottom Background Offset: and Max Line Width: to Directives gauge.
2012-09-10 06:23:46 +00:00
Swifty
9c3ef3c636
Added Bottom Background Offset: to Squad Message gauge.
2012-09-10 06:14:06 +00:00
Swifty
4c9ca0c336
Added parameters to adjust subsystem name, integrity, and status offsets for the Target Monitor.
2012-09-10 06:04:24 +00:00
Swifty
e4af974b70
Added Desaturated rendering to the Target Monitor.
2012-09-10 05:59:55 +00:00
Swifty
2ca77f899a
Added alpha masking support for the Target Monitor gauge.
2012-09-10 05:53:53 +00:00
Swifty
67767e77ff
Added a variety of parameters to the Weapon Energy gauge.
2012-09-10 05:43:10 +00:00
Swifty
b83644c8a0
Added a variety of parameters to the Throttle gauge.
2012-09-10 05:38:02 +00:00