1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00

Corrige chamadas de cabeçalhos

This commit is contained in:
Danilo 2024-09-06 22:23:32 -03:00
parent c942b3177c
commit 5520b7e9b0
24 changed files with 37 additions and 38 deletions

View File

@ -1,6 +1,6 @@
#include "xna/content/lzx/decoder.hpp" #include "xna/content/lzx/decoder.hpp"
#include "libmspack/mspack.h" //#include "libmspack/mspack.h"
#include "libmspack/lzx.h" //#include "libmspack/lzx.h"
namespace xna { namespace xna {
LzxDecoder::LzxDecoder(int window) { LzxDecoder::LzxDecoder(int window) {
@ -11,35 +11,35 @@ namespace xna {
} }
int LzxDecoder::Decompress(Stream* inData, int inLen, Stream* outData, int outLen) { int LzxDecoder::Decompress(Stream* inData, int inLen, Stream* outData, int outLen) {
mspack_file* input = nullptr; /*mspack_file* input = nullptr;
mspack_file* output = nullptr; mspack_file* output = nullptr;
auto lzxstream = lzxd_init( auto lzxstream = lzxd_init(
//struct mspack_system* system, struct mspack_system* system,
nullptr, nullptr,
//struct mspack_file* input, struct mspack_file* input,
input + inData->Position(), input + inData->Position(),
//struct mspack_file* output, struct mspack_file* output,
output + outData->Position(), output + outData->Position(),
//int window_bits, int window_bits,
window_bits, window_bits,
//int reset_interval, int reset_interval,
0, 0,
//int input_buffer_size, int input_buffer_size,
inLen, inLen,
//off_t output_length, off_t output_length,
outLen, outLen,
//char is_delta char is_delta
0 0
); );
auto result = lzxd_decompress( auto result = lzxd_decompress(
//struct lzxd_stream* lzx, struct lzxd_stream* lzx,
lzxstream, lzxstream,
//off_t out_bytes off_t out_bytes
0 0
); );*/
return result; return 0;
} }
} }

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
static void setOutputVars(comptr<IDXGIAdapter1> const& adapter, String& deviceName, intptr_t& monitorHandle); static void setOutputVars(comptr<IDXGIAdapter1> const& adapter, String& deviceName, intptr_t& monitorHandle);

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
void AudioEngine::Initialize() { void AudioEngine::Initialize() {

View File

@ -1,6 +1,6 @@
#include "xna/graphics/blendstate.hpp" #include "xna/graphics/blendstate.hpp"
#include "xna/graphics/gresource.hpp" #include "xna/graphics/gresource.hpp"
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
BlendState::BlendState() : BlendState(nullptr) {} BlendState::BlendState() : BlendState(nullptr) {}

View File

@ -1,5 +1,5 @@
#include "xna/graphics/depthstencilstate.hpp" #include "xna/graphics/depthstencilstate.hpp"
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
static D3D11_DEPTH_STENCIL_DESC defaultDesc() { static D3D11_DEPTH_STENCIL_DESC defaultDesc() {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
static void reset(GraphicsDevice::PlatformImplementation& impl); static void reset(GraphicsDevice::PlatformImplementation& impl);

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
#include "xna/graphics/displaymode.hpp" #include "xna/graphics/displaymode.hpp"
namespace xna { namespace xna {

View File

@ -1,5 +1,5 @@
#include "xna/graphics/effect.hpp" #include "xna/graphics/effect.hpp"
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
#include "xna/common/math.hpp" #include "xna/common/math.hpp"
using DxBasicEffect = DirectX::BasicEffect; using DxBasicEffect = DirectX::BasicEffect;

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
Game::Game() { Game::Game() {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
#include "xna/input/gamepad.hpp" #include "xna/input/gamepad.hpp"
namespace xna { namespace xna {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
static bool IsWindowOnAdapter(intptr_t windowHandle, GraphicsAdapter const& adapter); static bool IsWindowOnAdapter(intptr_t windowHandle, GraphicsAdapter const& adapter);

View File

@ -3,7 +3,7 @@
#include "xna/content/readers/audio.hpp" #include "xna/content/readers/audio.hpp"
#include "xna/content/typereadermanager.hpp" #include "xna/content/typereadermanager.hpp"
#include "xna/content/readers/default.hpp" #include "xna/content/readers/default.hpp"
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
void Platform::Init() { void Platform::Init() {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
KeyboardState Keyboard::GetState() { KeyboardState Keyboard::GetState() {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
MouseState Mouse::GetState() { MouseState Mouse::GetState() {

View File

@ -1,5 +1,5 @@
#include "xna/graphics/rasterizerstate.hpp" #include "xna/graphics/rasterizerstate.hpp"
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
RenderTarget2D::RenderTarget2D() : Texture2D(nullptr) { RenderTarget2D::RenderTarget2D() : Texture2D(nullptr) {

View File

@ -1,6 +1,6 @@
#include "xna/graphics/samplerstate.hpp" #include "xna/graphics/samplerstate.hpp"
#include "xna/graphics/samplerstate.hpp" #include "xna/graphics/samplerstate.hpp"
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
SamplerState::SamplerState() : SamplerState(nullptr){} SamplerState::SamplerState() : SamplerState(nullptr){}

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
#include "xna/csharp/stream.hpp" #include "xna/csharp/stream.hpp"
using DxSoundEffect = DirectX::SoundEffect; using DxSoundEffect = DirectX::SoundEffect;

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
#include <functional> #include <functional>
using DxSpriteBatch = DirectX::SpriteBatch; using DxSpriteBatch = DirectX::SpriteBatch;

View File

@ -1,6 +1,6 @@
#include "xna/graphics/adapter.hpp" #include "xna/graphics/adapter.hpp"
#include "xna/graphics/swapchain.hpp" #include "xna/graphics/swapchain.hpp"
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
#include "xna/graphics/device.hpp" #include "xna/graphics/device.hpp"
namespace xna { namespace xna {

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
static void setDefaultTexture2DDesc(Texture2D::PlatformImplementation& impl); static void setDefaultTexture2DDesc(Texture2D::PlatformImplementation& impl);

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp" #include "xna-dx/framework.hpp"
namespace xna { namespace xna {
GameWindow::GameWindow() { GameWindow::GameWindow() {

View File

@ -1,7 +1,6 @@
// xna.cpp : Defines the entry point for the application. // xna.cpp : Defines the entry point for the application.
// //
#include "xna/xna.hpp"
#include "xna-dx/framework.hpp" #include "xna-dx/framework.hpp"
using namespace std; using namespace std;