* Engine: moved unsupported scStartRecording, get rid of a h/cpp pair

From upstream 8e8e498776fec5392cbc6d6b4d36c83cce7cf4d0
This commit is contained in:
Paul Gilbert 2022-04-23 22:19:18 -07:00
parent ecb7e42439
commit d3f9f299dd
7 changed files with 6 additions and 65 deletions

View File

@ -56,7 +56,6 @@
#include "ags/engine/ac/global_overlay.h"
#include "ags/engine/ac/global_palette.h"
#include "ags/engine/ac/global_parser.h"
#include "ags/engine/ac/global_record.h"
#include "ags/engine/ac/global_region.h"
#include "ags/engine/ac/global_room.h"
#include "ags/engine/ac/global_slider.h"

View File

@ -811,4 +811,8 @@ void SkipWait() {
_GP(play).wait_counter = 0;
}
void scStartRecording(int /*keyToStop*/) {
debug_script_warn("StartRecording: not supported");
}
} // namespace AGS3

View File

@ -109,6 +109,8 @@ int WaitMouse(int nloops);
int WaitMouseKey(int nloops);
void SkipWait();
void scStartRecording(int keyToStop);
} // namespace AGS3
#endif

View File

@ -1,31 +0,0 @@
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "ags/engine/ac/global_record.h"
#include "ags/shared/ac/common.h"
namespace AGS3 {
void scStartRecording(int keyToStop) {
quit("!StartRecording: not supported");
}
} // namespace AGS3

View File

@ -1,31 +0,0 @@
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef AGS_ENGINE_AC_GLOBAL_RECORD_H
#define AGS_ENGINE_AC_GLOBAL_RECORD_H
namespace AGS3 {
void scStartRecording(int keyToStop);
} // namespace AGS3
#endif

View File

@ -139,7 +139,6 @@ MODULE_OBJS = \
engine/ac/global_overlay.o \
engine/ac/global_palette.o \
engine/ac/global_parser.o \
engine/ac/global_record.o \
engine/ac/global_region.o \
engine/ac/global_room.o \
engine/ac/global_screen.o \

View File

@ -47,7 +47,6 @@
#include "ags/engine/ac/global_overlay.h"
#include "ags/engine/ac/global_palette.h"
#include "ags/engine/ac/global_parser.h"
#include "ags/engine/ac/global_record.h"
#include "ags/engine/ac/global_region.h"
#include "ags/engine/ac/global_room.h"
#include "ags/engine/ac/global_screen.h"