Commit Graph

135 Commits

Author SHA1 Message Date
dexy
9506069e35 Fixed bug in PSO/XML conversion for structure pointers 2019-01-13 18:13:03 +11:00
dexy
187f8379cd Vehicle viewer progress 2019-01-13 17:04:32 +11:00
dexy
987d121cc0 Cleaned up MetaNames commented hashes 2019-01-12 17:57:37 +11:00
dexy
e39784f817 Added MetaNames from dav90 2019-01-12 17:45:19 +11:00
dexy
04b7370ba0 Added MetaNames from dav90 2019-01-12 15:40:50 +11:00
dexy
66b498738a Fixing carcols file loading, VehicleForm tools panel added 2019-01-12 13:49:31 +11:00
dexy
d7d4054971 Fix for XmlMeta not importing Vector3 arrays properly, Added extra texture sampler options 2019-01-12 12:17:02 +11:00
dexy
8dafe56db0 CarVariationsFile parsing 2019-01-11 19:56:57 +11:00
dexy
dce5c4d6ab CarColsFile parsing 2019-01-11 18:15:25 +11:00
dexy
3bd78d848d Vehicle files progress 2019-01-11 14:24:50 +11:00
dexy
6c244c6406 Replaced CMapData and CEntityDef property gets with field gets for performance 2019-01-09 18:09:12 +11:00
dexy
e4c2dddf10 Updated MetaNames 2018-12-29 11:10:49 +11:00
dexy
f2c2bba99d Added some MetaNames hashes 2018-12-20 20:52:42 +11:00
dexy
7c31cfb6ee XML to PSO conversion (experimental) 2018-12-20 04:28:43 +11:00
dexy
37afa2335c Moved entity sets checkboxlist to MLO Instance tab on entity panel. Added support for updating/saving MLO instance data. Added support for updating/saving TImeArchetype data. 2018-12-16 22:32:33 +11:00
dexy
3533260884 Rendering OccludeModels when in Occlusion mode 2018-12-15 04:09:02 +11:00
dexy
0ec052ddbc XmlMeta bug fix for IntFlags2 2018-12-14 22:33:19 +11:00
dexy
f84b51d1c1 Save RSC Meta files to RPF directly from Meta Editor form 2018-12-14 21:23:05 +11:00
dexy
e7f5238c33 Added PsoTypes generated struct and enum infos, and new MetaNames 2018-12-14 02:14:14 +11:00
Soloman
462e464c2f Ability to edit YTYP files and MLO Entity Defintions + Revisions to grass brush (#33)
* - Add ability to edit/add ytyp files to project.
- Add ability to edit/add ytyp archetype files to ytyp.
- Add ability to add/remove entities from mlo archetype defs.
- Add ability to save ytyp files.
- Add dialog popup before optimizing grass batches.
- Fix grass batches not being selected when chaning selection in project explorer.
- Merged with upstream/master.
- Squashed last 4 commits for PR cleanliness.

* Fixed windows forms reference error.

* - Added error checking to deleting mlo entities.
- Fixed various bugs with deleting mlo entities.
- Fixed edit archetype panel Asset Type box.
- Removed redundant/unnecessary.
- Removed backwards references between MCEntityDef and YmapEntityDef. All ymap entity to mcentity references are grabbed using indecies in the MloInstanceData class.
- Fixed "YmapMenu" not showing when selecting entities/mlo entities in project form.

Current bugs:
- Loading a ytyp file -- mlo entities are not editiable, and are created in the world.
- entitysets are not editable (properly).
- Removing an mloinstancedef from a ymap does not delete the mlo instance's gizmo from the world, and it's still selectable. (Although all references are lost, and I believe collected by the GC?)

* - Moved archetype initialization methods YmapFile.InitYmapEntityArchetypes(GameFileCache gfc)  and MloInstanceData.InitYmapEntityArchetypes(GameFileCache gfc)
- Added ability to load mlo instance defs through ymap files.
- Fixed add method for mlo archetypes.

* - Removed SetOrientationInv.
- Removed unreachable code + updated comment.
- Renamed CreateEntity to CreateYmapEntity, and renamed params for consistency.

* Split calls to CreateYmapEntity() and MloArchetype.AddEntity().

* Fixed redundant rotation inversions.

* - Added ability to select rooms.
- Changed tree view grouping for mlo entities.
- Fixed projectexplorer selection bugs.
- Added ability to toggle mlo entity sets.
- Fixed some change events when editing archetypes.
2018-12-03 19:54:04 +11:00
dexyfex
f550f99a90
Merge pull request #29 from indilo53/master
YtypFile - Add AddArchetype, RemoveArchetype and Save
2018-08-15 08:50:10 +10:00
Jérémie N'gadi
af930fa4ec YtypFile - Add AddArchetype, RemoveArchetype and Save 2018-07-26 22:16:54 +02:00
Soloman N
b971beb5bf added grass painting 2018-06-07 12:42:41 -04:00
dexyfex
a56e87d64a R30_dev1 2018-05-01 15:11:08 +10:00
dexyfex
6ae802a910 Fixed XmlMeta and MetaXML flags/hash conversion bugs. 2018-05-01 15:03:35 +10:00
dexyfex
945bf410cc Staging random bug fixes 2018-05-01 13:20:39 +10:00
dexyfex
07330891bf Removed unnecessary SharpDX. prefixes 2018-03-11 01:27:13 +11:00
dexyfex
a68523b2ef Improved interior info display and XML conversion 2018-03-07 13:12:20 +11:00
dexyfex
da24d38812 Updated MetaTypes init data, Fixed XmlMeta not importing some things 2018-03-05 20:37:51 +11:00
dexyfex
69ea4d5c35 Merge branch 'master' of https://github.com/dexyfex/CodeWalker 2018-03-04 00:03:32 +11:00
dexyfex
c093aa4736 New Project Window 2018-03-04 00:03:08 +11:00
Carmine
e2b59d2ca5 Fixed sbyte types in handler of ArrayOfBytes 2018-03-02 01:15:55 +01:00
Carmine
8baef77ecd Added some missing hashes taken from dav90's PSO_RBF_XMLExport_V5.7 2018-03-01 23:13:19 +01:00
Carmine
f5b8da104c Added GetParsedArrayOfBytes WriteParsedArrayOfBytesNode to handle ArrayOfBytes when converting to/from XML 2018-03-01 23:09:15 +01:00
dexyfex
cbd242b8cc Moved all GameFiles to CodeWalker.Core 2018-02-25 00:59:00 +11:00