Commit Graph
183 Commits
Author SHA1 Message Date
Fiereu 023f4eb305 feat(game): persist per-character story flags and vars 2026-07-26 14:36:07 +02:00
Fiereu 4879082eb0 fix(game): write entity flags as one byte so the follower shows the right species (#71) 2026-07-26 14:29:41 +02:00
Fiereu 3ff8a76875 fix(game): show the full party on the character select screen (#70) 2026-07-26 14:24:56 +02:00
Fiereu 109cf5f814 feat(game): start a wild battle when a player steps in grass (#68)
* feat(game): start a wild battle when a player steps in grass

* fix(codegen): key species by national dex so the client shows the right mon
2026-07-26 11:04:35 +02:00
Fiereuandgithub-actions[bot] 300bc52531 feat(game): basic script implementations (#65)
* feat(game): open the wired dialog line when a player interacts with an npc or sign

* feat(game): run npc and sign interactions through a generated script layer

* chore(style): spotlessApply

* fix(codegen): generate dialog enums without a rom so ci can compile

* docs: add a guide for writing overworld scripts

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-26 00:12:30 +02:00
Fiereu 6695daabd8 fix(codegen): merge the duplicate empty and default branches in the text parser 2026-07-25 21:46:59 +02:00
Fiereu 35f498f0de chore: move hex encode and decode into a shared common util (#62) 2026-07-25 21:37:53 +02:00
Fiereu 9c52eeb8c6 feat(dialog): generate per-location gba dialog enums from the rom and drop the old script params (#64) 2026-07-25 21:26:43 +02:00
Fiereu e89ae6e6df feat(game): handle npc dialog replies and send correct dialog actions (#63) 2026-07-25 19:18:58 +02:00
Fiereu 35a7966a97 chore(network): note the protocol logger should log raw packets (#59) 2026-07-25 17:29:42 +02:00
Fiereu 651a1fbb67 feat(battle): add the wild battle system with structured codecs (#58) 2026-07-25 17:28:48 +02:00
Fiereu 214663531a feat(server.game): create new characters with an empty party (#57) 2026-07-25 16:45:50 +02:00
Fiereu 1e19440743 feat(server.game): add gen 3 stat and exp calculators (#56) 2026-07-25 16:44:11 +02:00
Fiereu e26c8f91f4 fix(common): let stat setters take zero and check totals (#55) 2026-07-25 16:43:10 +02:00
Fiereu 391e2efeb7 feat(codegen): generate the gen 3 type chart (#54) 2026-07-25 16:40:48 +02:00
Fiereu 017f6bca60 feat(bytecodec): add a constant atom for fixed wire bytes (#53) 2026-07-25 16:30:08 +02:00
Fiereu 5e75f5cca7 fix: formatting in .gitignore for local env 2026-07-22 18:50:56 +02:00
Fiereu daf4daf197 feat(server): persist accounts and characters in PostgreSQL (#48)
* feat(server): persist accounts and characters in PostgreSQL via jOOQ, HikariCP, and Flyway

* test: reword test names to match the writing style

* docs: explain the database setup and dev seeding
2026-07-21 11:25:21 +02:00
Fiereu fb93eb4e5d ci: collapse spotless and test into one workflow that runs on PRs (#50) 2026-07-21 11:07:40 +02:00
Fiereu 8f50ee02a2 chore(lint): stop sonarlint from flagging TODO comments (#51) 2026-07-21 11:01:59 +02:00
Fiereu 32d97a47c6 refactor(protocols.game): resolve sonarlint findings in packet codecs (#49) 2026-07-21 08:06:58 +02:00
Fiereu b58e555730 ci: open and close issues from TODO, FIXME, and BUG comments on master via todo-to-issue-action 2026-07-20 23:58:59 +02:00
Fiereu ed06884b10 ci: run check on affected modules via the gradle build cache instead of a full test matrix 2026-07-20 23:54:54 +02:00
Fiereu 4b533bd099 feat(server.game): route events through a InterestManager (#47)
* feat(server.game): route events through a InterestManager

* docs: explain the InterestManager and when to use it

* fix(login): carry the authenticated account to the game server so players get distinct characters

* fix(protocols.game): decode entity move from capture at opcode 0xE4 with little-endian ids and 16-bit coords

* feat(game): make the server authoritative over movement and broadcast steps and turns to nearby players

* refactor(game): drop the unused broadcastExcept and isOnline methods
2026-07-20 23:42:14 +02:00
renovate[bot] 3cfbc2169a fix(deps): update dependency io.netty:netty-all to v4.2.16.final (#22)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 23:39:14 +02:00
renovate[bot] ee4009cb90 fix(deps): update jooq to v3.21.6 (#34)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 23:38:59 +02:00
renovate[bot] bf00de0fbc fix(deps): update bytebuddy to v1.18.11-jdk5 (#30)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 23:33:12 +02:00
renovate[bot] 2228bc3b69 fix(deps): update dagger to v2.60.1 (#31)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 23:32:41 +02:00
renovate[bot] 93435580ae fix(deps): update dependency org.postgresql:postgresql to v42.7.13 (#24)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 23:32:27 +02:00
renovate[bot] 8a9eb4e32d fix(deps): update bouncycastle to v1.85 (#29)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 21:32:35 +02:00
renovate[bot] 42cfa45333 fix(deps): update flyway to v11.20.3 (#33)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 21:32:17 +02:00
renovate[bot] a0ffce3295 fix(deps): update kotlinx.serialization to v1.11.0 (#38)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 21:31:45 +02:00
renovate[bot] d13a922990 fix(deps): update kotlinx-coroutines monorepo to v1.11.0 (#37)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 19:21:33 +02:00
renovate[bot] 0f599082f8 fix(deps): update kotlin monorepo to v2.4.10 (#36)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 19:21:14 +02:00
renovate[bot] 8dc3f073f1 chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v1 (#40)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 19:20:34 +02:00
renovate[bot] ec30bf7424 fix(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v8 (#41)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:42:22 +02:00
renovate[bot] 07f53cdba4 fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v8 (#42)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:41:50 +02:00
Fiereu 8b12d22c1d ci: add CI workflow for testing all modules (#4) 2026-07-20 16:36:57 +02:00
renovate[bot] 8669a3e349 fix(deps): update dependency io.mockk:mockk to v1.14.11 (#21)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 14:28:40 +00:00
renovate[bot] cbeeb1a036 chore(deps): update github actions (#39)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:18:36 +02:00
renovate[bot] f6773fb159 fix(deps): update dependency org.junit.jupiter:junit-jupiter-api to v6.1.2 (#32)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:17:20 +02:00
renovate[bot] 9e85dba7d2 fix(deps): update jte to v3.2.4 (#26)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:15:52 +02:00
renovate[bot] 8371c02da7 fix(deps): update dependency name.remal.sonarlint:name.remal.sonarlint.gradle.plugin to v7.1.4 (#23)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:15:35 +02:00
renovate[bot] 17f0507480 chore(deps): update gradle to v9.6.1 (#27)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:13:33 +02:00
renovate[bot] e5b90563e7 chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v0.10.0 (#28)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:09:59 +02:00
renovate[bot] 7526fb07e3 fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v7.0.14 (#20)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:09:40 +02:00
renovate[bot] f0f4b459a1 fix(deps): update dependency org.slf4j:slf4j-api to v2.0.18 (#25)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:09:18 +02:00
renovate[bot] ae561e80b0 fix(deps): update kotest to v6.2.2 (#35)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:03:19 +02:00
renovate[bot] c6763ecde9 fix(deps): update dependency com.typesafe:config to v1.4.9 (#19)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:00:42 +02:00
renovate[bot] ac6558c2c0 fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.38 (#18)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 13:54:19 +00:00