Areloch
48e994f7bd
Shift file handling in importer to a standardized function
...
Added santizing of strings to filenames, object names and asset names for the importer process
Added sanitizeString console function for above
Added processing of terrainBlock object's fields for importer
Added check to avoid updateTSShapeLoadProgress spam
Adjusted folderPrefix logic to walk up directory to find assetName that isn't already in use.
2021-08-15 03:07:40 -05:00
AzaezelX
594c4f65c7
bad constructor usage! bad! GCC no like!
2021-08-09 21:34:24 -05:00
Areloch
5525f8ecdd
Converts all game, gui editor, and system classes to utilize assets
...
Processed core, tools and default modules to utilize assets
Converted all console types that were string based, such as TypeImageFilename to utilize const char*/the string table, which avoids a lot of type swapping shenanigans and avoids string corruption
Removed unneeded MainEditor mockup module
Removed some unused/duplicate image assets from the tools
2021-07-19 01:07:08 -05:00
Lukas Aldershaab
099dd4f1f3
Parametrize script extension, default to 'tscript'
2021-01-19 21:32:31 +01:00
rextimmy
5a933c00d3
Removed old fixed function code from GFX.
2021-01-05 12:57:17 +10:00
Lukas Aldershaab
55f459cf2d
Add missing call to CInterface::IsMethod
2020-11-15 21:32:29 +01:00
Lukas Aldershaab
197a62f6ea
Convert dStrcmp to String::compare for more cases
2020-10-04 00:00:01 +02:00
Lukas Aldershaab
c999baf7ed
Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense.
2020-10-03 14:37:55 +02:00
Areloch
6cf0c9e360
Merge branch 'development' into EngineAPI-Refactor
2018-12-09 14:48:50 -06:00
Lukas Joergensen
7d91d0a577
Eliminate ConsoleFunction and ConsoleMethod, replace with DefineEngineStringlyVariadic
2018-04-20 22:09:58 +02:00
Lukas Joergensen
2bbc716db6
Eliminate unnecessary uses of ConsoleFunction
2018-04-17 21:41:29 +02:00
Lukas Joergensen
e718841467
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02:00
Azaezel
cbce2ee805
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
...
# Conflicts:
# Engine/source/console/consoleFunctions.cpp
2018-03-28 15:42:34 -05:00
Azaezel
9b8c950701
console membervar cleanup
2018-03-16 20:05:47 -05:00
Glenn Smith
47d5b6ead7
As suggested, extract strlen calls from sizes into variables so it isn't called twice
2018-03-08 20:59:40 -05:00
Glenn Smith
79c34c68db
Use strncpy instead of strcpy because again, buffer overflows
2018-03-06 02:35:33 -05:00
Glenn Smith
7769da9434
Use strncat instead of strcat to prevent some buffer overflows
2018-03-06 00:48:44 -05:00
Areloch
25686ed4be
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
Phillip Khandeliants
959701208b
Fixed V547: Bad C-string comparsion
...
This comparison of a string to an empty is meaningless, since in fact two pointers will be compared and the expression will always be false.
2017-04-27 12:03:44 +03:00
Thomas "elfprince13" Dickerson
849a1c1eb1
merged numerous changes from upstream
2017-03-03 21:17:07 -05:00
Thomas "elfprince13" Dickerson
45ae5e71cb
fixed lots of tabs and space
2017-01-06 18:04:28 -05:00
Areloch
170cdadf60
Fixes window icons with SDL, hooking it through the var $Core::windowIcon as the path.
...
Also adjusted the splash window icon to use the var $Core::splashWindowImage for it's path.
2016-12-22 00:52:34 -06:00
Areloch
255fec1a9d
Make exec() and getDSOPath() proper Con namespace functions.
...
Moves the console function exec()'s body into an actual function in the Con namespace as the function executeFile() to align with the other execute and eval functions.
Also moved the getDSOPath function(as exec/executeFile requires it) from being local in consoleFunctions.cpp to a Con namespace function as well, furthering the consistency.
2016-04-19 01:35:52 -05:00
Anis
973e5a6c02
Update consoleFunctions.cpp
2016-02-26 20:11:27 +01:00
Azaezel
7a60056365
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
2016-02-21 16:07:51 -06:00
Anis
8ec2e534dc
removed tabs
2016-02-21 22:36:27 +01:00
Azaezel
bc433e7c30
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
2016-02-21 15:31:09 -06:00
Azaezel
ca2ffea6cd
Merge branch 'development' of https://github.com/GarageGames/Torque3D into ColorPickerAdvanced
2016-02-21 15:30:54 -06:00
Anis
494922d9ed
fixed the not working text edit RGB field on color picker.
2016-02-21 18:14:41 +01:00
Areloch
165cdb64e9
Merge pull request #1322 from Areloch/String_isEmpty_Convert
...
Replace uses of dStrIsEmpty with new String::isEmpty
2015-10-31 23:40:13 -05:00
Areloch
bedc79aacb
Merges in Monkey's fixes PR with a resolution for a conflict
2015-09-03 22:58:57 -05:00
Areloch
0d6768d57b
Removing stuff pertaining to demo modes and trials, as they're redundant now.
2015-07-01 23:36:56 -05:00
Lopuska
03109c9d6d
Color Picker
2015-06-24 20:36:30 -05:00
Areloch
6e8fa7215a
Moves from using dStrIsEmpty to the new String::isEmpty static function. Keeps things cleaner, consistent, and works with intellisense.
2015-06-06 17:40:49 -05: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
3ab048c5b0
Fixes after feedback from Luis.
...
* Made use of dStrIsEmpty in more locations (and fixed it :P)
* Removed commented-out code
* Corrected default params
* Fixed some console warning formats
* Removed tabs
* Corrected setExtent API
2014-12-23 18:48:02 +11:00
Vincent Gee
2f48f31a6f
Fixed String comparisons.
2014-11-05 23:29:08 -05:00
Vincent Gee
acb192e2a5
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
2014-11-03 22:42:51 -05:00
Daniel Buckmaster
81a385094f
Merge pull request #842 from eightyeight/console-func-refactor
...
jamesu's console function refactor
2014-10-24 00:42:58 +11:00
Daniel Buckmaster
b507dc9555
Merge branch 'master' into console-func-refactor
...
Conflicts:
Engine/source/app/net/net.cpp
Engine/source/console/astNodes.cpp
Engine/source/console/compiledEval.cpp
Engine/source/console/console.h
Engine/source/console/consoleInternal.h
Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
Daniel Buckmaster
9f47032522
Allow return status to be specified using quitWithStatus.
2014-09-24 09:24:29 +10:00
Areloch
c2da67d473
Fixes the splash screen so that it displays until the game has actually done initial setup and can display GUI elements. This prevents the ugly blank window just sitting there while the GUI loads.
2014-07-15 17:44:19 -05:00
bank
f3fc84738b
Use fixed buffer size var when allocating return buffer from console.
...
Conflicts:
Engine/source/T3D/missionArea.cpp
Engine/source/gui/editor/guiDebugger.cpp
2014-06-11 13:09:55 +04:00
Daniel Buckmaster
87d9e245b7
Merge remote-tracking branch 'smally/platform_type_consistency' into platform-type-consistency
...
Conflicts:
Engine/source/platform/platformCPUCount.cpp
2014-04-04 13:43:25 +11:00
Thomas Fischer
502e346eb6
visual studio 2012 Level 4 warning fixes
2014-03-15 11:38:53 +01:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
DavidWyand-GG
2824bcf649
Remove hard coded paths pass 1
...
- displaySplashWindow() now takes an optional path to a bitmap file.
- Missing, unavailable and warning texture paths now come from
GFXTextureManager static methods.
2013-01-30 14:09:23 -05:00
DavidWyand-GG
539efcb1e1
Input event changes
...
- New InputEventManager class. It will be used by 3rd party input
devices to generate Torque 3D input events.
- Expanded the input event signal to include three new floats and a new
integer.
- Expanded the number of joystick buttons to 48.
- The input virtual map is now extendable rather than hard coded.
- The input devices types are now extendable rather than hard coded.
- New SI_POS, SI_ROT, SI_INT, and SI_FLOAT input event types.
- New SI_VALUE input action type.
- ActionMap has been updated to work with these changes.
- Removed unnecessary references to platform/event.h
2013-01-22 18:17:41 -05:00
Tim Newell
0d3a0f88e6
Bug fix for loading compiled dsos
2012-12-15 15:48:24 -05:00