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
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
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
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
d0972c9be1
Small crash fix
...
Crash fix when font isn't set.
2015-02-02 15:27:56 -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
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
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
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
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
Daniel Buckmaster
68d3e84c08
Merge pull request #1115 from Lopuska/patch-14
...
Jeff Faust's terrain fix also in OpenGL
2015-01-28 21:04:33 +11:00
Daniel Buckmaster
bc12f13e9a
Rename netTest.cpp to netExamples.cpp
2015-01-28 09:53:04 +11:00
Daniel Buckmaster
70d2ec6718
Merge pull request #1124 from eightyeight/forest-wind-emitter
...
Forest wind emitter rendering improvement
2015-01-27 08:58:12 +11:00
LuisAntonRebollo
52d8aa3a97
Remove a get* OpenGL function causing CPU-GPU sync point (bad performance).
2015-01-26 01:56:13 +01:00
Daniel Buckmaster
540e68aadb
Undid changes to Point3F.
2015-01-26 00:16:38 +11:00
Luis Anton Rebollo
6492028bb2
Merge pull request #1035 from bpay/memfixes
...
Memfixes
2015-01-25 13:42:32 +01:00
Vincent Gee
c1203c1cea
Dev forest wind emitter improvement
...
So the problem is that when your inside the sphere it won't render so it might make someone
think that it's not working right. So what I did was determine if the camera is inside the sphere.
If the camera is inside the sphere, then I find the distance from the center of the sphere to the camera
Round down and use that as the radius to draw the sphere.
That way if someone zooms in or out, their screen is still showing the sphere.
2015-01-25 22:50:36 +11:00
Luis Anton Rebollo
79df1a1b3a
Merge pull request #1089 from eightyeight/profile-stringtable
...
Add profiler regions for StringTable functions
2015-01-25 10:56:20 +01:00
Luis Anton Rebollo
94f5e6d9dc
Merge pull request #1080 from eightyeight/netevent-reference-counting
...
Use a strong reference instead of more manual reference counting
2015-01-24 23:03:33 +01:00
Luis Anton Rebollo
ea0e3fd683
Merge pull request #1096 from bpay/fix-include-guards
...
Fix include guards
2015-01-24 23:02:13 +01:00
Luis Anton Rebollo
be84142502
Merge pull request #1118 from Lopuska/patch-17
...
fix #1117
2015-01-24 22:59:06 +01:00
Luis Anton Rebollo
ca382f56a6
Merge pull request #1119 from Lopuska/patch-18
...
OpenGL fix - fixed a crash when you activate Alpha Threshold checkbox wi...
2015-01-24 22:58:47 +01:00
LuisAntonRebollo
4e9034854d
Linux implementation. Include changes for gcc x64.
2015-01-24 22:08:26 +01:00
LuisAntonRebollo
a7002c0ecc
Changes for Linux.
2015-01-24 21:52:46 +01:00
Anis
4ccf89ba8e
fix to avoid a missing sampler name declaration
2015-01-21 14:39:05 +01:00
Anis
5d392e373e
Update shaderFeatureGLSL.cpp
2015-01-20 19:13:25 +01:00
Anis
c9116dd4a4
OpenGL fix - fixed a crash when you activate Alpha Threshold checkbox without a diffuse map
2015-01-20 19:07:29 +01:00
Anis
f05b1b5cbd
fix #1117
2015-01-20 17:02:56 +01:00
Anis
32b2564cd5
Jeff faust fix also on openGL.
2015-01-19 18:04:31 +01:00
LuisAntonRebollo
3336bffad2
Changes for Linux.
2015-01-19 01:44:36 +01:00
LuisAntonRebollo
aa35157eef
PlatformSDL implementation.
2015-01-19 01:17:37 +01:00
LuisAntonRebollo
21d58bb191
Modified files for SDL2.
2015-01-19 00:33:23 +01:00