mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-24 03:09:18 +02:00
Rewrite #includes to use explicit subdirectory paths
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com>
This commit is contained in:
@@ -404,19 +404,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE
|
|||||||
"${DEPS_DIR}/glad/include"
|
"${DEPS_DIR}/glad/include"
|
||||||
"${DEPS_DIR}/dds-ktx/include"
|
"${DEPS_DIR}/dds-ktx/include"
|
||||||
"${CMAKE_BINARY_DIR}/geninc"
|
"${CMAKE_BINARY_DIR}/geninc"
|
||||||
"${GLOBAL_INCLUDE_DIR}"
|
"${GLOBAL_INCLUDE_DIR}")
|
||||||
"simulation"
|
|
||||||
"scene"
|
|
||||||
"rendering"
|
|
||||||
"audio"
|
|
||||||
"environment"
|
|
||||||
"application"
|
|
||||||
"input"
|
|
||||||
"scripting"
|
|
||||||
"model"
|
|
||||||
"utilities"
|
|
||||||
"world"
|
|
||||||
"vehicle")
|
|
||||||
|
|
||||||
if (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
|
if (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
|
||||||
# override cmake defaults
|
# override cmake defaults
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "LPT.h"
|
#include "LPT.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "PoKeys55.h"
|
#include "PoKeys55.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// Ra: klasa statyczna gromadząca sygnały sterujące oraz informacje zwrotne
|
// Ra: klasa statyczna gromadząca sygnały sterujące oraz informacje zwrotne
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#ifndef ConsoleH
|
#ifndef ConsoleH
|
||||||
#define ConsoleH
|
#define ConsoleH
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
class TConsoleDevice; // urządzenie podłączalne za pomocą DLL
|
class TConsoleDevice; // urządzenie podłączalne za pomocą DLL
|
||||||
class TPoKeys55;
|
class TPoKeys55;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "LPT.h"
|
#include "LPT.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
// LPT na USB:
|
// LPT na USB:
|
||||||
// USB\VID_067B&PID_2305&REV_0200
|
// USB\VID_067B&PID_2305&REV_0200
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "PoKeys55.h"
|
#include "PoKeys55.h"
|
||||||
#include <setupapi.h>
|
#include <setupapi.h>
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// HIDscaner: http://forum.simflight.com/topic/68257-latest-lua-package-for-fsuipc-and-wideclient/
|
// HIDscaner: http://forum.simflight.com/topic/68257-latest-lua-package-for-fsuipc-and-wideclient/
|
||||||
|
|||||||
4
EU07.cpp
4
EU07.cpp
@@ -18,8 +18,8 @@ Stele, firleju, szociu, hunter, ZiomalCl, OLI_EU and others
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#ifdef WITHDUMPGEN
|
#ifdef WITHDUMPGEN
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
//Q: 20160805 - odlaczenie pliku fizyki .pas od kompilacji
|
//Q: 20160805 - odlaczenie pliku fizyki .pas od kompilacji
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "hamulce.h"
|
#include "hamulce.h"
|
||||||
#include "ladderlogic.h"
|
#include "scripting/ladderlogic.h"
|
||||||
/*
|
/*
|
||||||
MaSzyna EU07 locomotive simulator
|
MaSzyna EU07 locomotive simulator
|
||||||
Copyright (C) 2001-2004 Maciej Czapkiewicz and others
|
Copyright (C) 2001-2004 Maciej Czapkiewicz and others
|
||||||
@@ -78,8 +78,8 @@ zwiekszenie nacisku przy duzych predkosciach w hamulcach Oerlikona
|
|||||||
...
|
...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dumb3d.h"
|
#include "utilities/dumb3d.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
extern int ConversionError;
|
extern int ConversionError;
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "MOVER.h"
|
#include "MOVER.h"
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "DynObj.h"
|
#include "vehicle/DynObj.h"
|
||||||
#include "Oerlikon_ESt.h"
|
#include "Oerlikon_ESt.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
// Ra: tu należy przenosić funcje z mover.pas, które nie są z niego wywoływane.
|
// Ra: tu należy przenosić funcje z mover.pas, które nie są z niego wywoływane.
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Copyright (C) 2007-2014 Maciej Cierniak
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Oerlikon_ESt.h"
|
#include "Oerlikon_ESt.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
double d2A( double const d )
|
double d2A( double const d )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Copyright (C) 2007-2014 Maciej Cierniak
|
|||||||
#include "hamulce.h"
|
#include "hamulce.h"
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
#include "MOVER.h"
|
#include "MOVER.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
//---FUNKCJE OGOLNE---
|
//---FUNKCJE OGOLNE---
|
||||||
|
|
||||||
|
|||||||
@@ -8,37 +8,37 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "drivermode.h"
|
#include "application/drivermode.h"
|
||||||
#include "editormode.h"
|
#include "application/editormode.h"
|
||||||
#include "scenarioloadermode.h"
|
#include "application/scenarioloadermode.h"
|
||||||
#include "launcher/launchermode.h"
|
#include "launcher/launchermode.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationsounds.h"
|
#include "simulation/simulationsounds.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
#include "dictionary.h"
|
#include "utilities/dictionary.h"
|
||||||
#include "sceneeditor.h"
|
#include "scene/sceneeditor.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "screenshot.h"
|
#include "rendering/screenshot.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "dictionary.h"
|
#include "utilities/dictionary.h"
|
||||||
#include "version_info.h"
|
#include "version_info.h"
|
||||||
#include "ref/discord-rpc/include/discord_rpc.h"
|
#include "ref/discord-rpc/include/discord_rpc.h"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
|
|
||||||
#if WITH_DISCORD_RPC
|
#if WITH_DISCORD_RPC
|
||||||
#include <discord_rpc.h>
|
#include <discord_rpc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#pragma comment(lib, "dsound.lib")
|
#pragma comment(lib, "dsound.lib")
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "applicationmode.h"
|
#include "application/applicationmode.h"
|
||||||
#include "PyInt.h"
|
#include "scripting/PyInt.h"
|
||||||
#include "network/manager.h"
|
#include "network/manager.h"
|
||||||
#include "headtrack.h"
|
#include "utilities/headtrack.h"
|
||||||
#ifdef WITH_UART
|
#ifdef WITH_UART
|
||||||
#include "uart.h"
|
#include "utilities/uart.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class eu07_application {
|
class eu07_application {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
|
|
||||||
// component implementing specific mode of application behaviour
|
// component implementing specific mode of application behaviour
|
||||||
// base interface
|
// base interface
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Driver.h"
|
#include "vehicle/Driver.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
TController::hint( driver_hint const Value, hintpredicate const Predicate, float const Predicateparameter ) {
|
TController::hint( driver_hint const Value, hintpredicate const Predicate, float const Predicateparameter ) {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#define DRIVER_HINT_DEF(a, b) a,
|
#define DRIVER_HINT_DEF(a, b) a,
|
||||||
|
|
||||||
enum class driver_hint {
|
enum class driver_hint {
|
||||||
#include "driverhints_def.h"
|
#include "application/driverhints_def.h"
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef DRIVER_HINT_DEF
|
#undef DRIVER_HINT_DEF
|
||||||
@@ -14,7 +14,7 @@ enum class driver_hint {
|
|||||||
|
|
||||||
const char *driver_hints_texts[] =
|
const char *driver_hints_texts[] =
|
||||||
{
|
{
|
||||||
#include "driverhints_def.h"
|
#include "application/driverhints_def.h"
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef DRIVER_HINT_DEF
|
#undef DRIVER_HINT_DEF
|
||||||
|
|||||||
@@ -8,28 +8,28 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "drivermode.h"
|
#include "application/drivermode.h"
|
||||||
#include "driveruilayer.h"
|
#include "application/driveruilayer.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "simulationenvironment.h"
|
#include "simulation/simulationenvironment.h"
|
||||||
#include "scene.h"
|
#include "scene/scene.h"
|
||||||
#include "lightarray.h"
|
#include "rendering/lightarray.h"
|
||||||
#include "particles.h"
|
#include "rendering/particles.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
#include "Driver.h"
|
#include "vehicle/Driver.h"
|
||||||
#include "DynObj.h"
|
#include "vehicle/DynObj.h"
|
||||||
#include "Model3d.h"
|
#include "model/Model3d.h"
|
||||||
#include "Event.h"
|
#include "world/Event.h"
|
||||||
#include "messaging.h"
|
#include "input/messaging.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
/*
|
/*
|
||||||
namespace input {
|
namespace input {
|
||||||
|
|
||||||
|
|||||||
@@ -9,19 +9,19 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "applicationmode.h"
|
#include "application/applicationmode.h"
|
||||||
|
|
||||||
#include "driverkeyboardinput.h"
|
#include "input/driverkeyboardinput.h"
|
||||||
#include "drivermouseinput.h"
|
#include "input/drivermouseinput.h"
|
||||||
#include "gamepadinput.h"
|
#include "input/gamepadinput.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "Camera.h"
|
#include "vehicle/Camera.h"
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
#ifdef WITH_UART
|
#ifdef WITH_UART
|
||||||
#include "uart.h"
|
#include "utilities/uart.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef WITH_ZMQ
|
#ifdef WITH_ZMQ
|
||||||
#include "zmq_input.h"
|
#include "input/zmq_input.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class driver_mode : public application_mode {
|
class driver_mode : public application_mode {
|
||||||
|
|||||||
@@ -8,15 +8,15 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "driveruilayer.h"
|
#include "application/driveruilayer.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
#include "AnimModel.h"
|
#include "model/AnimModel.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
|
|
||||||
driver_ui::driver_ui()
|
driver_ui::driver_ui()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "driveruipanels.h"
|
#include "application/driveruipanels.h"
|
||||||
#include "command.h"
|
#include "input/command.h"
|
||||||
|
|
||||||
#include "widgets/vehiclelist.h"
|
#include "widgets/vehiclelist.h"
|
||||||
#include "widgets/vehicleparams.h"
|
#include "widgets/vehicleparams.h"
|
||||||
|
|||||||
@@ -8,34 +8,34 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "driveruipanels.h"
|
#include "application/driveruipanels.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "simulationenvironment.h"
|
#include "simulation/simulationenvironment.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "Event.h"
|
#include "world/Event.h"
|
||||||
#include "TractionPower.h"
|
#include "world/TractionPower.h"
|
||||||
#include "Camera.h"
|
#include "vehicle/Camera.h"
|
||||||
#include "mtable.h"
|
#include "world/mtable.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
#include "Driver.h"
|
#include "vehicle/Driver.h"
|
||||||
#include "AnimModel.h"
|
#include "model/AnimModel.h"
|
||||||
#include "DynObj.h"
|
#include "vehicle/DynObj.h"
|
||||||
#include "Model3d.h"
|
#include "model/Model3d.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "widgets/vehicleparams.h"
|
#include "widgets/vehicleparams.h"
|
||||||
|
|
||||||
#define DRIVER_HINT_CONTENT
|
#define DRIVER_HINT_CONTENT
|
||||||
#include "driverhints.h"
|
#include "application/driverhints.h"
|
||||||
|
|
||||||
#ifdef WITH_UART
|
#ifdef WITH_UART
|
||||||
#include "uart.h"
|
#include "utilities/uart.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
|
|
||||||
class drivingaid_panel : public ui_expandable_panel {
|
class drivingaid_panel : public ui_expandable_panel {
|
||||||
|
|
||||||
|
|||||||
@@ -8,23 +8,23 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "editormode.h"
|
#include "application/editormode.h"
|
||||||
#include "editoruilayer.h"
|
#include "application/editoruilayer.h"
|
||||||
|
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "simulationenvironment.h"
|
#include "simulation/simulationenvironment.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "AnimModel.h"
|
#include "model/AnimModel.h"
|
||||||
#include "scene.h"
|
#include "scene/scene.h"
|
||||||
|
|
||||||
|
|
||||||
#include "imgui/imgui.h"
|
#include "imgui/imgui.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "applicationmode.h"
|
#include "application/applicationmode.h"
|
||||||
#include "editormouseinput.h"
|
#include "input/editormouseinput.h"
|
||||||
#include "editorkeyboardinput.h"
|
#include "input/editorkeyboardinput.h"
|
||||||
#include "Camera.h"
|
#include "vehicle/Camera.h"
|
||||||
#include "sceneeditor.h"
|
#include "scene/sceneeditor.h"
|
||||||
#include "scenenode.h"
|
#include "scene/scenenode.h"
|
||||||
|
|
||||||
class editor_mode : public application_mode
|
class editor_mode : public application_mode
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "editoruilayer.h"
|
#include "application/editoruilayer.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "scenenode.h"
|
#include "scene/scenenode.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
|
|
||||||
editor_ui::editor_ui()
|
editor_ui::editor_ui()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "editoruipanels.h"
|
#include "application/editoruipanels.h"
|
||||||
|
|
||||||
namespace scene
|
namespace scene
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,18 +8,18 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "editoruipanels.h"
|
#include "application/editoruipanels.h"
|
||||||
#include "scenenodegroups.h"
|
#include "scene/scenenodegroups.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Camera.h"
|
#include "vehicle/Camera.h"
|
||||||
#include "AnimModel.h"
|
#include "model/AnimModel.h"
|
||||||
#include "Track.h"
|
#include "world/Track.h"
|
||||||
#include "Event.h"
|
#include "world/Event.h"
|
||||||
#include "MemCell.h"
|
#include "world/MemCell.h"
|
||||||
#include "editoruilayer.h"
|
#include "application/editoruilayer.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
void itemproperties_panel::update(scene::basic_node const *Node)
|
void itemproperties_panel::update(scene::basic_node const *Node)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
/*
|
/*
|
||||||
// helper, associated bool is set when the primary value was changed and expects processing at the observer's leisure
|
// helper, associated bool is set when the primary value was changed and expects processing at the observer's leisure
|
||||||
template<typename Type_>
|
template<typename Type_>
|
||||||
|
|||||||
@@ -8,17 +8,17 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scenarioloadermode.h"
|
#include "application/scenarioloadermode.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "simulationenvironment.h"
|
#include "simulation/simulationenvironment.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "scenarioloaderuilayer.h"
|
#include "application/scenarioloaderuilayer.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
|
|
||||||
scenarioloader_mode::scenarioloader_mode() {
|
scenarioloader_mode::scenarioloader_mode() {
|
||||||
m_userinterface = std::make_shared<scenarioloader_ui>();
|
m_userinterface = std::make_shared<scenarioloader_ui>();
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "applicationmode.h"
|
#include "application/applicationmode.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
|
|
||||||
class scenarioloader_mode : public application_mode {
|
class scenarioloader_mode : public application_mode {
|
||||||
std::shared_ptr<simulation::deserializer_state> state;
|
std::shared_ptr<simulation::deserializer_state> state;
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ obtain one at
|
|||||||
http://mozilla.org/MPL/2.0/.
|
http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "scenarioloaderuilayer.h"
|
#include "application/scenarioloaderuilayer.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
using json = nlohmann::json;
|
using json = nlohmann::json;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "launcher/deferred_image.h"
|
#include "launcher/deferred_image.h"
|
||||||
|
|
||||||
class scenarioloader_ui : public ui_layer {
|
class scenarioloader_ui : public ui_layer {
|
||||||
|
|||||||
@@ -8,17 +8,17 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "editormode.h"
|
#include "application/editormode.h"
|
||||||
|
|
||||||
#include "imgui/imgui_impl_glfw.h"
|
#include "imgui/imgui_impl_glfw.h"
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "Texture.h"
|
#include "model/Texture.h"
|
||||||
#include "widgets/popup.h"
|
#include "widgets/popup.h"
|
||||||
|
|
||||||
// GuiLayer -- basic user interface class. draws requested information on top of openGL screen
|
// GuiLayer -- basic user interface class. draws requested information on top of openGL screen
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "uitranscripts.h"
|
#include "application/uitranscripts.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
namespace ui {
|
namespace ui {
|
||||||
|
|
||||||
|
|||||||
@@ -11,11 +11,11 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#include <sndfile.h>
|
#include <sndfile.h>
|
||||||
|
|
||||||
#include "audio.h"
|
#include "audio/audio.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "ResourceManager.h"
|
#include "model/ResourceManager.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
namespace audio {
|
namespace audio {
|
||||||
|
|
||||||
|
|||||||
@@ -8,15 +8,15 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "audiorenderer.h"
|
#include "audio/audiorenderer.h"
|
||||||
|
|
||||||
#include "sound.h"
|
#include "audio/sound.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Camera.h"
|
#include "vehicle/Camera.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
|
|
||||||
namespace audio {
|
namespace audio {
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "audio.h"
|
#include "audio/audio.h"
|
||||||
#include "ResourceManager.h"
|
#include "model/ResourceManager.h"
|
||||||
#include "uitranscripts.h"
|
#include "application/uitranscripts.h"
|
||||||
|
|
||||||
#define EU07_SOUND_PROOFINGUSESRANGE
|
#define EU07_SOUND_PROOFINGUSESRANGE
|
||||||
|
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "sound.h"
|
#include "audio/sound.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Camera.h"
|
#include "vehicle/Camera.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
#include "DynObj.h"
|
#include "vehicle/DynObj.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "audiorenderer_extra.h"
|
#include "audio/audiorenderer_extra.h"
|
||||||
|
|
||||||
// constructors
|
// constructors
|
||||||
sound_source::sound_source( sound_placement const Placement, float const Range ) :
|
sound_source::sound_source( sound_placement const Placement, float const Range ) :
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "audiorenderer.h"
|
#include "audio/audiorenderer.h"
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
#include "Names.h"
|
#include "utilities/Names.h"
|
||||||
|
|
||||||
float const EU07_SOUND_GLOBALRANGE { -1.f };
|
float const EU07_SOUND_GLOBALRANGE { -1.f };
|
||||||
float const EU07_SOUND_CABCONTROLSCUTOFFRANGE { 7.5f };
|
float const EU07_SOUND_CABCONTROLSCUTOFFRANGE { 7.5f };
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "../gl/shader.h"
|
#include "../gl/shader.h"
|
||||||
#include "../gl/glsl_common.h"
|
#include "../gl/glsl_common.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "moon.h"
|
#include "environment/moon.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "mtable.h"
|
#include "world/mtable.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// cSun -- class responsible for dynamic calculation of position and intensity of the Sun,
|
// cSun -- class responsible for dynamic calculation of position and intensity of the Sun,
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "sky.h"
|
#include "environment/sky.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "MdlMngr.h"
|
#include "model/MdlMngr.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
//GLfloat lightPos[4] = {0.0f, 0.0f, 0.0f, 1.0f};
|
//GLfloat lightPos[4] = {0.0f, 0.0f, 0.0f, 1.0f};
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
|
|
||||||
class TSky {
|
class TSky {
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "skydome.h"
|
#include "environment/skydome.h"
|
||||||
#include "color.h"
|
#include "utilities/color.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "simulationenvironment.h"
|
#include "simulation/simulationenvironment.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
|
|
||||||
// sky gradient based on "A practical analytic model for daylight"
|
// sky gradient based on "A practical analytic model for daylight"
|
||||||
// by A. J. Preetham Peter Shirley Brian Smits (University of Utah)
|
// by A. J. Preetham Peter Shirley Brian Smits (University of Utah)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "stars.h"
|
#include "environment/stars.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "MdlMngr.h"
|
#include "model/MdlMngr.h"
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// cStars -- simple starfield model, simulating appearance of starry sky
|
// cStars -- simple starfield model, simulating appearance of starry sky
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "sun.h"
|
#include "environment/sun.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "mtable.h"
|
#include "world/mtable.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// cSun -- class responsible for dynamic calculation of position and intensity of the Sun,
|
// cSun -- class responsible for dynamic calculation of position and intensity of the Sun,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "Model3d.h"
|
#include "model/Model3d.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
|
|
||||||
void export_e3d_standalone(std::string in, std::string out, int flags, bool dynamic)
|
void export_e3d_standalone(std::string in, std::string out, int flags, bool dynamic)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "piped_proc.h"
|
#include "piped_proc.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
piped_proc::piped_proc(std::string cmd, bool write)
|
piped_proc::piped_proc(std::string cmd, bool write)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "framebuffer.h"
|
#include "framebuffer.h"
|
||||||
|
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
gl::framebuffer::framebuffer()
|
gl::framebuffer::framebuffer()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#include "object.h"
|
#include "object.h"
|
||||||
#include "bindable.h"
|
#include "bindable.h"
|
||||||
#include "renderbuffer.h"
|
#include "renderbuffer.h"
|
||||||
#include "Texture.h"
|
#include "model/Texture.h"
|
||||||
#include "cubemap.h"
|
#include "cubemap.h"
|
||||||
|
|
||||||
namespace gl
|
namespace gl
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ubo.h"
|
#include "ubo.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
|
|
||||||
namespace gl
|
namespace gl
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#include "shader.h"
|
#include "shader.h"
|
||||||
#include "vao.h"
|
#include "vao.h"
|
||||||
#include "framebuffer.h"
|
#include "framebuffer.h"
|
||||||
#include "Texture.h"
|
#include "model/Texture.h"
|
||||||
|
|
||||||
namespace gl
|
namespace gl
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "query.h"
|
#include "query.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
|
|
||||||
gl::query::query(targets target)
|
gl::query::query(targets target)
|
||||||
: target(target)
|
: target(target)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "shader.h"
|
#include "shader.h"
|
||||||
#include "glsl_common.h"
|
#include "glsl_common.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
inline bool strcend(std::string const &value, std::string const &ending)
|
inline bool strcend(std::string const &value, std::string const &ending)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
//----------------------------------------
|
//----------------------------------------
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
|
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
|||||||
@@ -8,14 +8,14 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "command.h"
|
#include "input/command.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
|
|
||||||
namespace simulation {
|
namespace simulation {
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "driverkeyboardinput.h"
|
#include "input/driverkeyboardinput.h"
|
||||||
|
|
||||||
bool
|
bool
|
||||||
driverkeyboard_input::init() {
|
driverkeyboard_input::init() {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "keyboardinput.h"
|
#include "input/keyboardinput.h"
|
||||||
|
|
||||||
class driverkeyboard_input : public keyboard_input {
|
class driverkeyboard_input : public keyboard_input {
|
||||||
|
|
||||||
|
|||||||
@@ -8,19 +8,19 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "drivermouseinput.h"
|
#include "input/drivermouseinput.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
#include "AnimModel.h"
|
#include "model/AnimModel.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
auto const EU07_CONTROLLER_MOUSESLIDERSIZE{ 0.6 };
|
auto const EU07_CONTROLLER_MOUSESLIDERSIZE{ 0.6 };
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include "command.h"
|
#include "input/command.h"
|
||||||
|
|
||||||
// virtual slider; value determined by position of the mouse
|
// virtual slider; value determined by position of the mouse
|
||||||
class mouse_slider {
|
class mouse_slider {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "editorkeyboardinput.h"
|
#include "input/editorkeyboardinput.h"
|
||||||
|
|
||||||
bool
|
bool
|
||||||
editorkeyboard_input::init() {
|
editorkeyboard_input::init() {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "keyboardinput.h"
|
#include "input/keyboardinput.h"
|
||||||
|
|
||||||
class editorkeyboard_input : public keyboard_input {
|
class editorkeyboard_input : public keyboard_input {
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "editormouseinput.h"
|
#include "input/editormouseinput.h"
|
||||||
|
|
||||||
bool
|
bool
|
||||||
editormouse_input::init() {
|
editormouse_input::init() {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "command.h"
|
#include "input/command.h"
|
||||||
|
|
||||||
class editormouse_input {
|
class editormouse_input {
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "gamepadinput.h"
|
#include "input/gamepadinput.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
|
|
||||||
glm::vec2 circle_to_square( glm::vec2 const &Point, int const Roundness = 0 ) {
|
glm::vec2 circle_to_square( glm::vec2 const &Point, int const Roundness = 0 ) {
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@ gamepad_input::recall_bindings() {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// bindingparser tworzony zawsze, z wybran¹ œcie¿k¹
|
// bindingparser tworzony zawsze, z wybran<EFBFBD> <20>cie<69>k<EFBFBD>
|
||||||
cParser bindingparser(filePath.c_str(), cParser::buffer_FILE);
|
cParser bindingparser(filePath.c_str(), cParser::buffer_FILE);
|
||||||
|
|
||||||
if( false == bindingparser.ok() ) {
|
if( false == bindingparser.ok() ) {
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "command.h"
|
#include "input/command.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
|
|
||||||
class gamepad_input {
|
class gamepad_input {
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,10 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "keyboardinput.h"
|
#include "input/keyboardinput.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
|
|
||||||
namespace input {
|
namespace input {
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ keyboard_input::recall_bindings() {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Fallback – plik w folderze symulatora
|
// Fallback <EFBFBD> plik w folderze symulatora
|
||||||
path = "eu07_input-keyboard.ini";
|
path = "eu07_input-keyboard.ini";
|
||||||
}
|
}
|
||||||
cParser bindingparser(path.c_str(), cParser::buffer_FILE);
|
cParser bindingparser(path.c_str(), cParser::buffer_FILE);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "command.h"
|
#include "input/command.h"
|
||||||
|
|
||||||
namespace input {
|
namespace input {
|
||||||
|
|
||||||
|
|||||||
@@ -8,17 +8,17 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "messaging.h"
|
#include "input/messaging.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "Event.h"
|
#include "world/Event.h"
|
||||||
#include "DynObj.h"
|
#include "vehicle/DynObj.h"
|
||||||
#include "Driver.h"
|
#include "vehicle/Driver.h"
|
||||||
#include "mtable.h"
|
#include "world/mtable.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "zmq_input.h"
|
#include "input/zmq_input.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "Train.h"
|
#include "vehicle/Train.h"
|
||||||
|
|
||||||
zmq_input::zmq_input()
|
zmq_input::zmq_input()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <zmq_addon.hpp>
|
#include <zmq_addon.hpp>
|
||||||
#include "command.h"
|
#include "input/command.h"
|
||||||
|
|
||||||
class zmq_input
|
class zmq_input
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Texture.h"
|
#include "model/Texture.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
|
|
||||||
class deferred_image {
|
class deferred_image {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "keymapper.h"
|
#include "keymapper.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
|
|
||||||
ui::keymapper_panel::keymapper_panel()
|
ui::keymapper_panel::keymapper_panel()
|
||||||
: ui_panel(STR("Keymapper"), false)
|
: ui_panel(STR("Keymapper"), false)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "driverkeyboardinput.h"
|
#include "input/driverkeyboardinput.h"
|
||||||
|
|
||||||
namespace ui
|
namespace ui
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "launcher/launchermode.h"
|
#include "launcher/launchermode.h"
|
||||||
#include "launcher/launcheruilayer.h"
|
#include "launcher/launcheruilayer.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
|
|
||||||
launcher_mode::launcher_mode()
|
launcher_mode::launcher_mode()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "applicationmode.h"
|
#include "application/applicationmode.h"
|
||||||
|
|
||||||
class launcher_mode : public application_mode {
|
class launcher_mode : public application_mode {
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "launcher/launcheruilayer.h"
|
#include "launcher/launcheruilayer.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
|
|
||||||
launcher_ui::launcher_ui() : m_scenery_scanner(m_vehicles_bank), m_scenerylist_panel(m_scenery_scanner)
|
launcher_ui::launcher_ui() : m_scenery_scanner(m_vehicles_bank), m_scenerylist_panel(m_scenery_scanner)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "launcher/scenery_list.h"
|
#include "launcher/scenery_list.h"
|
||||||
#include "launcher/keymapper.h"
|
#include "launcher/keymapper.h"
|
||||||
#include "launcher/vehicle_picker.h"
|
#include "launcher/vehicle_picker.h"
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scenery_list.h"
|
#include "scenery_list.h"
|
||||||
#include "imgui/imgui.h"
|
#include "imgui/imgui.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "driverkeyboardinput.h"
|
#include "input/driverkeyboardinput.h"
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "scenery_scanner.h"
|
#include "scenery_scanner.h"
|
||||||
#include "widgets/popup.h"
|
#include "widgets/popup.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "scenery_scanner.h"
|
#include "scenery_scanner.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
scenery_scanner::scenery_scanner(ui::vehicles_bank &bank)
|
scenery_scanner::scenery_scanner(ui::vehicles_bank &bank)
|
||||||
: bank(bank)
|
: bank(bank)
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include "Texture.h"
|
#include "model/Texture.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
#include "textures_scanner.h"
|
#include "textures_scanner.h"
|
||||||
|
|
||||||
struct dynamic_desc {
|
struct dynamic_desc {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "textures_scanner.h"
|
#include "textures_scanner.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
void ui::vehicles_bank::scan_textures()
|
void ui::vehicles_bank::scan_textures()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "launcher/vehicle_picker.h"
|
#include "launcher/vehicle_picker.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
|
|
||||||
ui::vehiclepicker_panel::vehiclepicker_panel()
|
ui::vehiclepicker_panel::vehiclepicker_panel()
|
||||||
: ui_panel(STR("Select vehicle"), false), placeholder_mini("textures/mini/other")
|
: ui_panel(STR("Select vehicle"), false), placeholder_mini("textures/mini/other")
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "uilayer.h"
|
#include "application/uilayer.h"
|
||||||
#include "textures_scanner.h"
|
#include "textures_scanner.h"
|
||||||
#include "translation.h"
|
#include "utilities/translation.h"
|
||||||
|
|
||||||
namespace ui {
|
namespace ui {
|
||||||
|
|
||||||
|
|||||||
@@ -13,17 +13,17 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "AnimModel.h"
|
#include "model/AnimModel.h"
|
||||||
|
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "MdlMngr.h"
|
#include "model/MdlMngr.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "Event.h"
|
#include "world/Event.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
|
|
||||||
std::list<std::weak_ptr<TAnimContainer>> TAnimModel::acAnimList;
|
std::list<std::weak_ptr<TAnimContainer>> TAnimModel::acAnimList;
|
||||||
|
|
||||||
|
|||||||
@@ -14,12 +14,12 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
#include "dumb3d.h"
|
#include "utilities/dumb3d.h"
|
||||||
#include "Float3d.h"
|
#include "utilities/Float3d.h"
|
||||||
#include "Model3d.h"
|
#include "model/Model3d.h"
|
||||||
#include "DynObj.h"
|
#include "vehicle/DynObj.h"
|
||||||
#include "scenenode.h"
|
#include "scene/scenenode.h"
|
||||||
|
|
||||||
const int iMaxNumLights = 8;
|
const int iMaxNumLights = 8;
|
||||||
float const DefaultDarkThresholdLevel { 0.325f };
|
float const DefaultDarkThresholdLevel { 0.325f };
|
||||||
|
|||||||
@@ -14,12 +14,12 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "MdlMngr.h"
|
#include "model/MdlMngr.h"
|
||||||
|
|
||||||
#include "Model3d.h"
|
#include "model/Model3d.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
// wczytanie modelu do kontenerka
|
// wczytanie modelu do kontenerka
|
||||||
TModel3d *
|
TModel3d *
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
|
|
||||||
class TMdlContainer {
|
class TMdlContainer {
|
||||||
friend class TModelsManager;
|
friend class TModelsManager;
|
||||||
|
|||||||
@@ -13,17 +13,17 @@ Copyright (C) 2001-2004 Marcin Wozniak, Maciej Czapkiewicz and others
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Model3d.h"
|
#include "model/Model3d.h"
|
||||||
|
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "Timer.h"
|
#include "utilities/Timer.h"
|
||||||
#include "simulation.h"
|
#include "simulation/simulation.h"
|
||||||
#include "simulationtime.h"
|
#include "simulation/simulationtime.h"
|
||||||
#include "mtable.h"
|
#include "world/mtable.h"
|
||||||
#include "sn_utils.h"
|
#include "scene/sn_utils.h"
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,11 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
#include "dumb3d.h"
|
#include "utilities/dumb3d.h"
|
||||||
#include "Float3d.h"
|
#include "utilities/Float3d.h"
|
||||||
#include "geometrybank.h"
|
#include "rendering/geometrybank.h"
|
||||||
#include "material.h"
|
#include "model/material.h"
|
||||||
#include "gl/query.h"
|
#include "gl/query.h"
|
||||||
|
|
||||||
#define EU07_USE_GEOMETRYINDEXING
|
#define EU07_USE_GEOMETRYINDEXING
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#include "ResourceManager.h"
|
#include "model/ResourceManager.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
ResourceManager::Resources ResourceManager::_resources;
|
ResourceManager::Resources ResourceManager::_resources;
|
||||||
double ResourceManager::_expiry = 5.0f;
|
double ResourceManager::_expiry = 5.0f;
|
||||||
|
|||||||
@@ -14,16 +14,16 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Texture.h"
|
#include "model/Texture.h"
|
||||||
|
|
||||||
#include "application.h"
|
#include "application/application.h"
|
||||||
#include "dictionary.h"
|
#include "utilities/dictionary.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "sn_utils.h"
|
#include "scene/sn_utils.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "flip-s3tc.h"
|
#include "rendering/flip-s3tc.h"
|
||||||
#include "stb/stb_image.h"
|
#include "stb/stb_image.h"
|
||||||
//#include <png.h>
|
//#include <png.h>
|
||||||
#include "dds-ktx/dds-ktx.h"
|
#include "dds-ktx/dds-ktx.h"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include <istream>
|
#include <istream>
|
||||||
#include "winheaders.h"
|
#include "winheaders.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "ResourceManager.h"
|
#include "model/ResourceManager.h"
|
||||||
#include "gl/ubo.h"
|
#include "gl/ubo.h"
|
||||||
#include "interfaces/ITexture.h"
|
#include "interfaces/ITexture.h"
|
||||||
|
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "material.h"
|
#include "model/material.h"
|
||||||
#include "renderer.h"
|
#include "rendering/renderer.h"
|
||||||
#include "parser.h"
|
#include "utilities/parser.h"
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
#include "sn_utils.h"
|
#include "scene/sn_utils.h"
|
||||||
#include "Globals.h"
|
#include "utilities/Globals.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
opengl_material::path_data opengl_material::paths;
|
opengl_material::path_data opengl_material::paths;
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "interfaces/IMaterial.h"
|
#include "interfaces/IMaterial.h"
|
||||||
#include "Classes.h"
|
#include "utilities/Classes.h"
|
||||||
#include "Texture.h"
|
#include "model/Texture.h"
|
||||||
#include "gl/shader.h"
|
#include "gl/shader.h"
|
||||||
#include "gl/ubo.h"
|
#include "gl/ubo.h"
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "vertex.h"
|
#include "model/vertex.h"
|
||||||
#include "sn_utils.h"
|
#include "scene/sn_utils.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
world_vertex::serialize( std::ostream &s ) const {
|
world_vertex::serialize( std::ostream &s ) const {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities/utilities.h"
|
||||||
|
|
||||||
// geometry vertex with double precision position
|
// geometry vertex with double precision position
|
||||||
struct world_vertex {
|
struct world_vertex {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "network/backend/asio.h"
|
#include "network/backend/asio.h"
|
||||||
#include "sn_utils.h"
|
#include "scene/sn_utils.h"
|
||||||
#include "Logs.h"
|
#include "utilities/Logs.h"
|
||||||
|
|
||||||
network::tcp::connection::connection(asio::io_context &io_ctx, bool client, size_t counter)
|
network::tcp::connection::connection(asio::io_context &io_ctx, bool client, size_t counter)
|
||||||
: network::connection(client, counter),
|
: network::connection(client, counter),
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user