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:
parent
82b958f274
commit
4bc01ab7d5
22 changed files with 116 additions and 111 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue