Commit Graph

29 Commits

Author SHA1 Message Date
Kurt
4c16905249 Use c#11 features 2024-03-04 20:19:09 -06: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
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
0f40a36c3a
Use Types enum for UI values (#229) 2022-09-11 09:07:49 -07:00
Kurt
0a30e0ca3c Remove unsupported games, split GameData
lack of interfaces and default interface implementations is killing me :)

Split GameData so we can interact with changed data structures a little less weird; PLA Learnsets are too incompatible for direct edits with existing abstractions.
2022-02-15 01:58:27 -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
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
Kurt
d848f87bd7 Simplify dialog result pattern 2020-05-21 10:32:16 -07:00
BtbN
db55f48650
Set positive Result when saving Wild Pokemon Randomization (#71) 2020-05-21 10:30:15 -07: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
1561049a86 Add wild dumper; use program icon
commit 151 :)
2019-01-08 21:34:45 -08:00
Kurt
cc27439f34 Save sky encounters on switch/close
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/?do=findComment&comment=239187

Thanks Dziggy!
2018-12-25 22:46:53 -08:00
Kurt
e1d7b1966d misc gui qol improvements
min sizes, control anchoring for resizing, error on bad json
2018-12-11 19:12:39 -08:00
Kurt
8084603cc4 unrestrict events, just ban m&m 2018-11-28 16:47:02 -08:00
Kurt
84264d7588 Set 0 for forme always
fix alolan stuff leaking through
2018-11-28 16:33:55 -08:00
Kurt
6b1e3e5cb2 Disallow melmetal/meltan for ggwe rand
they don't appear either; looks like only 1-151
2018-11-28 16:17:20 -08:00
Kurt
8870d4e361 Hide forme column, no formes will spawn :( 2018-11-27 17:54:24 -08:00
Kurt
2db77e379a WildMega->WildAlolan
can't get wild megas
make wildalola toggleable rather than always true
2018-11-27 16:41:56 -08:00
Kurt
11e5bdbb88 Add persistent rand settings
save to xml with version name
2018-11-24 23:50:40 -08:00
Kurt
13ff6099cd Use centralized settings 2018-11-24 21:57:24 -08:00
Kurt
5080cd2b83 Don't randomize empty tables 2018-11-24 20:40:37 -08:00
Kurt
9861fb6c5d Modify spawn rarity on fill slots 2018-11-24 17:28:24 -08:00
Kurt
8ac8c7ba66 Add force viridian forest to have water/grass type 2018-11-24 16:35:46 -08:00
Kurt
d4179b35c7 Fix fill empty, add wild mega
untested wild megas obv
2018-11-24 11:16:19 -08:00
Kurt
5111130381 Allow filling of empty slots if chosen
add labels to indicate mass mod function
2018-11-24 10:00:06 -08:00
Kurt
3b2887694d Add wild randomizer 2018-11-23 23:51:19 -08:00
Kurt
27f15dc9d7 Add wild editor (json in/out) 2018-11-22 20:18:20 -08:00