Commit Graph

1054 Commits

Author SHA1 Message Date
parax0 2bcf29dd7f Correctly handle link modifications, run OnLoadFinished when creating new nodes 2016-03-16 19:36:38 -06:00
parax0 c4e05610f3 Fully implemented delete, added an easy-to-use ID lookup system for undo commands, fixed a bunch of crashes when undoing/redoing after creating/deleting an object 2016-03-16 19:09:59 -06:00
parax0 63812ae4b2 Template updates 2016-03-13 22:34:02 -06:00
parax0 f02f7ada0f Moved selection handling code to CNodeSelection, implemented instance spawning, half-implemented instance deleting (this build is buggy/crash prone) 2016-03-13 22:30:04 -06:00
parax0 b2699eb96f Added icons for CameraBlurKeyframe and CameraFilterKeyframe, updated icons for SequenceTimer and PickupGenerator, added MP1 AreaAttributes Environmental Effect enum 2016-03-07 23:02:49 -07:00
parax0 c6a4190042 Fixed edit link line not rendering correctly in rooms without a skybox 2016-03-07 21:23:58 -07:00
parax0 57b7fbe7f6 Split check for picking into a separate line 2016-03-07 21:14:43 -07:00
parax0 4b8a42f341 Draw the edit link line when picking from the modify tab 2016-03-07 21:13:44 -07:00
parax0 95d4deeab6 Draw a line in the viewport to visualize the link the user is editing 2016-03-07 17:34:48 -07:00
parax0 0eae2162b9 Added Edit button icon 2016-03-07 15:22:11 -07:00
parax0 0b5c7c8e90 Implemented World Editor Link/Unlink actions 2016-03-07 14:44:09 -07:00
parax0 93d6e8dd14 Added context menu for picking the connecting object when creating a link 2016-03-07 10:25:53 -07:00
parax0 f4484556c0 Disable ok button in the link dialog when there's no sender/receiver; fix toggling Active not changing game mode visibility 2016-03-07 07:41:45 -07:00
parax0 c3ae63718b Turn off pick mode when the link dialog is closed 2016-03-06 18:05:40 -07:00
parax0 8f82dcbdd9 Implemented functionality for editing, creating, and deleting script object links 2016-03-06 17:44:51 -07:00
parax0 984d9cf3f3 Added "add/edit link" dialog to the modify tab 2016-03-01 11:18:07 -07:00
parax0 2860c27d15 Made collision wireframe render with glPolygonMode 2016-03-01 04:05:40 -07:00
parax0 6ac7c1cbd2 Fixed undo/redo when selecting objects from the instance view, set DKCR to render basic lighting for objects with no ingame model 2016-02-27 02:51:11 -07:00
parax0 ecab7be63f Set up DKCR waypoints to draw using the color of their attached spline path 2016-02-27 02:16:29 -07:00
parax0 17bb4567df Renamed should_cook to cook_pref 2016-02-26 05:45:21 -07:00
parax0 146c88d016 Removed some lines that weren't deleted in an earlier commit for some reason, fixed some objects being selectable in game mode despite not being visible, fixed a few property templates 2016-02-26 05:38:26 -07:00
parax0 e8f48ef66a Bugfixes + removing warning for invalid property count in MP2/3 areas 2016-02-26 04:58:58 -07:00
parax0 20849526e7 Renamed unknown properties that use a struct/enum template to match the template's name 2016-02-26 04:50:32 -07:00
parax0 b38c25e1f3 Marked uncooked properties in MP2/3 2016-02-26 04:37:36 -07:00
parax0 ccdf1af855 Syncing Miles's template changes. 2016-02-24 09:03:59 -07:00
parax0 baeb898f22 Made IPropertyTemplate::CookPreference non-virtual and replaced it with IProperty::ShouldCook 2016-02-24 07:18:29 -07:00
parax0 6e9f2e9037 Regenerated the always cook parameters for DKCR properties; this time it accounts for property overrides 2016-02-24 04:32:20 -07:00
parax0 f674b69962 Revert "Marked a bunch of DKCR properties as always cook"
This reverts commit dd4341d251.
2016-02-24 04:12:05 -07:00
parax0 a166dd8ac3 Fixed incorrect LayerSwitch/LayerID templates, made IPropertyTemplate::CookPreference() virtual and overrode it for certain types, fixed a CAnimationParameters bug 2016-02-24 04:01:03 -07:00
parax0 dd4341d251 Marked a bunch of DKCR properties as always cook 2016-02-23 02:08:57 -07:00
parax0 9f2c4d75bf Added area cooking support for MP2 and MP3. DKCR support has been started but is currently broken. 2016-02-22 11:47:47 -07:00
parax0 200918671b Implemented grid toggle in the model editor 2016-02-20 04:48:17 -07:00
parax0 5fbdfc8298 Added/updated some icons and made some UI changes - added/changed some UI actions and removed some UI elements that aren't being used 2016-02-20 04:41:07 -07:00
parax0 8c722c8308 Quick fix to keep the "white ambient" flag from being enabled in MP1/2 2016-02-19 18:47:21 -07:00
parax0 1727a337c6 Added support for "white ambient" flag in DKCR to fix black world geometry 2016-02-17 03:43:15 -07:00
parax0 63bdc1def7 Set DKCR game mode to check for InternalState5/6 + fixed an infinite recursion issue 2016-02-17 02:40:17 -07:00
parax0 c36c09a674 Improved DKCR game mode + a few other assorted fixes 2016-02-17 01:55:19 -07:00
parax0 9eaf537611 Added application icon 2016-02-16 19:41:54 -07:00
parax0 dfd9ea92db Overhauled CompressionUtil 2016-02-15 06:20:34 -07:00
parax0 a35044ef83 Moved Log to Common and made some changes to log formatting 2016-02-15 05:28:20 -07:00
parax0 d39a9dd1c1 Added "support" for MayaSpline properties 2016-02-15 02:06:44 -07:00
parax0 c1e3808196 Added dialog for editing property templates 2016-02-14 21:36:24 -07:00
parax0 34eb7c436e Finished the template writer and regenerated templates (most of the template changes are just automated formatting changes) 2016-02-14 01:03:17 -07:00
parax0 3296948bea Fixes to avoid needless re-buffering in PostLoad + fix for a crash/memory leak when changing areas 2016-02-10 18:49:56 -07:00
parax0 7bd97f0fce Make enum properties track the enumerator ID internally instead of the index + CUniqueID bugfix 2016-02-10 18:48:34 -07:00
parax0 739e3c51bf Added PostLoad methods to ensure all models have created vertex buffers and all materials have generated shaders before the user gains control of the camera, to fix hitching issues 2016-02-10 17:38:32 -07:00
parax0 6d55444cc2 Added a label to WEditorProperties to present some basic information on the selected instance 2016-02-10 17:35:36 -07:00
parax0 e13868921c Added a bunch of new functionality to the property classes, set up property view to bold property names if the property has been modified from its default value 2016-02-10 04:55:05 -07:00
parax0 d9b5895074 Merged all the Properties.xmls together to eliminate the need to sync property name changes between games 2016-02-08 04:35:04 -07:00
parax0 55b2c053ab Added support for numerical property suffixes 2016-02-08 03:35:28 -07:00