m_m
70d735ceb4
Added "On HUD Message Received" scripting hook which is invoked when the HUD receives message text to display.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11242 387891d4-d844-0410-90c0-e4c51a9137d3
2015-02-09 17:22:03 +10:00
Goober5000
4f06fd2435
additional string safety
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11140 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-15 18:22:57 +10:00
Goober5000
e9f5c531e0
heh... Microsoft's implementation of snprintf doesn't conform to the standard!
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11139 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-15 06:23:18 +10:00
Goober5000
65265f8ab8
fix a compile error (d'oh) and use type safety
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11134 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-13 18:23:37 +10:00
Goober5000
aee1305841
according to the C standard... "The functions snprintf() and vsnprintf() write at most size bytes (including the trailing null byte ('\0')) to str." ...so we have that going for us, which is nice
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11132 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-13 18:23:33 +10:00
Goober5000
b8a05e30a0
xt: sprintf length safety
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11123 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-12 18:22:14 +10:00
The_E
6e91857745
From Yarn: Fixes interface graphics scaling issues. If, for some reason, you want to have the interface graphics stretched, use the -stretch_menu commandline flag.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10544 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-30 12:39:54 +10:00
asarium
31d6ca5a0e
Fix a crash with invalid iterators
2014-03-16 22:32:10 +01:00
Goober5000
886018d28f
here a const, there a const, everywhere a const const
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9801 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-20 19:46:41 +10:00
Valathil
e039a4954e
Fix for Mantis 2207: Use Missiontime for F4 Logscreen entries and fix the calculation.
2012-11-20 23:42:12 +00:00
m_m
947263a047
Let's try this again, hopefully this time without reverting previous changes. See r9215 for a better description.
2012-09-24 16:17:26 +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
zookeeper
7a50e19311
Turned $Comms Menu Hides Messages from a global HUD flag to a +Messages gauge flag.
2012-08-15 19:18:25 +00:00
zookeeper
ea81983597
Added a hud_gauges.tbl boolean flag to allow one to override the default behaviour of messages not being displayed while the comms menu is open.
2012-08-15 14:27:12 +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
niffiwan
381d50c74c
Documentation for head-ani's && messages
2012-05-20 10:07:21 +00:00
niffiwan
c634b65d24
GCC: remove trivial warning: multi-line comment [-Wcomment]
2012-05-20 06:31:09 +00:00
niffiwan
7dc94578b5
Fix for mantis 2411: allow repeated messages to play head anis
2012-05-20 05:41:53 +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
Swifty
bebf5e8fbf
Added hud-clear-messages. Clears active messages currently displayed.
2012-03-14 05:25:07 +00:00
Swifty
dd1c4a436c
Fixed Mantis 2413. hud-set-color changes to the HUD will no longer reset when pausing or entering options menu. Introduced Color entry fields for hud_gauges.tbl.
2012-02-06 10:01:01 +00:00
Swifty
3affb86b52
Removed configOverride from HudGauge class since we don't even use it.
2012-02-05 03:41:31 +00:00
Valathil
86dcd45e50
Fix for #2570 : Changed the external camera messages to be IFF color and internal messages back to green
2012-01-15 03:11:12 +00:00
Swifty
e329d4542f
Fixed Mantis 2502. Messages gauge will no longer calculate string sizes using the incorrect font.
2011-09-23 09:14:02 +00:00
Swifty
a7383cba89
Introduced the preprocess() method in HudGauges. Allowed the HUD to peek at the HUD message buffer when HUD is disabled.
2011-06-25 09:30:47 +00:00
The_E
503fa0d19b
Fixes issue with padlock view messages not appearing
2011-06-19 12:57:26 +00:00
Goober5000
c6b4fc32d3
fix sanity check for too-long messages (Mantis #2412 )
2011-05-30 06:47:27 +00:00
The_E
e5efa336c1
Fix for Mantis 2416 (Messages do not display when in padlock view)
2011-04-15 12:34:11 +00:00
The_E
ceb68d44bd
Fix for Mantis 2240 (HUD anis and training messages do not display if hud_disable_except_messages is active)
2011-04-15 12:16:17 +00:00
The_E
67175970a4
2011-04-05 09:44:43 +00:00
Zacam
09fad95070
Antipodes 7 Merge: HUD Overhaul, by Swifty.
2010-12-12 20:34:15 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
673ac40dba
Fix for Rodos long, single-word hud message issues. Seems that hudmessage.cpp didn't correctly handle all the possible return values from split_str_once
2009-07-22 05:08:49 +00:00
karajorma
1e80a663af
Make messages dynamic.
2009-07-11 17:40:46 +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
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
taylor
6930e3eb6a
make sure the mission log doesn't modify stuff in Cargo_names[], since it shouldn't
...
have split_str_once() be sure to not split a word in half, it should end up on the second line instead
2006-03-19 05:05:59 +00:00
Goober5000
4d5a477f71
übercommit of custom IFF stuff :)
2006-01-13 03:31:20 +00:00
taylor
d3481714d0
remove NO_NETWORK
2005-10-10 17:21:11 +00:00
Goober5000
27b8e4d992
more bugs and tweaks
...
--Goober5000
2005-07-25 08:22:00 +00:00
Goober5000
2a307d099a
CVS header tweaks
...
--Goober5000
2005-07-22 10:18:41 +00:00
taylor
34ca40fc63
cleanup hudtargetbox rendering from that total hack job that had been done on it (fixes wireframe view as well)
...
more non-standard res fixing
- I think everything should default to resize now (much easier than having to figure that crap out)
- new mouse_get_pos_unscaled() function to return 1024x768/640x480 relative values so we don't have to do it later
- lots of little cleanups which fix several strange offset/size problems
- fix gr_resize/unsize_screen_pos() so that it won't wrap on int (took too long to track this down)
2005-07-18 03:44:01 +00:00
Goober5000
52f136f9ad
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 03:15:53 +00:00
taylor
fbb630aa2d
ton of non-standard resolution fixes
2005-07-02 19:45:02 +00:00
taylor
3f6e13d20b
use vm_malloc(), vm_free(), vm_realloc(), vm_strdup() rather than system named macros
...
fixes various problems and is past time to make the switch
2005-05-12 17:49:18 +00:00
wmcoolmon
b911af11ea
Removed some warnings under Linux/GCC
2005-03-29 07:03:16 +00:00
taylor
fad12aefd0
don't let hud messages walk off screen when res is GR_640
2005-03-05 18:59:28 +00:00
taylor
91e9fb4433
more NO_NETWORK/INF_BUILD goodness for Windows, takes care of a few warnings too
2005-03-02 21:24:48 +00:00
taylor
b370e5b903
some bm_unload() -> bm_release() changes to save bmpman slots
2005-02-23 04:51:56 +00:00