Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-01-26 00:00:00Z and 2020-01-27 00:00:00Z
Avatar
e0d4dc8 make it possible to change the max clients on a... - oy
Avatar
0455531 fixed some issues with the last commit - oy
18:54
d1140b0 move listbox, refactor+move scrollregion, sync ... - Robyt3 7c2ffbe add added file to CMakeList - Robyt3 43b4d07 replace tabs with spaces - Robyt3 96249a8 replace NULL with 0 - Robyt3 ff221fc fix reset of last selected filter on initial la... - Robyt3
Avatar
oy is staying asleep 👍
Avatar
3eb03f8 fixed ordering when notifying clients about max... - oy
Avatar
@ChillerDragon 👍
Avatar
ChillerDragon 2020-01-26 20:43:22Z
🙂
20:43
@heinrich5991 lol i had the same idea for checking for json in ci
20:44
it doesnt even fail on compile time
20:44
the first warning shows up in the logs when actually loading the rule
20:44
imo the cmake step that copies the files from datasrc to build/data should pipe them through some python script
20:45
that could also allow for other things like compiled automapper rules with variables like replacing "Index:" 1, with "Index:" ${TILE_NAME},
Avatar
don't go overboard
👍 1
20:46
IMO 😛
Avatar
ChillerDragon 2020-01-26 20:46:21Z
😄
20:46
yea thought the same and then i was like meh maybe nobody even needs the json checking so i forgot the whole idea
Avatar
simply loading all files that look like json files (json extension?) and check that they pass the strict python loading would suffice, I guess
Avatar
ChillerDragon 2020-01-26 20:47:20Z
yea
20:47
or we write actual tests 😄
20:47
and have precompiled maps that get compared
20:47
and the automappers get run
20:48
so one can change the implemenation of a automapper and tests make sure old implementation is not broken
Avatar
that'd be nice as well
20:48
I'd go for the simple test first
Avatar
ChillerDragon 2020-01-26 20:54:31Z
yea so there is the python script that gets run in cmake .. or the is the actual map tw automapper loading code which then could be used to later test the actual implementation this would fit in make run_tests
Avatar
f6abc94 some refactoring and network shutdown fixes - oy
Avatar
ChillerDragon 2020-01-26 20:55:32Z
yikes dat commit will get in me in merge madness with ddnet xxd
Avatar
b6adba9 fixed json style when saving filter settings - oy bcd3e8d fixed building fake_server - oy
Avatar
45368da fixed navigating with arrow keys in the server ... - oy
21:37
60fd161 Improve json style in automapper rules - ChillerDragon 81c98bc Merge pull request #2431 from ChillerDragon/pr_... - oy
Avatar
It's nothing big but I thought it's worth a shot: You can replace the call to GLU with 2 openGL calls and have the same functionality. Since this is the only call that uses GLU, I thought it might be a good idea to patch it and thereby drop GLU, since this is the only time it's used in the whole codebase.
22:42
I was just working on this when I saw the pull request about invalid json. This adds a class to write valid and correctly formatted JSON more easily. The format changes in minor ways to be more uniform. Example: ``` { "skin" : { "body" : { "filename" : "force", "custom_colors" : true, "hue" : 255, "sat" : 255, "lgt" : 0 }, "marking" : { "filename" : "coonfluff", "custom_colors" : true, "hue" : 161, "sat" : 255, "lgt" : 0, "alp" ...
22:48
Bloated tilesets with multiple functions can have multiple functions and thus require different types of automappers. Also sharing/combining custom rules would be easier if they could simply put in one directory instead of having to edit json files. So the old functionality should be kept for backwards compatibility and current vanilla rules do not require such structure. Imagine something like this where either both files foo/bar.json and foo.json represent rules for the tileset `...
Avatar
!teeworlds_editor_small_tile_button !teeworlds_editor_big_tile_button When there are only a few tile layers and groups there is plenty of unused space. It would be nice to use it to increase the group members. This allows for faster mapping since less precise aiming is needed to switc...
Exported 41 message(s)