/
trilirium
/
Pacman
Обзор
Документация
Войти
/
trilirium
/
Pacman
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
CommonCutscene.cpp
33 строки
662 B
Trilirium
first commit
19 июн 2026, 11:07
19 июн 2026, 11:07
d44591e
Код
Авторство
О чём код?
// CommonCutscene.cpp // ///////////////////////////////////////////////////////////////////////////// #include "CommonCutscene.h" #include "Game.h" #include "Ghost.h" #include "Pacman.h" using namespace Puckman; void NopCutsceneState::run() { // TODOSOUND: stop sound // increments level state twice theGame->states[PLAYING]->substate++; theGame->states[PLAYING]->substate++; } void Puckman::cutsceneMainLoop(bool slow) { // moves pacman and red ghost theGame->pacman->run(); theGame->pacman->run(); if (!slow){ theGame->ghost[RED]->run(); } theGame->ghost[RED]->run(); theGame->updateGhostAnimCounters(); }