mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Corrige includes
This commit is contained in:
parent
fe0cec0bc5
commit
5e47529377
@ -1,4 +1,4 @@
|
|||||||
#include "common/collision.hpp"
|
#include "xna/common/collision.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Plane::Plane(Vector3 const& point1, Vector3 const& point2, Vector3 const& point3) {
|
Plane::Plane(Vector3 const& point1, Vector3 const& point2, Vector3 const& point3) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "common/color.hpp"
|
#include "xna/common/color.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Color::Color(float r, float g, float b, float a) :
|
Color::Color(float r, float g, float b, float a) :
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "common/gjk.hpp"
|
#include "xna/common/gjk.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Vector3 Gjk::ComputeClosestPoint() {
|
Vector3 Gjk::ComputeClosestPoint() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "common/numerics.hpp"
|
#include "xna/common/numerics.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
bool Vector2::Transform(Vector2 const* sourceArray, size_t sourceArrayLength, Matrix const& matrix, Vector2* destinationArray, size_t destinationArrayLength) {
|
bool Vector2::Transform(Vector2 const* sourceArray, size_t sourceArrayLength, Matrix const& matrix, Vector2* destinationArray, size_t destinationArrayLength) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "common/packedvalue.hpp"
|
#include "xna/common/packedvalue.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Uint PackUtils::PackUnsigned(float bitmask, float value) {
|
Uint PackUtils::PackUnsigned(float bitmask, float value) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "content/lzx/decoder.hpp"
|
#include "xna/content/lzx/decoder.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "content/lzx/decoderstream.hpp"
|
#include "xna/content/lzx/decoderstream.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Int LzxDecoderStream::Length()
|
Int LzxDecoderStream::Length()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "content/manager.hpp"
|
#include "xna/content/manager.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
sptr<Stream> ContentManager::OpenStream(String const& assetName) const {
|
sptr<Stream> ContentManager::OpenStream(String const& assetName) const {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "content/reader.hpp"
|
#include "xna/content/reader.hpp"
|
||||||
#include "content/manager.hpp"
|
#include "xna/content/manager.hpp"
|
||||||
#include "content/lzx/decoderstream.hpp"
|
#include "xna/content/lzx/decoderstream.hpp"
|
||||||
#include "content/typereadermanager.hpp"
|
#include "xna/content/typereadermanager.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
sptr<ContentReader> ContentReader::Create(sptr<xna::ContentManager> const& contentManager, sptr<Stream>& input, String const& assetName)
|
sptr<ContentReader> ContentReader::Create(sptr<xna::ContentManager> const& contentManager, sptr<Stream>& input, String const& assetName)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "content/typereadermanager.hpp"
|
#include "xna/content/typereadermanager.hpp"
|
||||||
#include "content/reader.hpp"
|
#include "xna/content/reader.hpp"
|
||||||
#include "content/readers/default.hpp"
|
#include "xna/content/readers/default.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "csharp/binary.hpp"
|
#include "xna/csharp/binary.hpp"
|
||||||
#include "csharp/buffer.hpp"
|
#include "xna/csharp/buffer.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Int BinaryReader::PeekChar()
|
Int BinaryReader::PeekChar()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "csharp/object.hpp"
|
#include "xna/csharp/object.hpp"
|
||||||
#include "csharp/type.hpp"
|
#include "xna/csharp/type.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
size_t Object::GetHashCode() const
|
size_t Object::GetHashCode() const
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "csharp/stream.hpp"
|
#include "xna/csharp/stream.hpp"
|
||||||
#include "csharp/buffer.hpp"
|
#include "xna/csharp/buffer.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Long MemoryStream::Seek(Long offset, SeekOrigin const& origin) {
|
Long MemoryStream::Seek(Long offset, SeekOrigin const& origin) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "csharp/type.hpp"
|
#include "xna/csharp/type.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
size_t Type::GetHashCode() const
|
size_t Type::GetHashCode() const
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "game/component.hpp"
|
#include "xna/game/component.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
sptr<IGameComponent> GameComponentCollection::operator[](size_t index) const
|
sptr<IGameComponent> GameComponentCollection::operator[](size_t index) const
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "game/servicecontainer.hpp"
|
#include "xna/game/servicecontainer.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
void GameServiceContainer::AddService(Type& type, std::any& provider)
|
void GameServiceContainer::AddService(Type& type, std::any& provider)
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "graphics/adapter.hpp"
|
#include "xna/graphics/adapter.hpp"
|
||||||
#include "graphics/displaymode.hpp"
|
#include "xna/graphics/displaymode.hpp"
|
||||||
#include "platform-dx/headers.hpp"
|
#include "xna/platform-dx/headers.hpp"
|
||||||
#include "platform-dx/helpers.hpp"
|
#include "xna/platform-dx/helpers.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "game/gdevicemanager.hpp"
|
#include "xna/game/gdevicemanager.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
static size_t getDisplayModesCount(IDXGIAdapter* adapter);
|
static size_t getDisplayModesCount(IDXGIAdapter* adapter);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
void AudioEngine::Initialize() {
|
void AudioEngine::Initialize() {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "graphics/blendstate.hpp"
|
#include "xna/graphics/blendstate.hpp"
|
||||||
#include "graphics/gresource.hpp"
|
#include "xna/graphics/gresource.hpp"
|
||||||
#include "platform-dx/headers.hpp"
|
#include "xna/platform-dx/headers.hpp"
|
||||||
#include "platform-dx/helpers.hpp"
|
#include "xna/platform-dx/helpers.hpp"
|
||||||
#include "graphics/blendstate.hpp"
|
#include "xna/graphics/blendstate.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
BlendState::BlendState() : GraphicsResource(nullptr) {
|
BlendState::BlendState() : GraphicsResource(nullptr) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "graphics/buffer.hpp"
|
#include "xna/graphics/buffer.hpp"
|
||||||
#include "common/numerics.hpp"
|
#include "xna/common/numerics.hpp"
|
||||||
#include "platform-dx/headers.hpp"
|
#include "xna/platform-dx/headers.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
ConstantBuffer::ConstantBuffer() : GraphicsResource(nullptr){
|
ConstantBuffer::ConstantBuffer() : GraphicsResource(nullptr){
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "graphics/depthstencilstate.hpp"
|
#include "xna/graphics/depthstencilstate.hpp"
|
||||||
#include "platform-dx/headers.hpp"
|
#include "xna/platform-dx/headers.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
static D3D11_DEPTH_STENCIL_DESC defaultDesc() {
|
static D3D11_DEPTH_STENCIL_DESC defaultDesc() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "game/gdevicemanager.hpp"
|
#include "xna/game/gdevicemanager.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
void reset(GraphicsDevice::PlatformImplementation& impl)
|
void reset(GraphicsDevice::PlatformImplementation& impl)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "graphics/displaymode.hpp"
|
#include "xna/graphics/displaymode.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
DisplayMode::DisplayMode() {
|
DisplayMode::DisplayMode() {
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include "csharp/type.hpp"
|
#include "xna/csharp/type.hpp"
|
||||||
#include "game/time.hpp"
|
#include "xna/game/time.hpp"
|
||||||
#include "game/component.hpp"
|
#include "xna/game/component.hpp"
|
||||||
#include "game/servicecontainer.hpp"
|
#include "xna/game/servicecontainer.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "game/gdevicemanager.hpp"
|
#include "xna/game/gdevicemanager.hpp"
|
||||||
#include "content/manager.hpp"
|
#include "xna/content/manager.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Game::Game() {
|
Game::Game() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "input/gamepad.hpp"
|
#include "xna/input/gamepad.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
void GamePad::Initialize() {
|
void GamePad::Initialize() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "game/gdevicemanager.hpp"
|
#include "xna/game/gdevicemanager.hpp"
|
||||||
#include "graphics/presentparams.hpp"
|
#include "xna/graphics/presentparams.hpp"
|
||||||
#include "graphics/swapchain.hpp"
|
#include "xna/graphics/swapchain.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
GraphicsDeviceManager::GraphicsDeviceManager(sptr<Game> const& game) : _game(game)
|
GraphicsDeviceManager::GraphicsDeviceManager(sptr<Game> const& game) : _game(game)
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include "platform-dx/init.hpp"
|
#include "xna/platform-dx/init.hpp"
|
||||||
#include "csharp/type.hpp"
|
#include "xna/csharp/type.hpp"
|
||||||
#include "content/readers/graphics.hpp"
|
#include "xna/content/readers/graphics.hpp"
|
||||||
#include "content/readers/audio.hpp"
|
#include "xna/content/readers/audio.hpp"
|
||||||
#include "content/typereadermanager.hpp"
|
#include "xna/content/typereadermanager.hpp"
|
||||||
#include "content/readers/default.hpp"
|
#include "xna/content/readers/default.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
void Platform::Init() {
|
void Platform::Init() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "input/keyboard.hpp"
|
#include "xna/input/keyboard.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
KeyboardState Keyboard::GetState() {
|
KeyboardState Keyboard::GetState() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "input/mouse.hpp"
|
#include "xna/input/mouse.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
MouseState Mouse::GetState() {
|
MouseState Mouse::GetState() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "graphics/rasterizerstate.hpp"
|
#include "xna/graphics/rasterizerstate.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
RenderTarget2D::RenderTarget2D() : Texture2D() {
|
RenderTarget2D::RenderTarget2D() : Texture2D() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "graphics/samplerstate.hpp"
|
#include "xna/graphics/samplerstate.hpp"
|
||||||
#include "graphics/samplerstate.hpp"
|
#include "xna/graphics/samplerstate.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "platform-dx/helpers.hpp"
|
#include "xna/platform-dx/helpers.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
SamplerState::SamplerState() : GraphicsResource(nullptr) {
|
SamplerState::SamplerState() : GraphicsResource(nullptr) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "graphics/buffer.hpp"
|
#include "xna/graphics/buffer.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "graphics/shader.hpp"
|
#include "xna/graphics/shader.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
static HRESULT shaderCompileFromFile(_In_ LPCWSTR srcFile, _In_ LPCSTR entryPoint, _In_ LPCSTR profile, _Outptr_ ID3DBlob** blob)
|
static HRESULT shaderCompileFromFile(_In_ LPCWSTR srcFile, _In_ LPCSTR entryPoint, _In_ LPCSTR profile, _Outptr_ ID3DBlob** blob)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "csharp/stream.hpp"
|
#include "xna/csharp/stream.hpp"
|
||||||
|
|
||||||
using DxSoundEffect = DirectX::SoundEffect;
|
using DxSoundEffect = DirectX::SoundEffect;
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
#include "graphics/rasterizerstate.hpp"
|
#include "xna/graphics/rasterizerstate.hpp"
|
||||||
#include "graphics/samplerstate.hpp"
|
#include "xna/graphics/samplerstate.hpp"
|
||||||
#include "common/color.hpp"
|
#include "xna/common/color.hpp"
|
||||||
#include "common/numerics.hpp"
|
#include "xna/common/numerics.hpp"
|
||||||
#include "graphics/sprite.hpp"
|
#include "xna/graphics/sprite.hpp"
|
||||||
#include "graphics/viewport.hpp"
|
#include "xna/graphics/viewport.hpp"
|
||||||
#include "graphics/blendstate.hpp"
|
#include "xna/graphics/blendstate.hpp"
|
||||||
#include "graphics/depthstencilstate.hpp"
|
#include "xna/graphics/depthstencilstate.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
using DxSpriteBatch = DirectX::SpriteBatch;
|
using DxSpriteBatch = DirectX::SpriteBatch;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include "platform-dx/helpers.hpp"
|
#include "xna/platform-dx/helpers.hpp"
|
||||||
#include "graphics/adapter.hpp"
|
#include "xna/graphics/adapter.hpp"
|
||||||
#include "graphics/swapchain.hpp"
|
#include "xna/graphics/swapchain.hpp"
|
||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "graphics/device.hpp"
|
#include "xna/graphics/device.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
SwapChain::SwapChain() : GraphicsResource(nullptr) {
|
SwapChain::SwapChain() : GraphicsResource(nullptr) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
#include "platform-dx/helpers.hpp"
|
#include "xna/platform-dx/helpers.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
Texture2D::~Texture2D() {
|
Texture2D::~Texture2D() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "platform-dx/implementations.hpp"
|
#include "xna/platform-dx/implementations.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
GameWindow::GameWindow() {
|
GameWindow::GameWindow() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef XNA_COMMON_SHAPES_HPP
|
#ifndef XNA_COMMON_SHAPES_HPP
|
||||||
#define XNA_COMMON_SHAPES_HPP
|
#define XNA_COMMON_SHAPES_HPP
|
||||||
|
|
||||||
#include "default.hpp"
|
#include "../default.hpp"
|
||||||
#include "numerics.hpp"
|
#include "numerics.hpp"
|
||||||
#include "gjk.hpp"
|
#include "gjk.hpp"
|
||||||
#include <optional>
|
#include <optional>
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef XNA_COMMON_GDK_HPP
|
#ifndef XNA_COMMON_GDK_HPP
|
||||||
#define XNA_COMMON_GDK_HPP
|
#define XNA_COMMON_GDK_HPP
|
||||||
|
|
||||||
#include "default.hpp"
|
#include "../default.hpp"
|
||||||
#include "numerics.hpp"
|
#include "numerics.hpp"
|
||||||
#include "math.hpp"
|
#include "math.hpp"
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
#ifndef XNA_CONTENT_MANAGER_HPP
|
#ifndef XNA_CONTENT_MANAGER_HPP
|
||||||
#define XNA_CONTENT_MANAGER_HPP
|
#define XNA_CONTENT_MANAGER_HPP
|
||||||
|
|
||||||
#include "csharp/stream.hpp"
|
#include "../csharp/service.hpp"
|
||||||
#include "default.hpp"
|
#include "../csharp/stream.hpp"
|
||||||
#include "csharp/service.hpp"
|
#include "../default.hpp"
|
||||||
#include "reader.hpp"
|
#include "reader.hpp"
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
#ifndef XNA_CONTENT_READER_HPP
|
#ifndef XNA_CONTENT_READER_HPP
|
||||||
#define XNA_CONTENT_READER_HPP
|
#define XNA_CONTENT_READER_HPP
|
||||||
|
|
||||||
#include "common/color.hpp"
|
#include "../common/color.hpp"
|
||||||
#include "common/numerics.hpp"
|
#include "../common/numerics.hpp"
|
||||||
#include "csharp/binary.hpp"
|
#include "../csharp/binary.hpp"
|
||||||
#include "csharp/type.hpp"
|
#include "../csharp/type.hpp"
|
||||||
#include "default.hpp"
|
#include "../default.hpp"
|
||||||
#include "typereadermanager.hpp"
|
#include "typereadermanager.hpp"
|
||||||
#include <any>
|
#include <any>
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
#ifndef XNA_CONTENT_READERS_AUDIO_HPP
|
#ifndef XNA_CONTENT_READERS_AUDIO_HPP
|
||||||
#define XNA_CONTENT_READERS_AUDIO_HPP
|
#define XNA_CONTENT_READERS_AUDIO_HPP
|
||||||
|
|
||||||
#include "content/manager.hpp"
|
#include "../../audio/soundeffect.hpp"
|
||||||
#include "content/reader.hpp"
|
#include "../../csharp/timespan.hpp"
|
||||||
#include "csharp/type.hpp"
|
#include "../../csharp/type.hpp"
|
||||||
#include "audio/soundeffect.hpp"
|
#include "../manager.hpp"
|
||||||
#include "csharp/timespan.hpp"
|
#include "../reader.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
class SoundEffectReader : public ContentTypeReaderT<PSoundEffect> {
|
class SoundEffectReader : public ContentTypeReaderT<PSoundEffect> {
|
@ -1,11 +1,11 @@
|
|||||||
#ifndef XNA_CONTENT_READERS_DEFAULT_HPP
|
#ifndef XNA_CONTENT_READERS_DEFAULT_HPP
|
||||||
#define XNA_CONTENT_READERS_DEFAULT_HPP
|
#define XNA_CONTENT_READERS_DEFAULT_HPP
|
||||||
|
|
||||||
#include "content/reader.hpp"
|
#include "../../common/color.hpp"
|
||||||
#include "default.hpp"
|
#include "../../common/numerics.hpp"
|
||||||
#include "common/color.hpp"
|
#include "../../csharp/timespan.hpp"
|
||||||
#include "common/numerics.hpp"
|
#include "../../default.hpp"
|
||||||
#include "csharp/timespan.hpp"
|
#include "../reader.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
class ObjectReader : public ContentTypeReaderT<Object> {
|
class ObjectReader : public ContentTypeReaderT<Object> {
|
@ -1,13 +1,13 @@
|
|||||||
#ifndef XNA_CONTENT_READERS_GRAPHICS_HPP
|
#ifndef XNA_CONTENT_READERS_GRAPHICS_HPP
|
||||||
#define XNA_CONTENT_READERS_GRAPHICS_HPP
|
#define XNA_CONTENT_READERS_GRAPHICS_HPP
|
||||||
|
|
||||||
#include "content/manager.hpp"
|
#include "../../common/numerics.hpp"
|
||||||
#include "content/reader.hpp"
|
#include "../../csharp/timespan.hpp"
|
||||||
#include "csharp/type.hpp"
|
#include "../../csharp/type.hpp"
|
||||||
#include "graphics/texture.hpp"
|
#include "../../graphics/sprite.hpp"
|
||||||
#include "common/numerics.hpp"
|
#include "../../graphics/texture.hpp"
|
||||||
#include "csharp/timespan.hpp"
|
#include "../manager.hpp"
|
||||||
#include "graphics/sprite.hpp"
|
#include "../reader.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
class Texture2DReader : public ContentTypeReaderT<PTexture2D> {
|
class Texture2DReader : public ContentTypeReaderT<PTexture2D> {
|
@ -2,7 +2,7 @@
|
|||||||
#define XNA_GAME_GAME_HPP
|
#define XNA_GAME_GAME_HPP
|
||||||
|
|
||||||
#include "../default.hpp"
|
#include "../default.hpp"
|
||||||
#include "game/time.hpp"
|
#include "time.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
class Game : public std::enable_shared_from_this<Game> {
|
class Game : public std::enable_shared_from_this<Game> {
|
@ -2,8 +2,8 @@
|
|||||||
#define XNA_GRAPHICS_SPRITE_HPP
|
#define XNA_GRAPHICS_SPRITE_HPP
|
||||||
|
|
||||||
#include "../default.hpp"
|
#include "../default.hpp"
|
||||||
#include "common/numerics.hpp"
|
#include "../common/numerics.hpp"
|
||||||
#include "common/color.hpp"
|
#include "../common/color.hpp"
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef XNA_GRAPHICS_VIEWPORT
|
#ifndef XNA_GRAPHICS_VIEWPORT
|
||||||
#define XNA_GRAPHICS_VIEWPORT
|
#define XNA_GRAPHICS_VIEWPORT
|
||||||
|
|
||||||
#include "common/numerics.hpp"
|
#include "../common/numerics.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
struct Viewport {
|
struct Viewport {
|
@ -1,6 +1,6 @@
|
|||||||
#include "headers.hpp"
|
#include "headers.hpp"
|
||||||
#include "graphics/blendstate.hpp"
|
#include "../graphics/blendstate.hpp"
|
||||||
#include "graphics/adapter.hpp"
|
#include "../graphics/adapter.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
struct DxHelpers {
|
struct DxHelpers {
|
@ -3,29 +3,29 @@
|
|||||||
|
|
||||||
#include "headers.hpp"
|
#include "headers.hpp"
|
||||||
#include "stepTimer.hpp"
|
#include "stepTimer.hpp"
|
||||||
#include "graphics/device.hpp"
|
#include "../graphics/device.hpp"
|
||||||
#include "graphics/adapter.hpp"
|
#include "../graphics/adapter.hpp"
|
||||||
#include "graphics/blendstate.hpp"
|
#include "../graphics/blendstate.hpp"
|
||||||
#include "graphics/buffer.hpp"
|
#include "../graphics/buffer.hpp"
|
||||||
#include "graphics/depthstencilstate.hpp"
|
#include "../graphics/depthstencilstate.hpp"
|
||||||
#include "graphics/displaymode.hpp"
|
#include "../graphics/displaymode.hpp"
|
||||||
#include "graphics/sprite.hpp"
|
#include "../graphics/sprite.hpp"
|
||||||
#include "graphics/samplerstate.hpp"
|
#include "../graphics/samplerstate.hpp"
|
||||||
#include "input/gamepad.hpp"
|
#include "../input/gamepad.hpp"
|
||||||
#include "input/keyboard.hpp"
|
#include "../input/keyboard.hpp"
|
||||||
#include "input/mouse.hpp"
|
#include "../input/mouse.hpp"
|
||||||
#include "graphics/rasterizerstate.hpp"
|
#include "../graphics/rasterizerstate.hpp"
|
||||||
#include "graphics/presentparams.hpp"
|
#include "../graphics/presentparams.hpp"
|
||||||
#include "graphics/shader.hpp"
|
#include "../graphics/shader.hpp"
|
||||||
#include "graphics/swapchain.hpp"
|
#include "../graphics/swapchain.hpp"
|
||||||
#include "graphics/texture.hpp"
|
#include "../graphics/texture.hpp"
|
||||||
#include "graphics/rendertarget.hpp"
|
#include "../graphics/rendertarget.hpp"
|
||||||
#include "game/window.hpp"
|
#include "../game/window.hpp"
|
||||||
#include "audio/audioengine.hpp"
|
#include "../audio/audioengine.hpp"
|
||||||
#include "audio/soundeffect.hpp"
|
#include "../audio/soundeffect.hpp"
|
||||||
#include "graphics/viewport.hpp"
|
#include "../graphics/viewport.hpp"
|
||||||
#include "common/color.hpp"
|
#include "../common/color.hpp"
|
||||||
#include "game/game.hpp"
|
#include "../game/game.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
struct SpriteFont::PlatformImplementation {
|
struct SpriteFont::PlatformImplementation {
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user