diff options
author | Paul Gilbert | 2016-07-28 21:03:02 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-28 21:03:02 -0400 |
commit | f36d392c11ef58c33050d952459870a9c931e427 (patch) | |
tree | dd32c6475caf3bd09108d07e28bb1e4421c3ef8f /devtools/create_titanic/script_states.h | |
parent | 7a2a705a7a2aeba7ca7d96b0e561b6d4a56fc4a5 (diff) | |
download | scummvm-rg350-f36d392c11ef58c33050d952459870a9c931e427.tar.gz scummvm-rg350-f36d392c11ef58c33050d952459870a9c931e427.tar.bz2 scummvm-rg350-f36d392c11ef58c33050d952459870a9c931e427.zip |
DEVTOOLS: Add updateState methods arrays to create_titanic
Diffstat (limited to 'devtools/create_titanic/script_states.h')
-rw-r--r-- | devtools/create_titanic/script_states.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/devtools/create_titanic/script_states.h b/devtools/create_titanic/script_states.h new file mode 100644 index 0000000000..27dfe22ed4 --- /dev/null +++ b/devtools/create_titanic/script_states.h @@ -0,0 +1,43 @@ +/* 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef COMMON_SCRIPT_STATES_H +#define COMMON_SCRIPT_STATES_H + +#include "common/scummsys.h" + +struct UpdateState12 { + uint _newId; + uint _newValue; + uint _idMatch; +}; + +struct UpdateState8 { + uint _src; + uint _dest; +}; + +extern void writeAllUpdateStates(); +extern void writeEntryHeader(const char *name, uint offset, uint size); +extern uint dataOffset; + +#endif |