Commit Graph

70 Commits

Author SHA1 Message Date
dexy
1af436b403 Stopped HD ytd's getting loaded when HD texture not enabled, changed cache stacks to queues, added distance property to entity 2019-01-08 18:57:24 +11:00
dexy
9dde38c930 HD textures (WIP), vehicles.meta gtxd loading 2019-01-06 05:04:33 +11:00
dexy
a4ca5f812d Dat151 progress 2018-12-27 21:37:44 +11:00
dexy
2d77d76e0c Dat151 progress 2018-12-27 11:53:53 +11:00
dexy
05d302a4e1 Dat151 progress 2018-12-25 22:40:49 +11:00
dexy
df34b6f614 Dat151 progress 2018-12-25 14:55:46 +11:00
dexy
2d20746c65 Dat151 progress 2018-12-24 23:34:44 +11:00
dexy
6e2c81675e Added basic DLC subpacks support 2018-12-20 22:35:19 +11:00
dexy
7c31cfb6ee XML to PSO conversion (experimental) 2018-12-20 04:28:43 +11:00
dexy
e7f5238c33 Added PsoTypes generated struct and enum infos, and new MetaNames 2018-12-14 02:14:14 +11:00
dexy
0c4001fa4b Improved RenderableCache item invalidation, Added Performance Statistics window 2018-12-05 16:23:34 +11:00
dexy
9f701ee44b Merge branch 'master' of https://github.com/dexyfex/CodeWalker 2018-12-05 11:47:28 +11:00
dexy
61afd7c24f TestAudioYmts function in GameFileCache 2018-12-05 11:47:15 +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
f5d384601e Projects code to support audio placements editing 2018-03-17 00:16:57 +11:00
dexyfex
8b72fc1220 Editing points and portals in navmesh, improved DX error message 2018-03-14 12:36:43 +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
c093aa4736 New Project Window 2018-03-04 00:03:08 +11:00
dexyfex
cbd242b8cc Moved all GameFiles to CodeWalker.Core 2018-02-25 00:59:00 +11:00