Commit graph

4712 commits

Author SHA1 Message Date
Luis Anton Rebollo
1d501ea95e Merge pull request #1198 from BeamNG/fix_bullet
Fix Bullet compilation.
2015-02-15 12:35:24 +01:00
LuisAntonRebollo
2eca491961 Fix Bullet compilation. 2015-02-15 12:33:00 +01:00
Areloch
a7740bc587 Merge pull request #1196 from brakhane/scrollVisible-missing-return
Confirmed that this is needed to compile and fixes the problem.
2015-02-15 01:16:09 -06:00
Dennis Brakhane
b580b4a542 return the result value of scrollVisible
The console function changed from void to bool, so we
should actually return the value.

Also, the missing return is an error in VS2013.
2015-02-14 17:19:11 +01:00
Daniel Buckmaster
7992865525 Merge pull request #1180 from jamesu/math_control_state
Add math control state functions for intel
2015-02-14 23:57:50 +11:00
Daniel Buckmaster
486a12cb96 Merge pull request #1183 from MusicMonkey5555/documentation
Documentation
2015-02-14 19:52:37 +11:00
Daniel Buckmaster
47626684ce Merge pull request #1159 from GarageGames/navigation-default-on
Include navigation and testing modules by default
2015-02-14 19:28:56 +11:00
Daniel Buckmaster
ec06dd78f9 Fix unit tests. 2015-02-14 14:50:32 +11:00
Nathan Bowhay
0a345674ed Fixed spacing issues
Tabs to 3 spaces.
2015-02-12 14:46:07 -08:00
Nathan Bowhay
dd46e800eb Fixed spelling errors
Fixed spelling errors.
2015-02-12 14:14:10 -08:00
Luis Anton Rebollo
24c11eb51c Merge pull request #1190 from Azaezel/TORQUE_NSIGHT_WORKAROUND
nvidia nsight debugger support.
2015-02-12 22:11:36 +01:00
Azaezel
43e0826308 reordered by request 2015-02-12 14:47:39 -06:00
Azaezel
02de4658e5 nvidia nsight debugger support.
requires defining the TORQUE_NSIGHT_WORKAROUND preprocessor macro
2015-02-12 14:31:10 -06:00
Nathan Bowhay
69b1c0072c Allowed for WebSocket reading
Allowed for WebSocket reading in script.
2015-02-12 12:19:56 -08:00
Nathan Bowhay
1d20f6d26a Fixed spacing issues
Changed spacing from tabs to 3 spaces.
2015-02-12 12:18:34 -08:00
Nathan Bowhay
0915a642a5 Optimized file reading to buffer
Optimized the code that reads the file to the buffer as suggested by
@jamesu
2015-02-12 12:07:55 -08:00
Nathan Bowhay
87bb479c8c Check now platform independent
Now it uses a Torque function to check so it compiles on Linux.
2015-02-12 11:39:47 -08:00
Nathan Bowhay
7809e595ed Fixed tab vs spaces
Fixed tab vs spaces
2015-02-12 11:05:44 -08:00
Nathan Bowhay
32a4365ea9 Optimized code
Since floating point division is the most expensive operation, it was
optimized.
2015-02-12 11:00:25 -08:00
Nathan Bowhay
57bad98569 Fixed spacing and optimized
Fixed tab vs 3 spaces and optimized the code a bit.
2015-02-12 08:31:54 -08:00
Nathan Bowhay
246df9c454 Added parenthesis
Added parenthesis to avoid turning height into a true/false evaluation
result.
2015-02-12 08:25:16 -08:00
Nathan Bowhay
2e7018bf68 Added type conversions to fix compile errors
Added two type conversions that were missing in order to fix some
compile errors.
2015-02-11 10:55:30 -08:00
Nathan Bowhay
02f859c150 Fixed spacing to fit GG standards.
Fixed tabs to 3 spaces.
2015-02-11 10:53:34 -08:00
Nathan Bowhay
32e3678000 Fixed incorrect file size returned
According to
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365740%28v=vs.85%29.aspx
to return the actual file size you need to use the high and low file
size.
2015-02-11 09:57:36 -08:00
Nathan Bowhay
0007a518bc Corrected filesize units in return comment
I may be mistaken but at least in windows I think the return will be in
bytes no KB.
2015-02-11 09:53:45 -08:00
Nathan Bowhay
27fa97f44d shellExecute return documentation
Added documentation to shellExecute about bool that is returned.
2015-02-11 09:52:59 -08:00
James Urquhart
a3f8227541 Add math control state functions for intel 2015-02-10 22:54:18 +00:00
James Urquhart
97ab694af8 Add extra executef by popular demand 2015-02-10 22:36:09 +00:00
Daniel Buckmaster
47d5d80e80 Merge pull request #1171 from Azaezel/masterQueryFix
extra entry in DefineConsoleFunction( queryMasterServer
2015-02-11 09:15:01 +11:00
Daniel Buckmaster
f26210f0f5 Merge pull request #1176 from GarageGames/fix-vs2008-again
Fix VS2008 again
2015-02-10 15:23:36 +11:00
Daniel Buckmaster
d10afa2ba2 VS2008 doesn't have stdint.h 2015-02-10 15:22:35 +11:00
Daniel Buckmaster
caf036633a Merge pull request #1170 from eightyeight/fix-vs2008
Fix VS2008
2015-02-10 15:00:52 +11:00
Daniel Buckmaster
7d4aeb8779 Merge pull request #1175 from Azaezel/linkNamespacesDebugOutput
feedback for *which* namespace is already linked.
2015-02-10 14:55:14 +11:00
Azaezel
fb79d1fec7 formatting 2015-02-09 21:53:44 -06:00
Azaezel
16ed4d2811 stack corruption's bad, mmmmkay? 2015-02-09 19:04:51 -06:00
James Urquhart
3f97c2cedd Fix building on GCC 2015-02-09 16:14:14 +00:00
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