aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kmisc.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2019-10-08 01:36:10 +0300
committerFilippos Karapetis2019-10-08 01:36:43 +0300
commite086ac376e95e9b62911725d10a406dcdcff9a93 (patch)
treecee097df2aaa5d2e330dc599e728c0018785b90d /engines/sci/engine/kmisc.cpp
parentbd969478f8f90f845e05d9f0089c3a9ec50165d1 (diff)
downloadscummvm-rg350-e086ac376e95e9b62911725d10a406dcdcff9a93.tar.gz
scummvm-rg350-e086ac376e95e9b62911725d10a406dcdcff9a93.tar.bz2
scummvm-rg350-e086ac376e95e9b62911725d10a406dcdcff9a93.zip
SCI32: Some initial work on the Hoyle 5 poker logic
The game can be entered now, but there's only some dummy logic in place to get it working
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r--engines/sci/engine/kmisc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index 2dc9332f80..21124606c7 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -704,6 +704,9 @@ reg_t kWinDLL(EngineState *s, int argc, reg_t *argv) {
switch (operation) {
case 0: // load DLL
+ if (dllName == "PENGIN16.DLL")
+ showScummVMDialog("The Poker logic is hardcoded in an external DLL, and is not implemented yet. There exists some dummy logic for now, where opponent actions are chosen randomly");
+
// This is originally a call to LoadLibrary() and to the Watcom function GetIndirectFunctionHandle
return make_reg(0, 1000); // fake ID for loaded DLL, normally returned from Windows LoadLibrary()
case 1: // free DLL