Commit Graph

148 Commits

Author SHA1 Message Date
Jelle
4963d8ca6c Clear before adding items on reload 2022-10-16 16:53:09 +02:00
Jelle
c9bf194997 More generic GenericEditor 2022-10-16 16:49:21 +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
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
ef09afd09a
Fix layout (#267) 2022-10-02 21:54:47 +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
Jelle
49e5feaf4d Research task edit buttons
* Add 'Add' 'Clone' and 'Remove' research task buttons
* Add Append/Remove array extensions
* Update to DexIndexNational instead of ModelID
* Make all functions private

Fix
2022-10-01 12:11:54 +02:00
JelleInfinity
905977383b
Change area index to checkbox (#262) 2022-09-30 13:48:30 -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
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
5df700a136
Fix evo rows not clearing (#250) 2022-09-24 17:39:27 -07:00
JelleInfinity
7d5a8b0450
Update poke editor (#248)
* Add gender description and next/previous buttons

* Add SpecialTutors change FormSprite to Form
2022-09-22 19:28:52 -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
ea9ce5dec6
Add auto-fill from old databases (#246)
This adds the option to fill in the missing info using swsh and usum databases
2022-09-21 16:05:30 -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
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
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
JelleInfinity
0f40a36c3a
Use Types enum for UI values (#229) 2022-09-11 09:07:49 -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
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
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
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
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
Kurt
769c12070f Allow autocomplete in dropdown 2021-09-13 19:18:18 -07:00
Kurt
4d7645026c Add map tweaker beginnings
Document fields k?
2021-09-11 16:09:01 -07:00
sora10pls
c4b670af61 Label all shop inventories
84 tables between Unused + Watt Trader 1 are Ingredient Sellers in the Wild Area. Instead of randomizing daily items like they did for Snowslide Slope's daily highlight of 1 item, they hardcoded 84 tables with ingredients. Why?
2021-09-04 12:14:55 -04: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
sora10pls
1dad93d7c5 Remove old 40x30 sprites
Unlike PKHeX, pkNX never really used these sprites, so no point in keeping them.
2021-04-09 20:21:57 -04:00
sora10pls
bfc9d82a95 Update PokeDataUI.Designer.cs
Realign GUI elements after prior commit.
2021-03-15 11:33:18 -04:00
sora10pls
dfeaf76908 Add tutor move editing 2021-03-13 14:54:34 -05:00
sora10pls
85406e8f28 Update PokeDataUI.cs
Now opens with no exceptions!
2021-01-14 12:12:17 -05:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00