Commit Graph

44 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
0b4d082797 Fixed evolution arguments not displaying correctly 2023-09-10 18:12:35 +02:00
duckdoom4
ddc35df319 Upgrade visuals 2023-09-03 20:39:59 +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
be54eaac8e Update dependencies
Closes #320
Closes #322
2023-02-27 20:25:52 -08: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
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
11f2e58361 Fix button name getting cut off 2022-11-24 11:27:35 +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
8ac8ae78ac
Refactor evolution code from PKHeX source (#251)
* Add evo table resources and re-arrange files

* Add array from byte span utility function

* Update evolution related code from pkHex
2022-09-24 17:39:41 -07:00
JelleInfinity
dff97a4105
Feat/pokemon editor (#242)
* Make PersonalTable saveable

* Add poke editor
2022-09-20 16:46:04 -07:00
JelleInfinity
7686aa1d49
Add area editor buttons + fix auto resizing/component alignment (#239)
* Add buttons to edit encounter slots

* Add tooltips

* Add default icon for editor windows

* Fix auto size on window resize + re-align

Some components didn't resize. This commit fixes that + fixes alignment issues in all editors.
2022-09-18 12:45:20 -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
Lusamine
311b32aa67
Rename some LandmarkItemSpawnTable fields (#207) 2022-05-16 23:31:56 -07: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
62a4fbc629 Handle area encounter case when none 2022-02-19 15:46:19 -08:00
Kurt
a14c203ff3 Rough draft area editor 2022-02-19 14:20:00 -08:00
Kurt
639f8156ab
Handle FlatBuffers in-process with FlatSharp, and add more flatbuffer editors. (#166)
Thanks @sora10pls for double checking some editors, and @Lusamine for some field identification.

Closes #115 -- tested the pokedex after randomization and it no longer crashes when randomizing+saving with the latest code in this pull request.

Adds:
* Shop editor (SWSH + LGPE)
* Move editor
* Item editor
* Symbol (Overworld Pokemon) Behavior editor
* Default Rental team editor
2021-09-02 19:47:41 -07:00
Kurt
6136ccff78 Minor clean
Replace linq usages with array methods
Handle warnings (yay serialized objects with reflection assignments)
Minor preference (brackets, ternary, locals)
2021-01-14 21:57:11 -08:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00
Kurt
22ef506b4e Update for c#9 syntax sugar 2020-12-27 12:47:46 -08:00
sora10pls
4299e5d88b Use Gigantamax sprites for Trainer Editor
Allows for easier identification, especially with Urshifu.
2020-06-22 19:31:01 -04:00
Matt
5521b72431 Document and Expose CanDynamax Flag (#46) 2020-01-01 19:03:30 -08:00
Matt
19ec807c95 Sword/Shield updates (#41) 2019-12-16 15:51:12 -08:00
Kurt
58b0597fea Sword/Shield Update
Many thanks to @SciresM and @sora10pls for assisting in this massive
update!
2019-11-15 17:00:41 -08:00
Kurt
537ce93efa Initial c#8 update
pkNX.Sprites to be replaced with a pkhex.drawing dll once that is
updated with swsh stuff (when the time comes)
2019-10-15 18:47:20 -07:00
Kurt
b611df6823 Misc clean
no functional change
2019-03-19 17:36:27 -07:00
Kurt
5fcc327d86 Fix slot deletion
empty value is null for whatever reason, just force the end result to be
0.

https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/?do=findComment&comment=239245
2018-12-29 00:26:26 -08:00
Kurt
c52e43dce1 Style fixes 2018-12-01 16:33:40 -08:00
Kurt
b85cffa383 Hide duration
doesn't work as a min/max duration
2018-11-29 18:21:31 -08:00
Kurt
8870d4e361 Hide forme column, no formes will spawn :( 2018-11-27 17:54:24 -08:00
Kurt
7b61760420 Use solid backcolor instead of transparent
fixes sprites from one tab bleeding into another tab if switched
2018-11-25 19:57:27 -08:00
Kurt
96ee2b090d Prevent highlighting of sprite 2018-11-25 10:32:01 -08:00
Kurt
3b2887694d Add wild randomizer 2018-11-23 23:51:19 -08:00
Kurt
d89d2f8cd5 Fix arg visibility toggling 2018-11-23 20:15:18 -08:00
Kurt
27f15dc9d7 Add wild editor (json in/out) 2018-11-22 20:18:20 -08:00
Kurt
6a34a96af1 Misc fixes
Form opens, displays data
2018-11-20 18:25:20 -08:00
Kurt
9909da7dae Add poke data editor (personal, learn, evo)
WIP, haven't even bothered launching the form yet
2018-11-20 16:31:53 -08:00
Kurt
52425fbed5 Update view for 7b stats 2018-11-18 21:02:54 -08:00
Kurt
13383164fd Add AV display 2018-11-18 19:35:36 -08:00
Kurt
b28d81bd56 Add WIP trainer editor 2018-11-18 17:38:30 -08:00