Commit graph

5 commits

Author SHA1 Message Date
riperiperi
b57ebbd141 Cleanup: Remove most unused usings and MPL per-file licenses
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
2023-11-25 03:45:29 +00:00
LazyDuchess
0f712a9606
Volcanic - Fixes and QoL changes. (#246)
* Fix crash when attempting to save a PIFF with added FWAVs/Sound Events.

* IDE: Fix crash when writing custom FWAVs to PIFFs, and implement TPRP/Metadata generation and deletion.

* Volcanic: Implement BCON labeling, reimplement Up/Down/Remove buttons.

* Comment cleanup

* Volcanic QoL: Make new Chunk/IffName dialog use the lowest available Chunk ID by default

* Don't pick a new Chunk ID on rename.
Refresh Resource list when deleting a chunk.

* Give ChunkType and Label to newly generated BMP Thumbnails for objects to avoid crashes in case of PIFF exporting.

* Fix "Set as First" in BHAV/Tree Editor.

* IDE: Add more descriptive error to Upgrade Editor
Debug Menu: Add option to export upgrades from server.

* IDE BHAV Editor: Bounds check constants and display their labels like OTF Tuning.
IFF Name Dialog: Add Minimum Chunk ID for private, globals and semiglobals for BHAVs and BCONs.

* Network Volcanic Object Deletion, add Edit Object button to entity inspector and multi selection.

* Added OBJF creation on check tree entry point add.

* for => foreach in EntityInspector.cs

* Fix code style
2022-08-17 01:45:30 +01:00
riperiperi
56cd0d017b
Feature/lotview refactor (#162)
* [Monogame] Fix FSO.Windows having runtime errors on standalone build.

* [LotView] Begin Optimizations

- Fix large CPU usage from chat panel when a lot has many objects (about
5%!)
- Fix large CPU usage when scrolling due to signalling scroll changed to
every object in the property despite this info not being used (this
function has now been removed. 7.55% usage on large test lot)
- Spread room lighting updates across multiple frames to prevent stutter
(may want to disable for events? perhaps give indoors updates more
chances than outdoors ones?)

* [LotView] World effects now have their own classes

No dictionary lookup required for parameters and techniques (faster draw
calls), and the benefit of compile time type checking on effect
parameters. Downside is large classes for each effect, a lot of
redundant info getting params cached and exposed as the correct type.

* [WIP

* [WIP] More refactoring

2D, 2D Hybrd work in progress. 3D still to be done.

* [WIP] Moments before disaster

A lot of stuff is about to be removed and reworked. This is here just as
a sort of "worked here at least" build.

* [3D] Reintroduce 3d (temp toggle with TAB)

Pushing as in case something goes wrong removing old world stuff, still
WIP.

* [LotView] Remove Old World Classes

Known issues:
- No 3D/2D switch yet (currently stubbed to Tab, should be in settings)
- No First Person Cam yet
- In 2D mode, rendering a roof causes the static layer to fall into an
infinite void (???)
- 2D Mode thumbnails do not render
- Lot Thumbnails are completely untested and can be influenced by hybrid
rotation.
- Facade Generator is untested.
- Hybrid 2D Rotation is still a work in progress, and smooth zoom should
be moved to the 2D controller
- Interweaving 2D and 3D entities may break a lot of things
(SpriteIndices unbound, BlendState changed)
- Headlines cut off things behind them a lot more (to be fixed)
- 2D to 3D causes surrounding lots to behave incredibly unusually.
- Still some cleanup to do.

* [IDE] Add TREE resource support

Adds labels, comments and gotos. These can be added via key shortcuts
CTRL+L and CTRL-/. You can add a goto by right clicking a label to point
to. Also fixed a lot of issues when editing BHAVs, especially with the
tracer open.

* [IDE] Very hacky way to fix comment key shortcut

* [WIP] Some improvements to Hybrid 3D

- Fix lot and object thumbnails
- Fix surrounding lots when drawing with 3D camera (includes 2d to 3d
transition)

* [LotView] Implement First Person Camera

* [LotView] Grass rotation

* [LotView] Fix thumbnail bounds

* [LotView] Rotation rework, general fixes

* [LotView] WIP Middle Mouse 2D rotation

- Breaks first person camera for the moment.

* [LotView] More work on hybrid. Add Head Seek.

Still lots more to go 👼 also fixed nuget being bad

* [NuGet] Fix stupid behaviour

* [LotView] Fix OpenGL

- Also fix a longstanding issue where the ground would flash or still be
solid colors on min lighting

* [Volcanic] Fix focus check for external window input

- Also fix some multitile stuff.

* [VM] Inventory Token Modes

- and where to find them

* [World] Some fixes for 3D mode switching.

* [LotView] Fix a few more things in LotView

* [LotView] Fix more bugs.

* [LotView] Fix LightAdjust stuff

* [PIFF] Add additional death type.

* [LotView] Fix some problems with switching between modes.

* [UI] Add mode switch button
2019-10-23 19:02:40 +01:00
RHY3756547
c43dead7fb [IDE] Dynamic Content System (pt1)
Just a lot. Tracks all modifications made by the IDE and allows users to
save or undo them. Modifies game content system to support this. Unify
all windows to base off of one central window.
2016-02-19 01:09:51 +00:00
RHY3756547
26122668cf [IDE] Refactor, clean up BHAV edit greatly. 2016-02-16 14:48:14 +00:00