25 #include "common/random.h" 26 #include "common/serializer.h" 27 #include "engines/engine.h" 28 #include "graphics/managed_surface.h" 29 #include "graphics/wincursor.h" 30 #include "video/smk_decoder.h" 31 #include "video/subtitles.h" 33 #include "private/grammar.h" 57 kPrivateDebugFunction = 1,
64 const int kPaperShuffleSound[7] = {32, 33, 34, 35, 36, 37, 39};
68 const int kPoliceBustVideos[6] = {1, 2, 4, 5, 7, 8};
72 const int kOriginZero[2] = {0, 0};
73 const int kOriginOne[2] = {64, 48};
77 extern Gen::VM *Gen::g_vm;
101 bool useBoxCollision;
110 useBoxCollision =
false;
117 inventoryItem.
clear();
121 enum PhoneStatus : byte {
123 kPhoneStatusAvailable,
204 int _screenW, _screenH;
207 bool _shouldHighlightMasks;
208 bool _highlightMasks;
234 NameToPtr _functions;
274 void adjustSubtitleSize();
282 static uint32 findMaskTransparentColor(
const byte *palette, uint32 defaultColor);
283 static void swapImageColors(
Graphics::Surface *image, byte *palette, uint32 a, uint32 b);
285 void drawScreenFrame(
const byte *videoPalette);
303 uint32 _transparentColor;
313 bool _needToDrawScreenFrame;
334 const char *getSymbolName(
const char *name,
const char *strippedName,
const char *demoName =
nullptr);
341 DossierArray _dossiers;
342 uint _dossierSuspect;
358 bool _policeBustEnabled;
359 bool _policeSirenPlayed;
361 int _numberClicksAfterSiren;
362 int _policeBustMovieIndex;
365 void resetPoliceBust();
366 void startPoliceBust();
367 void stopPoliceBust();
368 void wallSafeAlarm();
369 void completePoliceBust();
370 void checkPoliceBust();
377 void removeRandomInventory();
383 DiaryPages _diaryPages;
384 int _currentDiaryPage;
390 void loadMemories(
const Common::Rect &rect, uint rightPageOffset, uint verticalOffset);
395 void setLocationAsVisited(
Symbol *location);
396 int getMaxLocationValue();
405 PlayedMediaTable _playedMovies;
414 void playPhoneCallSound();
415 void stopSound(
bool);
416 bool isSoundActive();
417 void waitForSoundToStop();
433 SoundList _policeRadio;
443 void initializePhoneOnDesktop();
444 void checkPhoneCall();
453 void initializeWallSafeValue();
456 int getSafeDigit(uint32 d);
457 void incrementSafeDigit(uint32 d);
460 bool getRandomBool(uint);
465 uint32 _timerStartTime;
Definition: managed_surface.h:51
Definition: image_decoder.h:53
Definition: wincursor.h:54
EngineFeature
Definition: engine.h:258
Definition: advancedDetector.h:164
Definition: private.h:129
Definition: smk_decoder.h:77
bool canSaveAutosaveCurrently() override
Definition: private.h:256
Definition: archive.h:141
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: private.h:253
Definition: subtitles.h:77
Definition: private.h:199
Definition: algorithm.h:29
Definition: private.h:165
Definition: formatinfo.h:28
Definition: decompiler.h:30
Definition: private.h:147
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: private.h:259
Definition: private.h:154
Definition: private.h:142
Definition: private.h:159
Definition: movie_decoder.h:32
Definition: private.h:172
void setEmpty()
Definition: rect.h:363
Language
Definition: language.h:45