Commit Graph

23 Commits

Author SHA1 Message Date
dexy
d7623c3243 Moved tools forms into Tools folder, removed unused Materials.txt 2019-01-10 12:47:59 +11:00
dexy
6c244c6406 Replaced CMapData and CEntityDef property gets with field gets for performance 2019-01-09 18:09:12 +11:00
dexy
77d9c4e4c8 Dat151 progress 2018-12-27 00:20:39 +11:00
dexy
13a57102a9 Selectable OccludeModels, also occluder ymap indices now displayed 2018-12-15 12:12:57 +11:00
dexy
ca7f270c5c Added Occlusion mode and render YmapBoxOccluders (OccludeModels todo) 2018-12-15 01:46:48 +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
8b72fc1220 Editing points and portals in navmesh, improved DX error message 2018-03-14 12:36:43 +11:00
dexyfex
761278fd0b Navmesh/paths rendering depth bias, navmesh points and portals now selectable 2018-03-12 04:42:20 +11:00
dexyfex
a590df5035 Snap to ground and grid options 2018-02-25 23:30:29 +11:00
dexyfex
cbd242b8cc Moved all GameFiles to CodeWalker.Core 2018-02-25 00:59:00 +11:00
dexyfex
375db771ee Merging GTAFolder changes 2018-02-25 00:57:47 +11:00
dexyfex
709bf125ce Created CodeWalker.Core 2018-02-24 22:52:58 +11:00
PNWParksFan
6ae3b470f6 Switched everything to new GTAFolder class and removed all direct references to Settings.Default.GTAFolder 2018-02-21 01:12:17 -08:00
PNWParksFan
d82c34c542 Fixed order of code in Program.cs causing exception from creating windows form before SetCompatibleTextRenderingDefault, changed dialog boxes a bit and cleaned up validation code in SelectFolderForm 2018-02-21 00:34:49 -08:00
PNWParksFan
d7938dd1d8 Added GTA V folder check to main entry point in Program.cs, improved folder selection dialog
- Added bool app setting for remember GTA folder (vs. prompt every start)
 - Added checkbox to folder selection dialog for remember GTA folder
 - Changed folder selection dialog to fixed dialog window border
 - Set default Enter/Esc buttons on folder selection dialog
2018-02-21 00:27:01 -08:00
PNWParksFan
3c8c3464e3 Restored new GTAFolder class to project and changed filename to match class name 2018-02-20 23:31:19 -08:00
PNWParksFan
5dff45a54d Finished converting ExploreForm.cs to use new GTA folder code 2018-02-18 01:20:39 -08:00
PNWParksFan
7756580817 Moved GTA Folder detection logic to new class 2018-02-17 17:26:35 -08:00
dexyfex
8d30a1ff77 RPF Explorer archive defragmenting tool 2018-01-12 15:19:32 +11:00
dexyfex
77e9c0566f Refactored rendering and input code, added show skeletons option to WorldForm 2018-01-02 07:52:54 +11:00
dexyfex
14e1ce6ffd Convert cache_y.dat files to XML 2017-12-14 21:49:41 +11:00
dexyfex
1a2af6af9e Menyoo import to ymap, Scenario accel grid ExtendedRange bits 2017-09-25 03:45:30 +10:00
dexyfex
a8243c3e0e R26_dev8 - First public commit 2017-09-21 20:33:05 +10:00