servatrice/common
ebbit1q 9411396b97 rework pt setting (#3584)
* rework pt setting

save pt as a string serverside
set the pt of cards that enter the battlefield to empty (was -1/0)
implement old behaviour as changePT clientside
display old pt to messagelog
add new keybind for new set behaviour (default ctrl+shift+p)
add flow pt actions and keybinds that increase while decreasing
put more braces everywhere
various refactors like adding consts and for loops
remove a single superfluous semicolon
does not change the way pt is displayed client side
does not fix 3455 fully

* fix drawing of pt

remove search for / in carditem's paint() (crash)
ptstring is now always orange unless it's a faceup card with a pt that
matches the cardinfo pt
set changept to remove the pt if the field is empty
set changept to keep the old value if one side is empty
return in changept for +0/+0
clean up some if statements

* return on change to +0/+0

* change log message for empty original pts

* typo

* remove changept

add parsept to unify reading pt strings
change setpt behavior to be an "upgraded" version of the old setpt
add arbitrary strings as anything that starts with /

* clangify

* remove debug lines

* add tip of the day

* add missing images

* clangify
2019-03-03 16:24:57 -05:00
..
lib Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
pb Judge mode (#3531) 2019-02-21 14:00:00 -05:00
sfmt Updated SFMT RNG code, removed Qt RNG 2014-03-08 17:08:40 +01:00
CMakeLists.txt Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
color.h Tabs to spaces. 2014-07-08 22:53:02 -04:00
decklist.cpp Load plain improvements (#3422) 2018-11-07 06:05:25 -05:00
decklist.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
expression.cpp Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
expression.h Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
featureset.cpp Add websocket feature (#3562) 2019-02-06 03:08:59 -05:00
featureset.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
get_pb_extension.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
get_pb_extension.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
rng_abstract.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
rng_abstract.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
rng_sfmt.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
rng_sfmt.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
room_message_type.h update proto links (#3380) 2018-09-01 13:27:41 -04:00
server.cpp log moderation stats in the uptime table (#3215) 2018-05-02 17:31:54 -04:00
server.h Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_abstractuserinterface.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_abstractuserinterface.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_arrow.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_arrow.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_arrowtarget.cpp Tabs to spaces. 2014-07-08 22:53:02 -04:00
server_arrowtarget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_card.cpp rework pt setting (#3584) 2019-03-03 16:24:57 -05:00
server_card.h rework pt setting (#3584) 2019-03-03 16:24:57 -05:00
server_cardzone.cpp Move to bottom of library in random order. (#3549) 2019-02-07 14:08:44 -05:00
server_cardzone.h Move to bottom of library in random order. (#3549) 2019-02-07 14:08:44 -05:00
server_counter.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_counter.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_database_interface.cpp Overhaul common's CMakeLists.txt 2014-06-11 01:24:34 +02:00
server_database_interface.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_game.cpp Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_game.h Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_metatypes.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_player.cpp rework pt setting (#3584) 2019-03-03 16:24:57 -05:00
server_player.h Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_player_reference.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_protocolhandler.cpp Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_protocolhandler.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_remoteuserinterface.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_remoteuserinterface.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_response_containers.cpp Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_response_containers.h Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_room.cpp Judge mode (#3531) 2019-02-21 14:00:00 -05:00
server_room.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
serverinfo_user_container.cpp Clang-format (#3028) 2018-01-27 10:41:32 +01:00
serverinfo_user_container.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
user_level.h update proto links (#3380) 2018-09-01 13:27:41 -04:00