Skip to content

Commit 0276658

Browse files
committed
Complete refactor
1 parent 72b4bca commit 0276658

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

compatibility-check.hxml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-lib jsfps
22
-lib pixijs
33
-lib hxnodejs
4-
-lib hxtsdgen
4+
55

66
-cp src
77

src/rm/Globals.hx

+24-24
Original file line numberDiff line numberDiff line change
@@ -9,89 +9,89 @@ class Globals {
99
/**
1010
* The Global plugins variable containing all plugins in the plugin manager.
1111
*/
12-
@:expose("$plugins")
12+
// @:expose("$plugins")
1313
@:native("$plugins")
1414
public static var Plugins: Array<PluginSettings>;
1515

1616
/**
1717
* The Global game variables in rm.
1818
*/
19-
@:expose("$gameVariables")
19+
// @:expose("$gameVariables")
2020
@:native("$gameVariables")
2121
public static var GameVariables: Game_Variables;
2222

2323
/**
2424
* The global game switches in rm.
2525
*/
26-
@:expose("$gameSwitches")
26+
// @:expose("$gameSwitches")
2727
@:native("$gameSwitches")
2828
public static var GameSwitches: Game_Switches;
2929

3030
/**
3131
* RPGMakerMZ system game data.
3232
*/
33-
@:expose("$gameSystem")
33+
// @:expose("$gameSystem")
3434
@:native("$gameSystem")
3535
public static var GameSystem: Game_System;
3636

3737
/**
3838
* RPGMakerMZ temporary game data.
3939
*/
40-
@:expose("$gameTemp")
40+
// @:expose("$gameTemp")
4141
@:native("$gameTemp")
4242
public static var GameTemp: Game_Temp;
4343

4444
/**
4545
* Functions to update the RPGMakerMZ message window.
4646
*/
47-
@:expose("$gameMessage")
47+
// @:expose("$gameMessage")
4848
@:native("$gameMessage")
4949
public static var GameMessage: Game_Message;
5050

5151
/**
5252
* Functions to update the self switches in game.
5353
*/
54-
@:expose("$gameSelfSwitches")
54+
// @:expose("$gameSelfSwitches")
5555
@:native("$gameSelfSwitches")
5656
public static var GameSelfSwitches: Game_SelfSwitches;
5757

5858
/**
5959
* Game Actor utility functionality for RPGMakerMZ.
6060
*/
61-
@:expose("$gameActors")
61+
// @:expose("$gameActors")
6262
@:native("$gameActors")
6363
public static var GameActors: Game_Actors;
6464

6565
/**
6666
* Game Timers in RPGMakerMZ.
6767
*/
68-
@:expose("$gameTimer")
68+
// @:expose("$gameTimer")
6969
@:native("$gameTimer")
7070
public static var GameTimer: Game_Timer;
7171

7272
/**
7373
* Controls and functionality for the RPGMakerMZ game map.
7474
*/
75-
@:expose("$gameMap")
75+
// @:expose("$gameMap")
7676
@:native("$gameMap")
7777
public static var GameMap: Game_Map;
7878

7979
/**
8080
* Controls and functionality for interacting with the game party.
8181
*/
82-
@:expose("$gameParty")
82+
// @:expose("$gameParty")
8383
@:native("$gameParty")
8484
public static var GameParty: Game_Party;
8585

8686
/**
8787
* Controls and functionality for interacting with the game player
8888
* data while the game is running.
8989
*/
90-
@:expose("$gamePlayer")
90+
// @:expose("$gamePlayer")
9191
@:native("$gamePlayer")
9292
public static var GamePlayer: Game_Player;
9393

94-
@:expose("$testEvent")
94+
// @:expose("$testEvent")
9595
@:native("$testEvent")
9696
public static var TestEvent: Array<EventCommand>;
9797

@@ -100,77 +100,77 @@ class Globals {
100100
/**
101101
* RPGMakerMZ database actor data.
102102
*/
103-
@:expose("$dataActors")
103+
// @:expose("$dataActors")
104104
@:native("$dataActors")
105105
public static var DataActors: Array<Actor>;
106106

107107
/**
108108
* RPGMakerMZ database map data.
109109
*/
110-
@:expose("$dataMap")
110+
// @:expose("$dataMap")
111111
@:native("$dataMap")
112112
public static var DataMap: RPGMap;
113113

114114
/**
115115
* RPGMakerMZ database item data.
116116
*/
117-
@:expose("$dataItems")
117+
// @:expose("$dataItems")
118118
@:native("$dataItems")
119119
public static var DataItems: Array<Item>;
120120

121121
/**
122122
* RPGMakerMZ database state data.
123123
*/
124-
@:expose("$dataStates")
124+
// @:expose("$dataStates")
125125
@:native("$dataStates")
126126
public static var DataStates: Array<State>;
127127

128128
/**
129129
* RPGMakerMZ database enemy data.
130130
*/
131-
@:expose("$dataEnemies")
131+
// @:expose("$dataEnemies")
132132
@:native("$dataEnemies")
133133
public static var DataEnemies: Array<Enemy>;
134134

135135
/**
136136
* RPGMakerMZ database armor data.
137137
*/
138-
@:expose("$dataArmors")
138+
// @:expose("$dataArmors")
139139
@:native("$dataArmors")
140140
public static var DataArmor: Array<Armor>;
141141

142142
/**
143143
* RPGMakerMZ database weapon data.
144144
*/
145-
@:expose("$dataWeapons")
145+
// @:expose("$dataWeapons")
146146
@:native("$dataWeapons")
147147
public static var DataWeapons: Array<Weapon>;
148148

149149
/**
150150
* RPGMakerMZ database troop data.
151151
*/
152-
@:expose("$dataTroops")
152+
// @:expose("$dataTroops")
153153
@:native("$dataTroops")
154154
public static var DataTroops: Array<Troop>;
155155

156156
/**
157157
* RPGMakerMZ database common event data.
158158
*/
159-
@:expose("$dataCommonEvents")
159+
// @:expose("$dataCommonEvents")
160160
@:native("$dataCommonEvents")
161161
public static var DataCommonEvents: Array<CommonEvent>;
162162

163163
/**
164164
* RPGMakerMZ database system data.
165165
*/
166-
@:expose("$dataSystem")
166+
// @:expose("$dataSystem")
167167
@:native("$dataSystem")
168168
public static var DataSystem: System;
169169

170170
/**
171171
* RPGMakerMZ database maps information.
172172
*/
173-
@:expose("$dataMapInfos")
173+
// @:expose("$dataMapInfos")
174174
@:native("$dataMapInfos")
175175
public static var DataMapInfos: Array<MapInfo>;
176176
}

0 commit comments

Comments
 (0)