Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
Loading...
Searching...
No Matches
individualmap.h
Go to the documentation of this file.
1/*
2 * Copyright 2020 Twilight
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15*/
16#pragma once
17#include <QObject>
18
19/*
20 * So this class is a bit wierd, it's technically an MVC, but not Qt's MVC and
21 * it enables the view to work with code all over the place but the view is in
22 * charge and this is the helper.
23 *
24 * The expanded data is setup to be data oriented, not map oriented. So you have
25 * all the events for all the maps and all the hidden items for all the maps,
26 * etc...
27 *
28 * This class exists if you want to work with all the data but just for one map.
29 * It's here to allow the view to ask it questions and make requests. It handles
30 * the bulk of the work for the view but the view is in charge.
31*/
32
42class IndividualMap : public QObject
43{
44 Q_OBJECT
45
46public:
48
49 /*
50 * Name
51 * Ind
52 * Glitch
53 * Special
54 * Warps
55 * Signs
56 * Sprites
57 * Connecting
58 * Pokemon
59 * Sprite Set
60 * Border
61 * Pointers
62 * Size
63 * Music
64 * Tileset
65 * Incomplete
66 * Events
67 * A Fly Destination
68 * Hidden Objects
69 * Script
70 * Current Map
71 * Trades
72 * Various Flags
73 * Map Specific
74 * * Fossil
75 * * Vermillion Gym
76 * * Cinnabar Gym
77 * * Safari Zone
78 * * Daycare
79*/
80};