Commit graph

3520 commits

Author SHA1 Message Date
Areloch
701ae6034d Update simObject.cpp
Accidental redefine
2019-02-23 21:41:22 -06:00
Areloch
05909cf897 Adds ability to skip loading of cached dts in enumColladaForImport 2019-02-23 21:34:11 -06:00
Areloch
1f58050e47 Adds visualizers for various types of colorblindness to help calibrate scene's visual clarity given certain vision impairments.
(Also corrects some erroneous pathing in the other render visualizers to match)
2019-02-23 20:28:59 -06:00
Areloch
173dbc8868 Update simObject.cpp
better way to handle the validity check for const char*
2019-02-23 20:14:10 -06:00
Areloch
e1a1fd52dc Update gui3DProjectionCtrl.cpp
Corrected file capitalizations for linux
2019-02-23 20:12:17 -06:00
Areloch
6ae3076ab7 Moves the path return from fileDialog through the returnBuffer so it doesn't get mangled or corrupted in memory inadvertently. 2019-02-23 18:11:54 -06:00
Areloch
a937bf44f0 Tweaks some handling of guiTreeViewObj so you don't necessarily have to delete an object if you delete the tree item, as well as the ability to look up the object id via tree item.
Also removes spam in the event that an item on the tree is more of a data representation rather than literal object.
2019-02-23 18:01:14 -06:00
Areloch
728511b137 Sanity check so calling getFieldValue on a blank fieldName doesn't cause a crash. 2019-02-23 16:50:05 -06:00
Areloch
0760f35da0 Adds gui3DProjectionCtrl so a gui control can be tracked to a point in 3d space 2019-02-23 16:36:40 -06:00
Areloch
e89f959884 Updates TextEdit value when focus is lost. 2019-02-23 16:18:03 -06:00
Areloch
4e31deb94d Allows special inspectorFields to override the height they use in the rollouts 2019-02-23 16:08:47 -06:00
Areloch
9bf8337e4a Initial implementation of the Scene object for handling scenes/levels in a more consistent and deliberate way. 2019-02-23 15:55:28 -06:00
Areloch
b79030ebb4 Tweaks to the Asset/Module info echo behavior to spam the console less. 2019-02-23 14:20:57 -06:00
Areloch
2d1ee7c5a0 Adds ability to set the split point of a guiSplitContainer 2019-02-23 13:55:29 -06:00
Areloch
775ca57047 Merge pull request #2307 from Azaezel/highlightHax
nextfreemask does nothing for proximity mines as there are no subclas…
2019-02-21 00:08:57 -06:00
Areloch
251f24581e Merge pull request #2299 from Bloodknight/SQLiteConsoleRefactor
Sqlite Console refactor,
2019-02-20 23:51:56 -06:00
Areloch
99e3fa2156 Merge pull request #2305 from Azaezel/copyCleanup
corrects a copy-corruption flaw with GuiSwatchButtonCtrl::onMouseDragged
2019-02-20 23:12:58 -06:00
Areloch
fb4fc904fb Merge pull request #2309 from suncaller/warning-purge
Remove redundant variables and clean up C4312 and C4305 warnings
2019-02-20 23:01:31 -06:00
Areloch
fb85f5065f Merge pull request #2295 from Bloodknight/Add-editorconfig
Add a .editorconfig file
2019-02-20 19:46:20 -06:00
Azaezel
46624cc95a wireframe capsule set to the contents of the solid capsule for corrections and backwards compatibility 2019-02-19 16:30:39 -06:00
Azaezel
110d815b39 solid capsule renderfix. +/- halfhieght, not full, and need to do vector, not point-multiplication for the verts 2019-02-19 16:10:33 -06:00
Azaezel
05f8d8b5f1 corrects a parity flaw between wireframe and non wireframe box display 2019-02-19 13:13:23 -06:00
OTHGMars
3da245134d Switches to absolute position for mouse tracking when the platform cursor is visible. 2019-02-13 14:12:12 -05:00
Marc Chapman
c92c508a5d Adds the capability to add a small offset to the Z value of items being told to snap to terrain 2019-02-12 03:14:01 +00:00
Azaezel
b50f72b109 set gl vertcolor mapping to bgra format, the same as we do for stateblocks 2019-02-11 07:42:31 -06:00
Azaezel
b418e178f8 add vertex colors to standard cube sample mesh as a validation tool 2019-02-11 07:41:09 -06:00
suncaller
8a7c09c8fe Clean up redundant variables 2019-02-06 15:03:06 -05:00
Marc Chapman
1036097eca Merge branch 'gg-development' into SQLiteConsoleRefactor 2019-02-04 18:02:30 +00:00
suncaller
31d0eb16f8 Clean up MSVC warning [C4312] conversion from type to type * of greater size 2019-02-02 23:09:55 -05:00
suncaller
265e64f6fc Clean up MSVC warning [C4305]: truncation from 'double' to 'F32' 2019-02-02 23:07:44 -05:00
Areloch
166df7aada Update audioEnvironments.cs
Fixed a typo and spacing issues(as much as github allows)
2019-02-01 23:32:28 -06:00
Areloch
32c7f2c7a7 Merge pull request #2286 from Azaezel/NFD_Update
Nfd update
2019-02-01 19:34:38 -06:00
Areloch
9afb5e5105 Merge pull request #2298 from jmdejong/traviscompile
Travis Compile
2019-02-01 19:34:21 -06:00
Azaezel
0baa410619 nextfreemask does nothing for proximity mines as there are no subclasses on this chain, but does bump it's enum value over the limit with the new addition to sceneobject. so killed it. 2019-01-31 06:45:10 -06:00
Azaezel
e7c3085d5f corrects a copy-corruption flaw with GuiSwatchButtonCtrl::onMouseDragged
pretty sure the offending leak-line creeps in with
 561f010f2e/Templates/BaseGame/game/tools/base/utils/swatchButtons.ed.cs (L34)
comparative release/debug results in
string gridBitmap = "\c0"
vs
string gridBitmap = "ic\c1Gl\c0"
and the relavent initpersistfields entry of TypeString points to
561f010f2e/Engine/source/console/consoleTypes.h (L71)
which is likely causing malformation
2019-01-28 21:04:51 -06:00
Areloch
a77eb37f9a Merge pull request #2292 from Azaezel/highlightHax
afxRenderHighlightMgr: account for hardware skinning
2019-01-21 15:18:19 -06:00
Areloch
8717c6a376 Merge pull request #2300 from OTHGMars/SDL_Joystick2
Sdl joystick2
2019-01-21 15:17:31 -06:00
Areloch
72af45ef69 Merge pull request #2294 from OTHGMars/GuiInputCtrl
Adds features to GuiInputCtrl
2019-01-21 15:14:37 -06:00
Areloch
4d400bb206 Merge pull request #2296 from CouleeApps/patch-1
Fix SDL Input::getKeyCode on software keyboard layouts
2019-01-21 15:14:19 -06:00
OTHGMars
3af77bbf15 Adds support for SDL joystick and game controllers. 2019-01-10 20:09:05 -05:00
OTHGMars
0ae675839e Adds event codes for 2 POV hat masks, 2 trackballs and the guide button. 2019-01-10 20:06:54 -05:00
OTHGMars
2add57079d Updated to work without keyboard event refactor. 2019-01-10 17:44:30 -05:00
Marc Chapman
e5884c56a7 Sqlite Console refactor, also rename param to make tooltip function more helpful 2019-01-10 21:31:17 +00:00
troido
1226acc318 travis test whether compilation works on mac and linux
This checks both gcc and clang on linux, but only clang on mac

Becuse there are so many debug warnings they are supressed in a very hacky way:
Make is run first with error output ignored.
Then an incremental build is run which has the error output, but will only build the files that errored the first time (and will error again).
If anyone knows a better way to ignore the warnings that would be great.
2019-01-10 12:39:27 +01:00
Glenn Smith
a78235dd06 Fix Input::getKeyCode on software keyboard layouts
Input::getAscii goes Torque keyCode -> SDL Scancode -> SDL Keycode -> SDL ascii key name
Input::getKeycode used to be SDL ascii key name -> SDL Scancode -> Torque keyCode

This mismatch made software keyboard layouts behave incorrectly in different places. For example, you would bind a key to an ActionMap and it would activate with a different button than specified.
2019-01-10 04:15:22 -05:00
Areloch
8633884145 Merge pull request #2287 from Azaezel/macUpdates2
corrects compilation errors on mac
2019-01-09 09:42:19 -06:00
Marc Chapman
d681a20b2e Add a .editorconfig file 2019-01-08 19:35:02 +00:00
Brian Roberts
6e4ed303f6 Update afxRenderHighlightMgr.cpp 2019-01-07 11:41:17 -06:00
Azaezel
7939d08c6a afxRenderHighlightMgr: account for hardware skinning 2019-01-07 06:22:24 -06:00
Azaezel
9a7ae06721 tabspace 2019-01-06 15:50:19 -06:00