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

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp"
#include "xna-dx/framework.hpp"
namespace xna {
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 {
void AudioEngine::Initialize() {

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#include "xna/xna-dx.hpp"
#include "xna-dx/framework.hpp"
namespace xna {
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"
namespace xna {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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