V-Gears 0
Free Final Fantasy VII engine.
SpawnPointDb.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 The V-Gears Team
3 *
4 * This file is part of V-Gears
5 *
6 * V-Gears is free software: you can redistribute it and/or modify it under
7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation, version 3.0 (GPLv3) of the License.
9 *
10 * V-Gears is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#pragma once
17
22
30
34 struct Record{
35
40
45
50
54 bool from_script = false;
55
61 std::string entity_name;
62
69 };
70
74 std::vector<Record> gateways_to_this_field;
75};
Ogre::uint16 u16
Definition: TypeDefine.h:22
Ogre::uint32 u32
Definition: TypeDefine.h:23
A spawn point database record.
Definition: SpawnPointDb.h:34
u16 field_id
Field that links to {.
Definition: SpawnPointDb.h:39
std::string script_function_name
Definition: SpawnPointDb.h:68
std::string entity_name
Definition: SpawnPointDb.h:61
u32 gateway_index_or_map_jump_address
Index of the gateway in {.
Definition: SpawnPointDb.h:44
bool from_script
Indicates if the gateway is a map jump from a script.
Definition: SpawnPointDb.h:54
VGears::TriggersFile::Gateway gateway
Gateway data.
Definition: SpawnPointDb.h:49
A database of spawn points.
Definition: SpawnPointDb.h:21
std::vector< Record > gateways_to_this_field
List of gateways to this field.
Definition: SpawnPointDb.h:74
u16 target_field_id
Field IDs.
Definition: SpawnPointDb.h:29
A gateway.
Definition: VGearsTriggersFile.h:179