forked from rosebudai/OpenRCT2-Web
Rename Climate to Weather where appropriate (#26163)
* Introduce OpenRCT2::Weather namespace * Rename Climate.h/cpp to Weather.h/cpp * Rename ScClimate.hpp to ScWeather.hpp * Rename drawing/Weather.h to drawing/WeatherDrawer.h
This commit is contained in:
1 parent
571745d38f
commit
be84cdb1bb
40 files changed
+722
-716
No files matched your search
@@ -53,7 +53,6 @@
|
||||
#include "bindings/ride/ScRide.hpp"
|
||||
#include "bindings/ride/ScRideStation.hpp"
|
||||
#include "bindings/world/ScAward.hpp"
|
||||
#include "bindings/world/ScClimate.hpp"
|
||||
#include "bindings/world/ScDate.hpp"
|
||||
#include "bindings/world/ScMap.hpp"
|
||||
#include "bindings/world/ScPark.hpp"
|
||||
@@ -62,6 +61,7 @@
|
||||
#include "bindings/world/ScScenario.hpp"
|
||||
#include "bindings/world/ScTile.hpp"
|
||||
#include "bindings/world/ScTileElement.hpp"
|
||||
#include "bindings/world/ScWeather.hpp"
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
@@ -410,7 +410,7 @@ void ScriptEngine::Initialise()
|
||||
auto ctx = static_cast<duk_context*>(_context);
|
||||
ScAward::Register(ctx);
|
||||
ScCheats::Register(ctx);
|
||||
ScClimate::Register(ctx);
|
||||
ScWeather::Register(ctx);
|
||||
ScWeatherState::Register(ctx);
|
||||
ScConfiguration::Register(ctx);
|
||||
ScConsole::Register(ctx);
|
||||
@@ -467,7 +467,7 @@ void ScriptEngine::Initialise()
|
||||
ScPlugin::Register(ctx);
|
||||
|
||||
dukglue_register_global(ctx, std::make_shared<ScCheats>(), "cheats");
|
||||
dukglue_register_global(ctx, std::make_shared<ScClimate>(), "climate");
|
||||
dukglue_register_global(ctx, std::make_shared<ScWeather>(), "climate");
|
||||
dukglue_register_global(ctx, std::make_shared<ScConsole>(_console), "console");
|
||||
dukglue_register_global(ctx, std::make_shared<ScContext>(_execInfo, _hookEngine), "context");
|
||||
dukglue_register_global(ctx, std::make_shared<ScDate>(), "date");
|
||||
|
||||
Reference in new issue
Block a user