Commit graph

18 commits

Author SHA1 Message Date
ChillerDragon 7dfaeda45f Apply sanitize string cc to all messages that need it 2023-04-07 14:27:25 +02:00
ChillerDragon 760d8bce1f Fix comment too long 2023-04-02 20:03:50 +02:00
ChillerDragon 044e17b6e6 Do not import unused Unpacker 2023-04-02 20:02:27 +02:00
ChillerDragon d6d8abc091 Do not instantiate unused unpacker 2023-04-02 20:00:42 +02:00
ChillerDragon df3fcb9b17 Fix optional type assuming int 2023-04-02 19:56:29 +02:00
ChillerDragon e20fd4c019 Use vanilla server defaults for tunes 2023-04-02 11:51:21 +02:00
ChillerDragon 029cebcb25 Fully support tune params 2023-04-02 10:39:52 +02:00
ChillerDragon 0013b9b8c0 Add shebang to gen script 2023-04-02 09:40:54 +02:00
ChillerDragon 41f4742ac1 Generate system message matcher 2023-03-31 10:14:55 +02:00
ChillerDragon a19df04b80 Sort dependencies to avoid changes on regen
Seems like the set has different orders when running
the generate script multiple times
this causes all game message class files to change
2023-03-31 09:55:07 +02:00
ChillerDragon 0d4f6057a2 Prefix generated classes with Msg 2023-03-29 16:50:28 +02:00
ChillerDragon d21092f44b Fix line too long (pylint) 2023-03-29 16:23:11 +02:00
ChillerDragon b39f067222 Generate system messages 2023-03-29 16:22:00 +02:00
ChillerDragon 14fd5f2b40 Fix rename 2023-03-29 14:54:21 +02:00
ChillerDragon 4adf33061c Gen game msg id matching 2023-03-29 14:51:58 +02:00
ChillerDragon 5f76de93a9 Generate pack() code for messages 2023-03-26 13:03:04 +02:00
ChillerDragon e22530743c Fix build of generated game msgs
the vote status field `pass` conflicts
with the python keyword so rename it to `pass_`

also fix `get_string()` not being a function
2023-03-25 18:43:45 +01:00
ChillerDragon bfa8162aa1 Start working on code generation
Using libtw2's network spec

a6e26ebd0a/gamenet/generate/spec
2023-03-25 18:19:52 +01:00