Cockatrice/common
ebbit1q 1b62022f25 don't update the deckhash on load
add a new property to decklists that tracks if the deck needs to update
the deckhash

only update the deckhash if needed when it is asked for

this saves computing the deckhash for every loaded deck as performed by
the visual deck selector with impunity

the copy constructor also now no longer computes the deck hash again

the deck hash is now only computed once, on deck load, as expected,
resulting in massive amounts of cpu cycles not being wasted
2025-03-10 19:50:47 +01:00
..
lib Update PegLib, Fix Database Searching CFG (#5244) 2024-12-21 03:37:08 +00:00
pb Add custom server-side pawn colors (#5543) 2025-02-02 03:25:25 +00:00
sfmt update sfmt to version 1.5.1 from 1.4.1 (#4124) 2020-10-02 12:13:12 -04:00
CMakeLists.txt Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
color.h Tabs to spaces. 2014-07-08 22:53:02 -04:00
debug_pb_message.cpp Allow up to 100 dice to be rolled at a time (#5047) 2024-06-12 08:37:04 -04:00
debug_pb_message.h implement custom protobuf debug string creation (#4532) 2022-02-23 23:46:23 +01:00
decklist.cpp don't update the deckhash on load 2025-03-10 19:50:47 +01:00
decklist.h don't update the deckhash on load 2025-03-10 19:50:47 +01:00
expression.cpp Update PegLib, Fix Database Searching CFG (#5244) 2024-12-21 03:37:08 +00:00
expression.h Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
featureset.cpp Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
featureset.h Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
get_pb_extension.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
get_pb_extension.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
passwordhasher.cpp miscellaneous refactors (#4521) 2022-01-16 17:58:53 -05:00
passwordhasher.h miscellaneous refactors (#4521) 2022-01-16 17:58:53 -05:00
rng_abstract.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
rng_abstract.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
rng_sfmt.cpp Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
rng_sfmt.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
room_message_type.h Fix Mac Builds (#4844) 2023-08-06 22:45:45 -04:00
server.cpp Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
server.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
server_abstractuserinterface.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_abstractuserinterface.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
server_arrow.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_arrow.h assign new arrow id when arrow is moved to transformed card (#5012) 2024-03-27 14:47:00 +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 Keep card annotations on stack (#5399) 2024-12-31 14:08:25 -05:00
server_card.h Keep card annotations on stack (#5399) 2024-12-31 14:08:25 -05:00
server_cardzone.cpp Allow Judges to see all information, regardless of room settings (#5053) 2024-06-16 19:12:37 -04:00
server_cardzone.h remove cards being looked at from the count on drawing (#4671) 2022-10-17 16:35:54 -04:00
server_counter.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_counter.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_database_interface.cpp Overhaul common's CMakeLists.txt 2014-06-11 01:24:34 +02:00
server_database_interface.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
server_game.cpp Support starting games with fewer than max players (#5338) 2024-12-26 18:32:20 -05:00
server_game.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
server_player.cpp Make AttachTo tokens work from non-table zones (#5629) 2025-02-16 17:02:45 -05:00
server_player.h Support viewing the bottom X cards of library (#5410) 2025-01-05 21:17:18 -05:00
server_player_reference.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_protocolhandler.cpp Prevent server crash if DB is down and game is attempted to be created (#5600) 2025-02-09 22:11:00 +00:00
server_protocolhandler.h Support Qt6, Min Qt5.8, Fix Win32, Fix Servatrice 2022-05-06 17:31:08 -04:00
server_remoteuserinterface.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_remoteuserinterface.h apply chat flood prevention in games next to rooms (#4387) 2021-06-28 01:57:46 -04:00
server_response_containers.cpp Allow Judges to see all information, regardless of room settings (#5053) 2024-06-16 19:12:37 -04:00
server_response_containers.h Allow Judges to see all information, regardless of room settings (#5053) 2024-06-16 19:12:37 -04:00
server_room.cpp Allow up to 100 dice to be rolled at a time (#5047) 2024-06-12 08:37:04 -04:00
server_room.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
serverinfo_user_container.cpp Support Qt6, Min Qt5.8, Fix Win32, Fix Servatrice 2022-05-06 17:31:08 -04:00
serverinfo_user_container.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
trice_limits.h Deck limit (#5559) 2025-02-04 22:22:15 +00:00
user_level.h Fix Mac Builds (#4844) 2023-08-06 22:45:45 -04:00