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
James Urquhart
4a97054f02
Workaround for GCC/LLVM
2015-02-08 11:22:17 +00: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
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
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
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
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
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
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
Nathan Bowhay
ae706b2407
Removed unused parameters
...
I am not sure why there were parameters for this method when they
weren't being used (perhaps leftover from before?), but I removed them.
2015-02-02 15:40:51 -08:00
Nathan Bowhay
881f9abeb6
Added console method docs
...
Added more console method documentation and made parameter names more
descriptive.
2015-02-02 15:39:11 -08:00
Nathan Bowhay
dd9b788ab4
More console method docs
...
More documentation for console methods in doxygen format.
2015-02-02 15:31:38 -08:00
Nathan Bowhay
a6510190bb
Added a bit more documentation
...
Added a little more documentation to some console methods.
2015-02-02 15:30:07 -08:00
Nathan Bowhay
d0972c9be1
Small crash fix
...
Crash fix when font isn't set.
2015-02-02 15:27:56 -08:00
Nathan Bowhay
879dbf0b03
Documented console methods
...
Added more documentation to console methods, changed inconsistent or
confusing parameter names.
2015-02-02 14:59:49 -08:00
Nathan Bowhay
77b9600303
IsActive fix & code cleanup
...
Now if a text edit is set to inactive you can't mouse down.
changed code
to use setVariable so code is a bit cleaner.
Fixed some small spacing
issues.
2015-02-02 13:54:56 -08:00
Nathan Bowhay
fbc6bcea20
Added better comments to console methods
...
Improved the comments on two console methods so when using them it is
clearer what to expect.
2015-02-02 12:50:34 -08:00
Nathan Bowhay
b11bc8e93a
Fixed some positioning bugs
...
Fixed some cursor positioning bugs in the MLTextCtrl.
Also removed parameters from function that doesn't actually take
parameters.
2015-02-02 12:17:38 -08:00
Nathan Bowhay
722008570a
Fixed bug with console expression result
...
Fixed a bug with the result of a console expression not always
displaying.
2015-02-02 12:02:56 -08:00
Luis Anton Rebollo
cc9be50422
Merge pull request #1121 from bpay/fix-buffer-overflows
...
Fix buffer overflows
2015-02-02 20:15:51 +01:00
Nathan Bowhay
789cc47b67
Fixed null profile crash
...
If the profile was null it would crash.
2015-01-29 15:58:41 -08:00
Nathan Bowhay
fe544597e3
onScroll not always called
...
onScroll callback wasn't always being called, fixed that.
2015-01-29 15:52:10 -08:00
Nathan Bowhay
1903413a54
Removed unused variables
...
Removed unused variables.
2015-01-29 15:48:11 -08:00
Nathan Bowhay
ac0ba27753
Fixed degree symbol not displaying
...
Fixed bug with degree symbol not displaying correctly in torque thanks
to the forums:
http://www.garagegames.com/community/forums/viewthread/125190/1#comment-804996
2015-01-29 15:18:00 -08:00
Nathan Bowhay
42126937e6
Fixed warning
...
Fixed a compile warning about casting.
2015-01-29 14:53:20 -08:00
Nathan Bowhay
d5a6e15cfe
Fixed comment
...
fixed an incomplete comment/documentation for displaySplashWindow.
2015-01-29 14:43:02 -08:00
Nathan Bowhay
62b5c9fcfd
Fixed issue with string replace
...
String replace doesn't always work correctly this fixes it.
2015-01-29 14:42:28 -08:00
Daniel Buckmaster
0d1f1aeeb9
Base navmesh size 1x1x1.
2015-01-29 22:23:26 +11:00
Daniel Buckmaster
bd437cda1c
Merge branch 'development' into walkabout
...
Conflicts:
Engine/source/T3D/aiPlayer.cpp
2015-01-29 21:38:20 +11:00
Daniel Buckmaster
014b566014
Merge remote-tracking branch 'gg/development-3.6' into development
...
Conflicts:
Engine/source/T3D/gameFunctions.cpp
2015-01-29 21:17:38 +11:00
Daniel Buckmaster
cb047bd7f0
Rename all instances of Walkabout.
2015-01-29 21:09:32 +11:00
Daniel Buckmaster
75bb3303d4
Merge pull request #1137 from eightyeight/moveselection
...
Fix changes to moveSelection API
2015-01-29 19:56:09 +11:00
Daniel Buckmaster
1467fa4e55
Merge pull request #1133 from GarageGames/nettest-conflict
...
Rename netTest.cpp to netExamples.cpp
2015-01-29 19:41:58 +11:00
Daniel Buckmaster
0605f056e3
Fix changes to moveSelection API.
2015-01-28 21:25:15 +11:00