mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00

Two issues are addressed: CORE-2189: missing undo feature Works the same way as solitaire in windows xp: - only 1 action can be undone; - the player gets -2 points in standard score mode; - the undo action resets when the player clicks on a row stack to turn the top card. CORE-11148: invisible cards This happens in 3-card mode, when only 1 card left in the deck. The fix for this is to modify the pile stack to contain all the face-up cards. It was actually already in the code somewhere else, so I turned it into a separate function.
15 lines
440 B
CMake
15 lines
440 B
CMake
|
|
list(APPEND SOURCE
|
|
solcreate.cpp
|
|
solgame.cpp
|
|
solundo.cpp
|
|
solitaire.cpp
|
|
solitaire.h)
|
|
|
|
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/solitaire.ico)
|
|
add_executable(sol ${SOURCE} rsrc.rc)
|
|
target_link_libraries(sol cardlib)
|
|
set_module_type(sol win32gui UNICODE)
|
|
add_importlibs(sol advapi32 comctl32 user32 gdi32 msvcrt kernel32)
|
|
add_pch(sol solitaire.h SOURCE)
|
|
add_cd_file(TARGET sol DESTINATION reactos/system32 FOR all)
|