BMagnu
3aa6cd8a87
Add cockpit FoV ( #4220 )
...
* Add cockpit FoV
* Add override documentation for SEXP
2022-04-29 03:45:18 +09:00
Goober5000
618804c1ff
add optional flag to not change subtitle aspect ratio
...
Follow-up to #4158 . Allows use of the specified subtitle width and height in all cases, without stretching it to the screen's current aspect ratio.
2022-04-14 10:13:11 -04:00
Goober5000
06f3bb77d1
add the ability for subtitles to be scaled correctly to the screen
...
By specifying a base resolution in game_settings.tbl, subtitles can be scaled to the screen in the same way as HUD gauges. This can be used to prevent subtitles from appearing smaller at larger resolutions.
Depends on and is a follow-up to #4157 .
2022-04-10 23:41:45 -04:00
Goober5000
f3a94d4fc8
add game_settings.tbl option to specify subtitle coords in pixels
...
What it says on the tin. This allows more precise positioning of subtitles, and a future PR will add the ability to scale them according to screen resolution.
2022-04-09 20:43:42 -04:00
Goober5000
f6a903f2b9
correctly calculate the vector for pointing the camera
2022-01-30 22:58:24 -05:00
Goober5000
4aa74523ab
address feedback
2021-11-11 18:52:41 -05:00
Goober5000
cbda26b4fb
allow subtitles to use different line spacing
...
This adds an optional extra factor to `show-subtitle` and `show-subtitle-text` to adjust the line height. Useful for double-spacing, 1.5-spacing, etc.
2021-11-04 23:19:45 -04:00
Baezon
303ee3fca1
const objp for object_get_model
2020-09-04 22:29:31 -04:00
Baezon
4df4987b81
v2
2020-09-04 17:36:53 -04:00
CasparKielwein
97fdca6b52
remove unused functions in camera
2018-12-22 20:10:56 +01:00
asarium
8f4d51b14a
Convert ade_get_args to variadic template based solution
...
This maintains the type information which can be used for enforce
const-correctness and also for implementing more advanced ways of
handling the type information.
2018-09-26 19:15:42 +02:00
asarium
48873185ce
Another batch of misc- checks
2018-04-25 11:13:20 +02:00
asarium
9a8bfc0217
More const correctness
2017-01-02 13:17:59 +01:00
m!m
22c0255277
Fix a bunch of 64-bit MSVC warnings ( #709 )
...
* Fix a bunch of 64-bit warnings
* Fix Linux compilation error
* Fix Mac error
* Fix some issues
* Fix more GCC warnings
* Remote unwanted change
* Remove accidentally readded file
* Fix wrong limit check
* Use BEAM_INDEX macro for getting beam object index
* Fix 32-bit warning
* Use BEAM_INDEX instead of pointer arithmetic
2016-08-09 11:08:54 -07: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
Goober5000
6052d9c4a4
since we can replace variables in SCP_string, use that instead of an arbitrary char[256] buffer also const-correctness in the constructor
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11039 387891d4-d844-0410-90c0-e4c51a9137d3
2014-09-09 20:37:02 +10:00
Valathil
fd125acb19
Fix for Mantis 1978: Add eyepoint directions to cameras; Add guncam view for cameras that are bound to turrets
2012-12-14 22:18:45 +00:00
Echelon9
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
Echelon9
10f9ecac09
Documentation: Code cleanup of camera.cpp and camera.h, and removal of redundant function
2011-09-12 12:15:27 +00:00
Goober5000
5a3fa6f576
allow specification of fonts via show-subtitle
2010-03-19 06:31:15 +00:00
Goober5000
7fa0a70c9e
this is a long-overdue rewrite of WMC's show-subtitle sexps
2010-03-15 01:55:40 +00:00
portej05
585981e24b
post-frame-shaded subtitles! Pass an argument 13 which is either (true) or (false) in order to make use of this.
...
Fix for multimonitor focus loss issue associated with the mouse at the initialisation of the mainhall
2009-09-09 11:52:42 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
WMCoolmon
4bff232cad
Change set-fov back to a global override
2008-08-30 19:48:20 +00:00
WMCoolmon
f51a8cf3c0
New camera code core commit, delta bank code.
2008-08-30 10:42:27 +00:00
Backslash
dadce33a59
Cutscene subtitle positioning fix for resolutions other than 1024x768. Code by MikeStar.
2007-06-24 23:32:16 +00:00
wmcoolmon
4e5089a7bd
camera code updates (Translation should be possible now)
2006-04-03 07:45:15 +00:00
taylor
c41aa97d85
various camera fixes (did this ever work properly?)
...
- handle basic init properly for those platforms that do/don't zero-initialize STL vector
- allow text images without witten text
- don't try to process text if it's NULL or of 0 length
- don't get freaky with image handling
- add clone/assignment operator so that push_back() will not screw up bmpman stuff
2006-02-16 05:07:08 +00:00
Goober5000
8ab1cf65a9
reordered #include files to quash Microsoft warnings
...
--Goober5000
2006-01-20 07:10:34 +00:00
Goober5000
d1ade71cc3
get rid of a whole bunch of Microsoft warnings
...
--Goober5000
2005-09-24 02:40:10 +00:00
taylor
7f786136a6
s/vector/vec3d/g, better support for different compilers (Jens Granseuer)
2005-04-05 05:53:25 +00:00
taylor
405ba066b9
change min/max to MIN/MAX to fix GCC problems
...
add lab stuff to Makefile
build unbreakage for everything that's not MSVC++ 6
lots of warning fixes
fix OpenGL rendering problem with ship insignias
no Warnings() in non-debug mode for Linux (like Windows)
some campaign savefile fixage to stop reverting everyones data
2005-03-10 08:00:18 +00:00
wmcoolmon
b25707b74d
Camera code updates (subtitles)
2005-02-20 23:14:00 +00:00
wmcoolmon
de684f1e78
Updated camera code
2005-02-06 22:21:25 +00:00
wmcoolmon
defdb93536
Camera code
2005-01-27 04:16:28 +00:00