servatrice/cockatrice/resources
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
..
config Merge with master 2015-08-31 22:55:46 +02:00
counters Added colored storm counter 2015-04-19 18:14:29 +02:00
countries flag updates (#2804) 2017-07-14 21:30:27 -04:00
genders support for women 2011-06-22 17:39:25 +02:00
help Filter Strings for Deck Editor search (#3582) 2019-03-01 14:30:32 -05:00
icons Filter Strings for Deck Editor search (#3582) 2019-03-01 14:30:32 -05:00
phases Reorganized images in subfolders 2015-06-15 14:37:19 +02:00
replay Reorganized images in subfolders 2015-06-15 14:37:19 +02:00
tips rework pt setting (#3584) 2019-03-03 16:24:57 -05:00
userlevels Registered + VIP + Buddy Gummy Update (#2336) 2017-01-14 13:17:03 -05:00
appicon.icns svg+png updates 2015-04-28 16:06:36 +02:00
appicon.ico svg+png updates 2015-04-28 16:06:36 +02:00
cardback.svg Themes: remove all hardcoded extensions 2015-09-13 00:14:36 +02:00
cockatrice-original.svg svg+png updates 2015-04-28 16:06:36 +02:00
cockatrice.png svg+png updates 2015-04-28 16:06:36 +02:00
cockatrice.svg svg+png updates 2015-04-28 16:06:36 +02:00
hand.svg svg+png updates 2015-04-28 16:06:36 +02:00
hr.jpg hr.jpg changed 2009-08-24 13:33:38 +02:00