Commit Graph

16 Commits

Author SHA1 Message Date
Kurt
4c16905249 Use c#11 features 2024-03-04 20:19:09 -06: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
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
66df369404 Expose area settings 2022-10-18 09:25:39 +02: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
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
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
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
fdbf40cc5e
Found a missing field name (#231)
This is the string ID of a path that the pokemon will follow. (Think the figure 8 of flying mons)

An example can be seen if you follow these steps:
- Open "Area Editor"
- In "Obsidian Fieldlands" area, click the Regular tab
- Open spawner '2501' observe `path_area01_004` appear in this field

(I've also included a conversion to display friendly names in the area editor.)
2022-09-13 06:41:40 -07:00
sora10pls
562029fa17 Ban Legendary Pokémon from encounter slot randomization
rip clickbait thumbnails
2022-02-22 22:56:49 -05:00
sora10pls
47d4c4d528 Blacklist Deadwood Haunt Dusclops from being randomized 2022-02-21 19:57:37 -05:00
sora10pls
a2f0a58f7a Allow LA species for randomization, handle bad forms 2022-02-21 10:29:51 -05:00
Kurt
22ede7da03 Add landmark editor 2022-02-20 23:35:18 -08:00
Kurt
bf8390fd2a Add Spawner object editor 2022-02-20 20:59:19 -08:00
Kurt
5ff4d8d2ca Handle resident gfpak as gfpak 2022-02-19 15:09:55 -08:00
Kurt
a14c203ff3 Rough draft area editor 2022-02-19 14:20:00 -08:00