Commit graph

3584 commits

Author SHA1 Message Date
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
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
Ben Payne
c19a70814c Tidy up and fix the various Assert macros
Rephrase the macros so that they can be used in expressions, and
properly require semicolons. And add the semicolons where missing.
2015-02-02 18:37:48 -05:00
Ben Payne
e03c3bb34f Fix TORQUE_UNUSED for recent versions of MSVC
Since there's now apparently no way to suppress the warning for a
particular variable without adding at least some extra size to the
executable, just turn the warning off in release builds. We leave it on in
debug since it can sometimes help catch bugs, and we don't care about a
little extra code in that configuration.
2015-02-02 18:33:49 -05: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
Daniel Buckmaster
f01596554a Discovered a new dependency. 2015-02-02 17:07:12 +11:00
Daniel Buckmaster
d6ce1c3601 Does not exist. 2015-02-02 17:07:06 +11:00
Daniel Buckmaster
abea882862 No GUI mode for now. 2015-02-02 17:06:48 +11:00
Daniel Buckmaster
cda70972d1 Merge pull request #1087 from GarageGames/development-3.6
Version 3.6.3
2015-02-02 14:24:48 +11:00
Daniel Buckmaster
05fba1f110 Reorganised. 2015-02-01 22:01:12 +11:00
Daniel Buckmaster
db06ffec7d Started to work on Vagrant configuration. 2015-02-01 21:22:05 +11:00
Luis Anton Rebollo
9a0247f780 Merge pull request #1147 from BeamNG/templates_frame_allocator_size
Fix torqueConfig.h TORQUE_FRAME_SIZE.
2015-01-31 19:35:25 +01:00
LuisAntonRebollo
1dacf7b04e Fix torqueConfig.h TORQUE_FRAME_SIZE. 2015-01-31 19:34:14 +01:00
Luis Anton Rebollo
c1b137f041 Merge pull request #1145 from BeamNG/dynamic-CMake-modules
Make CMake project load all .cmake files from the module folder Updated.
2015-01-30 18:33:59 +01:00
LuisAntonRebollo
744e7d4745 Merge remote-tracking branch 'GG-Github/development' into dynamic-CMake-modules
Conflicts:
	Tools/CMake/torque3d.cmake
2015-01-30 18:24:38 +01:00
LuisAntonRebollo
41cb63ec0e Fix testimg.ppm 2015-01-30 18:22:42 +01:00
LuisAntonRebollo
e5bb684c0e Update gitattributes with some text files for avoid EOF problems with Git. 2015-01-30 18:20:50 +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
c98e95e6ff Forgot supporting method
Added string manipulation functions upload, requires these changes to
compile.
2015-01-29 15:09:41 -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
29c2b98c47 Merge pull request #1092 from eightyeight/walkabout
Walkabout navigation editor
2015-01-30 09:00:11 +11:00
Nathan Bowhay
df2ca75b13 get max dynamic verts in script
you can now get the max dynamic vertices in script.
2015-01-29 12:02:40 -08:00
Nathan Bowhay
5cfcb0cd45 fixed comment
added path param documentation to display splash window.
2015-01-29 11:59:06 -08:00
Nathan Bowhay
55b91606e6 Added more token functions
Added a bunch more token functions and added comments to word
equivalents to let you know about the token version.
2015-01-29 11:54:44 -08:00
Nathan Bowhay
6a5fd4eceb date number to string
added month and week number to string console functions.
2015-01-29 11:53:25 -08:00
Nathan Bowhay
2d7472d160 add case sensitive strings
Added case sensitive strings function to add them to the string table.
2015-01-29 11:51:05 -08:00
Nathan Bowhay
14037a742a Added string manipulation functions
added some string manipulation functions, some are slightly different
versions of existing functions.
2015-01-29 11:48:15 -08:00
Nathan Bowhay
39d5563a8c Added type checking functions
added some type checking functions to TorqueScript.
2015-01-29 11:40:45 -08:00
Daniel Buckmaster
0d1f1aeeb9 Base navmesh size 1x1x1. 2015-01-29 22:23:26 +11:00