Commit Graph

71 Commits

Author SHA1 Message Date
Kurt
4c16905249 Use c#11 features 2024-03-04 20:19:09 -06:00
Kurt
c181db68ff Minor clean
Handle some nullable warnings, style c#12
2023-12-21 12:31:00 -08:00
duckdoom4
1e7cb1d6b1 Upgrade text editor 2023-09-10 13:06:18 +02:00
duckdoom4
ddc35df319 Upgrade visuals 2023-09-03 20:39:59 +02:00
duckdoom4
62c5ff582b Port last bits of the model converter branch
* Still need to fix the ModelConverter Sub-form before it can be used. The new flat compiler has some annoying features that I don't really know how to deal with yet. (Can't use default constructors :( )
2023-07-30 23:55:19 +02:00
duckdoom4
56cb75340a Minor refactor
Rename all the interfaces to give them a more sensible name
Rename the Set<InterfaceName> extension methods to Import<InterfaceName>, since evenI got confused about it's purpose for a while. It's supposed to be used by the data importer to fill in missing properties from older generation data. This means it should actually not set every property that is part of the interface and 'set' is therefor a confusing name.
Update PokeDataUI to fix layout of new property names
2023-07-05 19:35:57 +02:00
Kurt
410d2c8fc5 Misc fb fixes 2023-05-05 23:00:42 -07:00
Kurt
8e83b63d95
Flatsharp codegen (#326)
* Manually translated/attributed fbs files.

* Include fields in obj-as-table dump

* Emit fields for json too. FlatSharp generates structs with fields rather than properties at fixed offsets (maybe I'm missing a setting)

* Update .editorconfig to ignore generated code files (unsure if this actually works).
2023-04-06 18:00:19 -07:00
Jelle
bc431a3d80 Fix naming style inconsistency 2022-12-10 21:55:29 +01:00
Jelle
65f1a4efe4 Made the intention of this code more clear 2022-12-04 14:13:20 +01:00
Jelle
09dbd543dd Re-organize PLA editors
Also added a start to 'advanced editors' category.
The idea is that the user can toggle on or off a `display advanced editors` config option
2022-12-04 13:47:12 +01:00
Kurt
38b784e19b Add handling for S/V load and data ripping
Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2022-11-24 15:30:03 -08:00
Jelle
9ece5214fb Fix item editor now showing 2022-11-02 17:30:42 +01:00
Kurt
f591257e7a Minor tweaks
Cleaning things up before things go dark?
2022-10-27 11:59:42 -07:00
Jelle
12192bc870 Fix config editor crashing due to incorrect type 2022-10-19 11:55:47 +02:00
Jelle
9567667ec7 Feature update
Add a whole bunch of extra editors
Set some default parameters
Add some drop downs
Add a whole bunch of hashes (Thanks to @mvit)
2022-10-18 21:22:38 +02:00
Jelle
8a75c8a725 Expose Encounter Multiplier editor 2022-10-18 21:18:09 +02:00
Jelle
0901930001 Add hashes 2022-10-17 11:45:49 +02:00
Jelle
3890b23530 Add pokemon_model_set from resident_release 2022-10-16 20:41:35 +02:00
Maurizio Vitale
80dae43c49 Add DressUps editors 2022-10-16 20:17:32 +02:00
Maurizio Vitale
f3bf97a110 Expand on Throw Param Flatbuffers 2022-10-16 20:17:25 +02:00
Jelle
c9bf194997 More generic GenericEditor 2022-10-16 16:49:21 +02:00
Jelle
d14673f15e Add dex rank editor 2022-10-16 13:28:37 +02:00
Jelle
b0b317d46f Add 'Add Entry' button
There is still a bug that requires the editor to be closed are reopened before the new entry will appear. I'll fix this bug before adding it to other editors
2022-10-16 13:28:10 +02:00
Jelle
4508d4702b Add pokemon model resource editors 2022-10-15 12:22:51 +02:00
Jelle
95b0b70d4d Allow adding entries to SymbolBehave 2022-10-13 14:15:30 +02:00
JelleInfinity
bdfedd3880
Assign unique item names in editor (#278)
Fix item name duplicates causing the editor to switch between entries
2022-10-11 15:59:00 +01:00
JelleInfinity
4167762c44
Some bug fixes (#276)
* Replace all uses of ModelID

* Prep work to add PokeMisc data
2022-10-05 17:01:34 +01:00
JelleInfinity
4ab7f1a28d
Feat/npc model set editor (#269)
* WIP NPC Model Set editor

* Split NPCModel and NPCResident to Enums

Co-authored-by: Maurizio Vitale <mauriziovit@gmail.com>
2022-10-03 08:02:08 +01:00
JelleInfinity
9bd0b2d949
Assign categories based on name (#268) 2022-10-03 07:51:11 +01:00
JelleInfinity
602e95a767
Feat/categorized editors (#264)
* Add support for categorized editors

* Rename functions

* Move utils to top

* Sort by category and add category tags

* Add all app_config editors

* Use client size, otherwise you'd have to enter the width/height of content + window border
2022-10-02 20:23:51 +01:00
Kurt
efb34f556b Minor tweaks
Reduce allocation of button string fetch (for fun!)
Type return covariance for Editors (no longer limited by netframework!)
2022-10-02 10:24:44 -07:00
Kurt
33a2ab24f1 Minor clean 2022-10-01 17:46:11 -07:00
Kurt
76b0b62ca3 Refactoring
File scoped namespaces
NET6 for GUI
handle nullable references
add editorconfig (mostly for newline at end of file)
2022-10-01 12:44:47 -07:00
JelleInfinity
c3470997d2
Updated pokemon editor (#257)
* Add PokeMisc, items drops and research task files

* Update PokeMisc/DexResearch field names

Add type converters for known properties
No throw GetEntry
GetEntries for research tasks

* Update Poke editor

* Redesign UI
* Added PokeMisc to personal section (As property grid for now)
* Added Pokedex tab for research tasks (As property grid for now)
* Allow entries up to 9999

Still a WIP
2022-09-29 16:17:48 -07:00
JelleInfinity
9346f482da
Improved auto fill (#254)
* Rename fields

Rename to `HatchedSpecies`
`Species` here is actually `ModelID`. To get Species `DexIndexNational` should be used

* Update interfaces

Use DexIndexRegional
Replace `RegionalFormIndex` with `Form`

Add national dex index

* Add debug assert

* Add set functions for easy assignment of personal info

* Update auto-fill

* All missing SWSH data is now filled based on USUM data
* Accounts for form data
* Ignores all forms that are not carried over to next gen
* Adds form number and national dex number

* Update PLA filler to account for forms and other missing entries
2022-09-29 16:14:44 -07:00
Kurt
0bf8e470a0 Map Viewer tweaks
Re-add mouse tolerance distance fudge factor (pixels)
Reduce wormhole fill color opacity so that stacked spawners don't appear solid
Uppercase Map Viewer
Show full button name
2022-09-26 18:08:57 -07:00
JelleInfinity
523a39e594
Fix evo editor (#249)
* Rename to Species

* Use Graphics to resize image

* Fix evo editor

Not the best/fastest method, but at least its functional now
2022-09-22 19:10:24 -07:00
JelleInfinity
b69ec3fcdb
Rename to PersonalTableLAfb (#245)
This makes it easier to see the difference
2022-09-21 15:56:02 -07:00
JelleInfinity
e1d7cc790a
PersonalInfo interface fixes (#243)
Improved the inheritance graph and renamed some variables to merge some into an interface
2022-09-21 15:55:54 -07:00
JelleInfinity
dff97a4105
Feat/pokemon editor (#242)
* Make PersonalTable saveable

* Add poke editor
2022-09-20 16:46:04 -07:00
JelleInfinity
3a8328c0cd
Use interfaces for personal info to make updating the data easier (#234)
* Use GameVersion instead

* Fix formatting

* Update Personal info code

* Use interface versions in code

* Remove unnecessary param

* Remove TableLength

* Fix integration

Rename Forme to Form
Typed numbers
2022-09-18 12:44:51 -07:00
JelleInfinity
5c1fce310e
Fix map viewer (#225) 2022-09-10 11:37:53 -07:00
Kurt
de00f09bde Update evolution, add editor 2022-03-19 19:50:46 -07:00
Kurt
dc84470111 Continued tweaks
Rename files to match (groupLottery <-> group)
label more fields

Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2022-02-27 20:28:26 -08:00
Kurt
014d26656f Start associating NHO spawners to tables 2022-02-27 12:38:01 -08:00
Kurt
a2e34d86c8 Update NewHugeOutbreakGroup8a.cs 2022-02-27 10:30:10 -08:00
Kurt
32eca7eb9f Add New Huge configs 2022-02-27 09:45:58 -08:00
sora10pls
432628590f Add Move Shop editor, Ha_Shop randomizer 2022-02-24 11:18:00 -05:00
sora10pls
926d6965b4 Add trainer randomization, label 2 more TrPoke8a fields 2022-02-23 14:55:36 -05:00