AGI: getflag/setflag/etc. cleanup

renamed getflag() to getFlag()
renamed setflag() to setFlag()
renamed flipflag() to flipFlag()
preagi: renamed setFlag for this engine to setWinnieFlag
This commit is contained in:
Martin Kiewitz 2016-01-31 17:56:53 +01:00
parent 82b958f274
commit 4bc01ab7d5
22 changed files with 116 additions and 111 deletions

View file

@ -571,7 +571,7 @@ namespace Agi {
bool AgiBase::canLoadGameStateCurrently() {
if (!(getGameType() == GType_PreAGI)) {
if (getflag(VM_FLAG_MENUS_WORK)) {
if (getFlag(VM_FLAG_MENUS_WORK)) {
if (!_noSaveLoadAllowed) {
if (!cycleInnerLoopIsActive()) {
// We can't allow to restore a game, while inner loop is active
@ -592,7 +592,7 @@ bool AgiBase::canSaveGameStateCurrently() {
return true;
if (!(getGameType() == GType_PreAGI)) {
if (getflag(VM_FLAG_MENUS_WORK)) {
if (getFlag(VM_FLAG_MENUS_WORK)) {
if (!_noSaveLoadAllowed) {
if (!cycleInnerLoopIsActive()) {
if (promptIsEnabled()) {