V-Gears 0
Free Final Fantasy VII engine.
FieldScriptFormatter.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
18#include <map>
19#include <vector>
20#include <string>
22
27
28 public:
29
46 virtual void AddSpawnPoint(
47 unsigned int map_id, const std::string& entity, const std::string& function_name,
48 unsigned int address, int x, int y, int triangle_id, int angle
49 );
50
60 virtual std::string GetSpawnPointName(
61 unsigned int map_id, const std::string& entity,
62 const std::string& function_name, unsigned int address
63 );
64
73 virtual std::string GetMapName(unsigned int map_id);
74
75};
Formatter for field scripts.
Definition: FieldScriptFormatter.h:26
virtual std::string GetMapName(unsigned int map_id)
Retrieves the name of a map.
Definition: FieldScriptFormatter.cpp:31
virtual std::string GetSpawnPointName(unsigned int map_id, const std::string &entity, const std::string &function_name, unsigned int address)
Retrieves the name of a spawn point.
Definition: FieldScriptFormatter.cpp:23
virtual void AddSpawnPoint(unsigned int map_id, const std::string &entity, const std::string &function_name, unsigned int address, int x, int y, int triangle_id, int angle)
Adds an spawn point.
Definition: FieldScriptFormatter.cpp:18
Definition: ScriptFormatter.h:24