Commit Graph

23 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
401235a35d Add shared fbs project and update include paths 2023-08-26 18:10:40 +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
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
Kurt
441d6f027f Update to net7, c#11
Replace LZ4 dependency --
lz4net is deprecated, replaced with K4os' implementation. Use the Span api signatures.
2023-01-14 15:34:27 -08:00
Jelle
9c2c54b076 Rename to Vec3f 2022-10-18 21:16:01 +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
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
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
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
5c1fce310e
Fix map viewer (#225) 2022-09-10 11:37:53 -07:00
Kurt
8437c72f11 Show table name for spawner table 2022-04-16 21:28:07 -07:00
Kurt
85ceb063ae Show spawns near hover, add (Any) species 2022-04-13 19:54:53 -07:00
Kurt
57b358d7e8 Show coordinates on hover 2022-04-13 19:30:58 -07:00
Kurt
a14c203ff3 Rough draft area editor 2022-02-19 14:20:00 -08:00
Kurt
d27891407a Pre-work for area editing 2022-02-19 12:21:09 -08:00
Kurt
7bdb5bc787 Pass revised personal
Closes #189
2022-02-15 16:18:47 -08:00
Kurt
d10013f380 Handle warning for string comparison 2022-02-11 17:48:00 -08:00
Kurt
e432370a40 Add Pokémon Legends: Arceus support
.NET5.0 -> .NET6.0

Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
2022-02-04 18:43:21 -08:00