m!m
546339c53a
Merge pull request #440 from The-E/no_persona_defaulting
...
small error correction
2015-11-14 23:20:14 +01:00
The E
f790b3b0c6
small error correction
2015-11-14 23:13:32 +01:00
m!m
bbcfe162da
Merge pull request #439 from The-E/no_persona_defaulting
...
Adds Persona flag "$Allow substitution of missing messages:"
2015-11-14 15:54:44 +01:00
m!m
51efc000ab
Merge pull request #435 from PeterMitsis/lighting-apply-keywords
...
Lighting apply keywords
2015-11-14 14:35:57 +01:00
The E
cbad1cf10f
Addressing style comments
2015-11-14 13:30:51 +01:00
Peter Mitsis
56343f0d03
lighting: remove void keyword from empty argument list
...
Routines in the lighting module that do not have any arguments do not
need the 'void' keyword in either their definitions or declarations.
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-14 07:08:52 -05:00
The E
67d51037ff
Adds Persona flag "$Allow substitution of missing messages:"
2015-11-14 12:55:41 +01:00
Goober5000
47d82a007f
Merge pull request #434 from asarium/multi/staticAssert
...
Check the size of data in multi packets
2015-11-13 21:20:44 -05:00
DahBlount
3e6fb113ee
Deprecate +Min Damage and +Max Damage, add +Attenuation Damage:
2015-11-13 12:26:04 -07:00
MageKing17
515f9fffb5
Merge pull request #431 from The-E/more_ship_classes
...
Upped MAX_SHIP_CLASSES to 500
2015-11-13 07:13:21 -08:00
asarium
28c9512727
Fix compilation
...
Now the static_asserts use the types from cstdint
2015-11-13 11:52:52 +01:00
Fabian Woltermann
e9a3e457cc
Merge pull request #426 from Yarn366/events_editor_filename_fix
...
Fix for crash in events editor
2015-11-12 19:27:17 +01:00
Fabian Woltermann
3637a9717c
Merge pull request #427 from DahBlount/Directional-Beam-Glows
...
Directional beam glows
2015-11-12 19:26:27 +01:00
Peter Mitsis
f5ccad9619
lighting: Apply keywords
...
Applies the following keywords to the lighting module:
const
static
void
extern
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-11 11:20:01 -05:00
Peter Mitsis
b10de88cf0
lighting: Remove unused global variables
...
The following global variables from the lighting module were unused
and are being removed:
int cell_shaded_lightmap = -1;
int spec = 0;
Signed-off-by: Peter Mitsis <[email protected] >
2015-11-11 11:20:01 -05:00
asarium
34a7f7d60f
Check the size of data in multi packets
...
This will make sure that compiler changes that affect the size of a
type are noticed early.
2015-11-11 14:56:14 +01:00
MageKing17
dba2d28265
Fix ship-turret-target-order.
...
We were declaring an array of NUM_TURRET_ORDER_TYPES ints, and then only specifying the first oindex of them; the memcpy() could've been changed to multiply by oindex instead, but it seemed cleaner to just reset new_target_order to -1 in all values and get rid of the redundant per-ship reset.
Discovered by triggering an Int3() in aiturret.cpp (line 1167 as of this writing) and finding uninitialized values in the turret_targeting_order array.
2015-11-10 14:55:55 -08:00
The E
647f6a867b
Upped MAX_SHIP_CLASSES to 500
2015-11-10 15:55:46 +01:00
DahBlount
89d072e18c
Add +Directonal Glow:
...
This goes directly below +Muzzleglow: in $Beam Info: and causes the muzzle glow to be rendered along a projected poly instead of a bitmap.
Takes a float argument that is the length of the glow.
2015-11-09 14:28:40 -07:00
Yarn366
b1e7a2a1bf
Don't add an extension to a sound's file name if the extension is supposed to be present already
2015-11-09 00:31:40 -05:00
niffiwan
2c8d921d64
Change Assert to Error
...
This seems to be a data error rather than a coding error. Also provide
the user with more info to assist with tracking down the source of the
problem.
2015-11-08 13:04:13 +10:00
Echelon9
97c5a29b76
Better wrap to 80 character lines where sensible in gr_opengl_init()
2015-11-07 23:17:42 +11:00
Echelon9
fa9bd1c446
Whitespace clean up
2015-11-07 23:17:42 +11:00
Echelon9
04352920ee
Export opengl_tnl_init(), so that it doesn't need to be extern'd. Consistent with opengl_tnl_shutdown()
2015-11-07 23:17:42 +11:00
Echelon9
8111924f9b
OpenGL: Use the Core rather than older Extension form of GL_MAX_TEXTURE_IMAGE_UNITS
2015-11-07 23:17:42 +11:00
Echelon9
a11c69673e
Const correctness for ver in gr_opengl_init()
2015-11-07 23:17:42 +11:00
Echelon9
0b61d0bd8e
OpenGL: Use the Core rather than older Extension form of GL_SHADING_LANGUAGE_VERSION.
2015-11-07 21:52:43 +11:00
Echelon9
697c900a25
OpenGL: As of GLSL 4.00 'sample' is a keyword. See further Section 3.6 Keywords https://www.opengl.org/registry/doc/GLSLangSpec.4.00.7.pdf
2015-11-07 14:44:06 +11:00
m!m
fbc9ede423
Merge pull request #398 from Goober5000/g3_const
...
const-correctness inspired by #392 , because why not be masochistic
2015-11-06 16:51:32 +01:00
niffiwan
1d66596bfb
Disable shadows by default
...
Enable shadows with -enable_shadows
-shadow_quality should still work
2015-11-06 07:59:03 +10:00
Goober5000
b704050c21
change these functions to return bool rather than int; fixes a minor warning
2015-11-05 00:36:06 -05:00
MageKing17
5676dbf9bd
Merge pull request #414 from Goober5000/issue_412_fix
...
properly close the fiction viewer when returning to the main menu
2015-11-04 03:04:09 -08:00
Goober5000
564f31aeab
properly close the fiction viewer when returning to the main menu
2015-11-04 00:54:02 -05:00
The E
5a37992d3d
Adds profiling for sexp events and lua On Frame scripts.
2015-11-03 13:10:07 +01:00
Fabian Woltermann
3ade9ae1de
Merge pull request #389 from Goober5000/shipfx_eye_in_shadow_alt_pr
...
Alternative suggested PR to #384
2015-11-02 09:51:17 +01:00
niffiwan
5c74720265
Fix memory leak in ds_load_buffer
2015-11-01 19:33:10 +10:00
niffiwan
556e9a4447
Merge pull request #404 from Yarn366/scalable_head_anis
...
Scalable head ANIs
2015-11-01 15:41:42 +10:00
Goober5000
1bd8e11194
Merge pull request #401 from niffiwan/fix/missionparse_ammo_II
...
Guard against negative array index reads
2015-10-31 15:08:49 -04:00
niffiwan
253d8a7eb1
Fix memory leak from Control_config_presets
2015-10-31 14:06:56 +10:00
Fabian Woltermann
30564248a6
Merge pull request #405 from niffiwan/valgrind/camera_leak
...
Fix memory leak in cam_create/cam_close
2015-10-30 16:45:06 +01:00
niffiwan
9dfa67b64d
Correctly compare vector .end()
2015-10-30 22:01:06 +10:00
Yarn366
c3c7477114
Made head animations scale to the size of the gauge window. Also deprecated "Animation Background Size" parameter and added the more accurately named "Animation Size" parameter, which sets how large animations should be.
2015-10-29 14:35:08 -04:00
Goober5000
bbad1c2159
more const-correctness per PR comments
2015-10-29 09:34:18 -04:00
Yarn366
fc941e9ca8
Merge branch 'master' of https://github.com/scp-fs2open/fs2open.github.com into sparky_hi_fallback_fix
2015-10-28 18:26:49 -04:00
Yarn366
93e8e3ab6f
Resolutions below 1024x600 are no longer changed to 800x600 if sparky_hi_fs2.vp is missing.
...
In addition, the gr_get_resolution_class function has been added to avoid duplication of its code.
2015-10-28 18:21:31 -04:00
Goober5000
14eec21c68
Merge pull request #384 from The-E/mc_info_constructor
...
Better handling for mc_info
2015-10-28 08:48:57 -04:00
niffiwan
1ceae13be2
Guard against negative array index reads
...
Also convert Assert to Assertion to provide more info
2015-10-28 21:53:57 +10:00
niffiwan
fb20632b18
Fix memory leak in cam_create/cam_close
2015-10-28 21:26:00 +10:00
niffiwan
62fcbeaae8
Merge pull request #380 from Goober5000/wf_never_existed_removal
...
remove WF_NEVER_EXISTED
2015-10-28 19:35:46 +10:00
niffiwan
4250751ccc
Merge pull request #393 from Goober5000/convert_qsort_to_std_sort
...
convert qsort to std::sort
2015-10-28 19:33:12 +10:00