Commit graph

4926 commits

Author SHA1 Message Date
Jeff Hutchinson
ada5c76bdd remove gestalt() as it has been deprecated and stopped working on Mac OS Yosemite 2015-02-09 10:12:59 -05:00
Azaezel
5bbbe7bbe2 extra entry in DefineConsoleFunction( queryMasterServer
looks like a copypasta slip up.
2015-02-09 02:12:25 -06:00
Daniel Buckmaster
01a219b694 stdint.h doesn't exist in VS2008, so add an inline replacement for it. 2015-02-09 09:59:04 +11:00
Luis Anton Rebollo
44da177b75 Merge pull request #1167 from eightyeight/no-web-deploy
Remove default web deployment
2015-02-08 15:59:53 +01:00
James Urquhart
4a97054f02 Workaround for GCC/LLVM 2015-02-08 11:22:17 +00:00
Daniel Buckmaster
6a96894a9c Merge pull request #1157 from eightyeight/linux-no-splash
Show the canvas immediately in unix because the splash doesn't work
2015-02-08 20:19:31 +11:00
Daniel Buckmaster
50c52a1cdb Remove default web deployment. 2015-02-08 20:11:23 +11:00
Daniel Buckmaster
a2ca161024 Defaults in project manager 2.2 2015-02-08 20:10:00 +11:00
Daniel Buckmaster
a6702d1331 Show the canvas immediately in unix because the splash doesn't work. 2015-02-08 19:31:02 +11:00
Daniel Buckmaster
f821898857 Also turn unit tests on 2015-02-08 17:57:27 +11:00
James Urquhart
1449c4df57 Add some tests for engineAPI and console 2015-02-08 00:08:19 +00:00
James Urquhart
94a46d7123 Regenerate engineAPI.h from a template 2015-02-08 00:08:19 +00:00
James Urquhart
f44a3f27d6 Fix stack balancing problems by refactoring execution calls
- Con::executef now uses a template
- All public execution functions now restore the console stack upon return
- Fixed bad parameters on some callbacks
- Reverts get*Arg behavior
2015-02-08 00:08:18 +00:00
Luis Anton Rebollo
b1ad72692c Merge pull request #1164 from BeamNG/remove_gl_shadegen_dead_code
Remove some dead code from OpenGL shadergen.
2015-02-07 23:50:41 +01:00
LuisAntonRebollo
c78f38fe0b Remove some dead code from OpenGL shadergen. 2015-02-07 22:49:58 +01:00
Luis Anton Rebollo
d90baad6fa Merge pull request #1100 from JeffProgrammer/glslShadergenDefineFix
Fixed define bug for OpenGL shadergen.
2015-02-07 22:46:13 +01:00
Luis Anton Rebollo
25a790103e Merge pull request #1116 from Lopuska/patch-16
Intel OpenGL - fix a crash/shader compile error when you activate Vertex...
2015-02-07 22:24:55 +01:00
Luis Anton Rebollo
2d3f711443 Merge pull request #1128 from Azaezel/cloudlayer
cloudlayer hdr packing
2015-02-07 20:50:29 +01:00
Luis Anton Rebollo
d26c846c31 Merge pull request #1140 from Lopuska/patch-18
ambient normal on GLSL
2015-02-07 20:43:08 +01:00
LuisAntonRebollo
57698599e0 Add missing <cfloat> and <limits> 2015-02-07 20:30:07 +01:00
Luis Anton Rebollo
1097e957a3 Merge pull request #1048 from Lopuska/patch-11
missing texture format.
2015-02-07 18:04:46 +01:00
Luis Anton Rebollo
514579c39b Merge pull request #1161 from BeamNG/fix_x64_2
More x64 fixes - 2
2015-02-07 17:05:23 +01:00
LuisAntonRebollo
5d49771136 Fix FIELDOFFSET for OSX. 2015-02-07 16:41:55 +01:00
LuisAntonRebollo
6d1ef41c69 Changed some size_t to uintptr_t. 2015-02-07 16:41:54 +01:00
Daniel Buckmaster
2416297b12 Separate GUI config. 2015-02-07 17:03:04 +11:00
Daniel Buckmaster
7252c69738 Readme will be replaced by wiki tutorial. 2015-02-07 14:27:10 +11:00
Daniel Buckmaster
4ea5ac8659 Default navigation module on in CMake 2015-02-07 14:07:30 +11:00
Daniel Buckmaster
7d3a76ab13 Start to work on Vagrant readme. 2015-02-07 13:20:45 +11:00
Daniel Buckmaster
2c0b941b31 Formatting. 2015-02-07 13:20:23 +11:00
Daniel Buckmaster
877aadd68e 64-bit is more common and works fine. 2015-02-07 13:20:10 +11:00
Nathan Bowhay
0a76809092 Opened finishLastLine to script
Opened finishLastLine to script so you can eat the rest of the lines in
script.
2015-02-05 11:44:32 -08:00
Nathan Bowhay
5f0b3984fc Added sendFile method
Added a method to send an entire file over tcp.
2015-02-05 11:43:56 -08:00
Nathan Bowhay
a0250e6c6b Added callback when we read all lines
Added a script callback when all lines have been read.
2015-02-05 11:41:44 -08:00
Nathan Bowhay
7ef3a64957 Added getLocalTime console function
Add getLocalTime console function so that script has access to the local
time.
2015-02-05 11:28:19 -08:00
Nathan Bowhay
40999be7c1 Improved file open dialogue
Added some extra parameters to open file dialogue and added a check to
findConstructor so it doesn't throw errors.
2015-02-05 11:19:41 -08:00
Nathan Bowhay
e3dc606623 Fixed small warning
Fixed small warning about unused local variable.
2015-02-03 15:07:12 -08:00
Nathan Bowhay
50f875a2f5 Fixed bug with comparison cases of getRenderEnabled
For some reason returning true/false rather that 1/0 from
_getRenderEnabled would cause errors in some comparison cases to see if
it was true or not (would treat it as if it was a string/word rather
than a bool or int).
2015-02-03 14:18:06 -08:00
Nathan Bowhay
1372b4f600 Fixed raycast bug start x position is NaN
Fixed bug in _castRay when the start x position is NaN.
2015-02-03 14:14:02 -08:00
Nathan Bowhay
ad267f0505 Fixed angle conversion issues
Fixed a variable name and method that should be const.
Also fixed several angle conversion functions that didn't convert the
angle correct.
2015-02-03 12:16:06 -08:00
Nathan Bowhay
c7e0d83587 Fixed possible divide by zero issues.
Fixed several areas in the point class that could have a divide by zero
issue.
2015-02-03 12:13:06 -08:00
Nathan Bowhay
686b9fced9 Round function can now round to number of digits
Changed round function to support optional n parameter to round to that
many digits.
2015-02-03 11:52:06 -08:00
Nathan Bowhay
2efe1a9c0a Added More Vector math functions
Added VectorMul (vector multiply), VectorDiv (vector divide, and
VectorMidPoint to find the midpoint of two vectors.
2015-02-03 10:59:32 -08:00
Nathan Bowhay
4f87422392 Added console method docs and removed function
Added a ton of console method documenation and removed
getSelectionCentroidText when you can just use a Point3F as the return
type.
2015-02-02 16:27:03 -08:00
Ben Payne
222be2bb72 Remove dead function 2015-02-02 19:11:20 -05:00
Nathan Bowhay
1ce846d235 add & delete object documentation
added add & delete object console method documentation.
2015-02-02 16:07:15 -08:00
Nathan Bowhay
72a0aed154 Some small console method docs
Added a little documentation to a console method.
2015-02-02 16:04:50 -08:00
Nathan Bowhay
105c2b68f7 Removed unused code
removed some unused code.
2015-02-02 15:55:07 -08:00
Nathan Bowhay
c85b5b9999 Fixed odd callback bugs
Fixed bugs with callbacks, I couldn't seem to use U8 correctly in script
for some reason, but S32 works. I may have needed to use some extra
operators or something maybe, it was so long ago I can't remember what I
got in script as it was so long ago.
2015-02-02 15:54:01 -08:00
Nathan Bowhay
2458ecad9b Fixed bug with bad index
Fixed a crash that would occur if an incorrect index was passed to
renderNodeName or renderNodeAxes.
2015-02-02 15:48:05 -08:00
Nathan Bowhay
f039c98f08 Fixed bug with dash character in menu item
Fixed a bug where if the text for a menu item started with - then it
would auto be disabled.
2015-02-02 15:46:26 -08:00