MageKing17
551d64192c
Merge pull request #481 from The-E/vm_vec_cleanup2
...
Cleanup in vecmat, aile 2
2015-12-02 08:18:37 -08:00
Cliff Gordon
870ad9e3ae
[fix/187_debugging] Enhance an Assert to help track down how issue 187 could happen.
2015-12-01 14:54:57 -06:00
The E
487f769064
Renaming vm_copy_transpose_matrix to vm_copy_transpose
2015-12-01 20:38:30 +01:00
The E
7604e82f05
Renaming vm_transpose_matrix to vm_transpose
2015-12-01 20:37:33 +01:00
The E
e0defd287a
Renaming vm_vec_crossprod to vm_vec_cross
2015-12-01 20:36:34 +01:00
The E
a413255728
Renaming vm_vec_dotprod to vm_vec_dot
2015-12-01 20:35:47 +01:00
Fabian Woltermann
22e6de42a4
Remove comment here
2015-12-01 13:04:22 +01:00
Fabian Woltermann
9548002890
Removing code that has no place here
2015-12-01 11:39:28 +01:00
Fabian Woltermann
0334bd0c3b
Addressing a few small issues with PR 468
2015-12-01 11:34:00 +01:00
Fabian Woltermann
12b98063fb
Merge pull request #474 from Goober5000/hull_hit_soundfx_fix
...
retail sounds 36 and 37 should actually be converted to 3D
2015-12-01 11:06:37 +01:00
DahBlount
096029a88d
Add Doxygen comments and additional changes
2015-12-01 00:55:30 -07:00
DahBlount
02d15f36b7
Change a1d to a2d
2015-12-01 00:34:55 -07:00
DahBlount
fb29b28113
Add function to invert matrix4 and change mview to GL_env_texture_matrix to properly setup environment maps.
2015-11-30 09:36:30 -07:00
DahBlount
3fa03fcda0
Fix ENVMAP vertex shader to use the inverse of gl_ModelViewMatrix
2015-11-30 09:36:29 -07:00
Yarn366
a4f793e6dc
Use the same FOV for everything in the main view, and apply the pi*(4/9) correction for ships to the briefing view.
2015-11-29 17:22:48 -05:00
m!m
e36e9ff879
Merge pull request #473 from rtoijala/unix_modlist
...
Unix modlist
2015-11-28 19:43:47 +01:00
Risto Toijala
3287ff6b3a
unix mods: change error to warning
...
Ignore failure to open directories that the filesystem gave us.
There's nothing we can do about it.
Also improve missing mod warning.
Tiny style improvement.
2015-11-28 18:20:56 +02:00
Risto Toijala
81092417bd
unix mods: use "." instead of full cwd path to avoid error condition
2015-11-28 18:19:50 +02:00
Risto Toijala
947deb8e12
unix mods: switch parent and dir for readability
2015-11-28 18:18:26 +02:00
Yarn366
37f4587230
Apply rounding to orientation values so that the spinners in the background editor work properly
2015-11-28 01:56:09 -05:00
Goober5000
e11f6904b4
retail sounds 36 and 37 should actually be converted to 3D
2015-11-28 00:27:27 -05:00
MageKing17
d74981b700
Merge pull request #471 from MageKing17/feature/escort-gauge-right-aligned-names
...
Add "Right-Align Ship Names:" option to HudGaugeEscort.
2015-11-27 18:24:24 -08:00
MageKing17
6df0a704f2
Add "Right-Align Ship Names:" option to HudGaugeEscort.
...
It allows the escort gauge to render with ship names right-aligned, as the name would suggest. Changed gr_force_fit_string() to return the width instead redundantly returning the (already modified in-place) string; nothing else actually cares about the return value, so secondary impact should be nonexistent.
2015-11-27 18:22:45 -08:00
Risto Toijala
0b84c18686
also accept backslashes as path separators on unix
2015-11-27 20:16:45 +02:00
Risto Toijala
7523669819
allow subfolders in mod paths
2015-11-27 20:16:45 +02:00
Risto Toijala
b1b8ae9668
move unix modlist handling to function
2015-11-27 20:16:45 +02:00
Risto Toijala
bddf438fb6
clean up unix mod handling
2015-11-27 20:16:45 +02:00
Lari Nieminen
407a2356eb
Fixed silly syntax error
2015-11-26 18:06:41 +02:00
Lari Nieminen
0c5e6c7281
Fixes to some bm_unlock and bm_unload calls
...
As requested in https://github.com/scp-fs2open/fs2open.github.com/pull/449/files#r45241401
Note that I also included the ref_count >= 1 check.
2015-11-26 16:35:23 +02:00
m!m
2bd78eee74
Merge pull request #464 from The-E/inline_vecmat_removal
...
Removing the _INLINE_VECMAT preprocessor define
2015-11-26 13:49:01 +01:00
Yarn366
8f6bdcddeb
Merge branch 'master' of https://github.com/scp-fs2open/fs2open.github.com into more_hud_table_options
2015-11-24 16:32:45 -05:00
Yarn366
33c7c4eae9
Added "Radar Center Offsets:" and "Radar Size:" to the 2D and 3D radar gauges
2015-11-23 19:48:04 -05:00
Yarn366
962261421e
Added "Dock Max Width:" and "Order Max Width:" to extra target data gauge
2015-11-23 18:29:40 -05:00
Yarn366
5144dba6b4
Added "Fixed Header Position:" to wingman gauge
2015-11-23 18:22:37 -05:00
Peter Mitsis
9bbebfc55e
[fix] toolchain: Abstract compiler capabilities
...
Fixes various typos from the commit titled
'toolchain: Abstract compiler capabilities'
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-23 06:54:41 -05:00
MageKing17
02fc2b29ca
Revert "Fix envmap orientation"
...
This reverts commit a033f653d0 .
2015-11-23 00:20:55 -08:00
DahBlount
a033f653d0
Fix envmap orientation
2015-11-22 17:02:06 -07:00
The E
4b37433c4f
Removing the _INLINE_VECMAT preprocessor define. This is something the compiler is better equipped to decide.
2015-11-22 21:00:24 +01:00
Peter Mitsis
002dc3a965
toolchain: Introduce __ALIGNED(x) macro
...
The __ALIGNED(x) macro may be used to tell the compiler to align the
symbol's address to an 'x' byte boundary. Note that 'x' must be a
power of two.
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-22 11:32:07 -05:00
Peter Mitsis
7da81210ea
toolchain: Introduce likely() and unlikely() macros
...
The likely() and unlikely() macros may be used as hints to the compiler to
indicate whether a branch is likely or unlikely to be taken so that it may
generate code accordingly.
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-22 11:32:07 -05:00
Peter Mitsis
57c16bd58a
toolchain: Replace __attribute__((__unused__)) with __UNUSED
...
Abstracting this allows for the possibility of other compilers to have their
own implementation of marking a variable as potentially unused without using
the __attribute__ keyword (which is not supported on all compilers).
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-22 11:32:07 -05:00
Peter Mitsis
13c86d9540
toolchain: Abstract compiler capabilities
...
Abstract compiler capabilities to help simplify support for various
toolchains.
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-22 11:32:04 -05:00
niffiwan
0e07f4414e
CMEASURE_DETONATE_DISTANCE should be a float
...
Thanks to Goober5000 for noticing this
2015-11-21 21:18:08 +10:00
Fabian Woltermann
71cf169a0a
Merge pull request #457 from asarium/feature/versionCheck
...
Add "$Minimum version" to game settings table
2015-11-21 11:08:13 +01:00
Fabian Woltermann
184a583a32
Merge pull request #459 from MageKing17/bugfix/support-subsystem-repair
...
Fix support subsystem repair rate (for real this time).
2015-11-20 17:24:47 +01:00
MageKing17
039359e7f2
Fix support subsystem repair rate (for real this time).
...
PR #445 was unfortunately incomplete; it fixed the time estimate for repairs, but not the actual repair part. I think I've identified which piece of code was preventing the actual repairs from working. This "repair_allocated > 0" conditional is actively preventing the "sip->sup_hull_repair_rate == 0.0f" branch from executing (so repair_allocated remains 0 and subsystems can't actually repair).
2015-11-20 06:50:49 -08:00
asarium
0bb6002f0a
Fix compilation error
...
Apparently multi_update.cpp isn't used anywhere in the code. That file
could be removed in the future.
2015-11-20 12:24:10 +01:00
MageKing17
91dbf8b751
Improve consistency/flexibility of version-specific comments.
...
matches_version_specific_tag() now uses the previously-FRED-only scan_fso_version_string() function, meaning it now supports version-specific comments with as few numbers as ;;FSO 3;; to as many numbers as ;;FSO 3.7.3.20151106;;, instead of you being required to supply exactly 3 numbers.
2015-11-20 03:22:45 -08:00
Fabian Woltermann
0c6bada5d5
Merge pull request #455 from Goober5000/set_arrival_info_sexp_help_tweak
...
improve sexp help regarding bitmasks on ship-arrival-info and ship-departure-info
2015-11-20 12:10:59 +01: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