servatrice/cockatrice
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
..
resources rework pt setting (#3584) 2019-03-03 16:24:57 -05:00
sounds fix lowercase (#2419) 2017-02-23 08:53:18 +01:00
src rework pt setting (#3584) 2019-03-03 16:24:57 -05:00
themes fix lowercase (#2419) 2017-02-23 08:53:18 +01:00
translations Update translations 2019-02-22 16:49:06 -05:00
.qdevelop icon_draw and icon_untap added, icon_general and icon_messages modified 2009-07-31 13:37:16 +02:00
CMakeLists.txt Filter Strings for Deck Editor search (#3582) 2019-03-01 14:30:32 -05:00
cockatrice.desktop Updated Spanish translation 2011-07-16 11:38:57 +02:00
cockatrice.qrc rework pt setting (#3584) 2019-03-03 16:24:57 -05:00
cockatrice.rc Included uninstaller for Windows version 2010-09-17 15:26:07 +02:00