60 Commits

Author SHA1 Message Date
Lioncash
a48d3202b6 CScriptNode: Make use of size_t where applicable 2020-06-28 00:27:23 -04:00
Lioncash
4b3af988ad General: Add missing override specifiers where applicable 2020-06-22 02:15:41 -04:00
Lioncash
2b7513b156 SSurface: Make IntersectsRay() a const member function 2020-06-21 19:48:39 -04:00
Lioncash
ebd1468bbf IProperty: Make use of size_t where applicable 2020-06-21 19:27:44 -04:00
Lioncash
79f4866365 CDamageableTriggerExtra: Make use of structured bindings 2020-06-21 02:40:25 -04:00
Lioncash
8c3f77df8a CDamageableTriggerExtra: Mark member functions as const where applicable
These don't modify instance state.
2020-06-21 02:37:42 -04:00
Lioncash
ef57260f0b CWaypointExtra: Make use of ranged-for where applicable
Same behavior, less moving parts.
2020-06-20 00:06:59 -04:00
Lioncash
8c06309364 CSplinePathExtra: Collapse RemoveWaypoint loop into find_if() 2020-06-20 00:00:09 -04:00
Lioncash
40f0fbca4c CPointOfInterestExtra: Make color instances constexpr
Avoids unnecessary file-scope static constructors.
2020-06-19 18:35:11 -04:00
Lioncash
b559df4e0a CDoorExtra: Tidying up
- Fix wonky formatting
- Apply const
2020-06-19 02:38:35 -04:00
Lioncash
3dd325f708 CDamageableTriggerExtra: Make use of unique_ptr
Safer lifetime management.
2020-06-19 00:28:25 -04:00
Lioncash
81560138c0 CDamageableTriggerExtra: add missing override specifier 2020-06-19 00:26:48 -04:00
Lioncash
75be364148 CDamageableTriggerExtra: Make use of std::array
Stronger typing.
2020-06-19 00:26:09 -04:00
Lioncash
b781ca7b89 CPointOfInterestExtra: Convert 0 literal to nullptr 2020-06-18 08:03:54 -04:00
Lioncash
6f1d6a8649 CScriptObject: Make use of size_t where applicable
Plays with standard containers nicer.
2020-06-18 07:17:02 -04:00
Lioncash
31a1de9191 CScriptExtra: Eliminate sign conversion warnings 2020-06-18 06:50:17 -04:00
Lioncash
566a32fd75 General: Migrate off non-constexpr constants 2020-06-16 22:48:11 -04:00
Lioncash
e18e73cca5 CBasicModel: Make use of size_t where applicable
Same behavior, but without some internal variable truncation.
2020-06-15 19:48:25 -04:00
Lioncash
012da6fb6d General: Remove unnecessary inline specifiers and add overrides 2020-06-11 15:49:42 -04:00
Jack Andersen
6e3b23ec50 Accurate MP3 material processing 2019-11-06 16:52:45 -10:00
1c80a13c23 Silence Warnings 2019-05-26 18:18:31 -07:00
Jack Andersen
9f94db6c82 Linux build fixes 2019-05-25 20:24:13 -10:00
Aruki
a1d94cc58f Rewrote SCAN asset handling + loading 2019-01-12 21:28:04 -08:00
Aruki
c4829f5fda Cleanup & refactoring 2018-12-16 14:00:40 -07:00
Aruki
2287b05bc3 Refactor so PWE compiles with the newly externalized LibCommon 2018-12-11 22:50:46 -07:00
Aruki
84d689e104 Changed EGame to an enum class. Created NGameList and NPropertyMap to change how templates are managed/saved/loaded. Added support for property map keeping track of ID/type pairs. 2018-10-07 17:53:19 -06:00
Aruki
31dac74a64 Property cleanup 2018-09-22 13:36:50 -06:00
Aruki
e68b961a8c Fixed doors not rendering correctly, fixed array properties not displaying correctly, fixed crashes when accessing certain property types 2018-09-22 12:18:39 -06:00
Aruki
148449e50b Various property cleanup, fixing more broken stuff, trialing new features 2018-07-16 02:29:29 -06:00
Aruki
ce3dfdc397 Massive overhaul of property system done over the last few months. There is unfinished/broken stuff still, but it compiles now. 2018-06-22 15:24:04 -06:00
Aruki
f72f82d519 Dropped support for transient resources; I am not using this functionality at all whatsoever and likely won't for a while, so why do I have it? 2017-05-07 20:29:33 -06:00
parax0
0929b20ba1 Renamed file properties to asset properties and modified asset properties to store a CAssetID instead of a CResourceInfo 2016-09-01 00:24:46 -06:00
parax0
f967519a77 Fixed unnecessary ray tests being performed 2016-06-29 23:20:34 -06:00
parax0
3009f06d11 Implemented filesystem handling functions in Common 2016-05-18 20:59:01 -06:00
parax0
f64ee6b3b7 A model's surfaces are now depth sorted together (except on world geometry) 2016-05-03 05:05:10 -06:00
parax0
57451e231d Fixed damageable triggers rendering the wrong side in rotated areas 2016-05-03 03:13:21 -06:00
parax0
ce688fcb8e Applied various fixes to the attachment system, made skeleton rendering more flexible, added the ability for attachments to specify an attach type 2016-05-01 17:32:55 -06:00
parax0
cf84f9909a Added support for attaching assets from properties to locator bones in the World Editor 2016-04-30 06:17:02 -06:00
parax0
59d8de0f31 Added support for depth groups on the renderer 2016-04-27 23:32:02 -06:00
parax0
82ad4fb5c8 Mass code cleanup 2016-03-27 13:09:38 -06:00
parax0
9d782f5a4c Fixed rotation arrow rendering bug, fixed waypoint path bounding boxes not updating when the waypoints are transformed, fixed clone selection and paste nodes commands not properly notifying linked instances of their links being modified 2016-03-21 16:01:14 -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
8f82dcbdd9 Implemented functionality for editing, creating, and deleting script object links 2016-03-06 17:44:51 -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
7bd97f0fce Make enum properties track the enumerator ID internally instead of the index + CUniqueID bugfix 2016-02-10 18:48:34 -07:00
parax0
1a07a9c083 Added TPropCast property casting function, added support for clean/dirty state in the world editor + check for unsaved changes when the window is closed 2016-02-01 16:42:12 -07:00
parax0
cae8caaabb Implemented sorting and context menus on the instance views 2016-01-23 04:00:26 -07:00
parax0
38942988d5 Implemented new property editor, CPropertyView 2016-01-22 13:53:57 -07:00
parax0
440c3ad484 Feature additions and improvements for pick mode and the POI -> World editor 2016-01-16 12:57:20 -07:00
parax0
c0b74c9883 Added support for EGMC and a basic EGMC visualizer dialog 2016-01-15 16:36:58 -07:00