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:
parent
c942b3177c
commit
5520b7e9b0
@ -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;
|
||||
}
|
||||
}
|
@ -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);
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
void AudioEngine::Initialize() {
|
||||
|
@ -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) {}
|
||||
|
@ -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() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
static void reset(GraphicsDevice::PlatformImplementation& impl);
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
#include "xna/graphics/displaymode.hpp"
|
||||
|
||||
namespace xna {
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
Game::Game() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
#include "xna/input/gamepad.hpp"
|
||||
|
||||
namespace xna {
|
||||
|
@ -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);
|
||||
|
@ -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() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
KeyboardState Keyboard::GetState() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
MouseState Mouse::GetState() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "xna/graphics/rasterizerstate.hpp"
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
RenderTarget2D::RenderTarget2D() : Texture2D(nullptr) {
|
||||
|
@ -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){}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
#include "xna/csharp/stream.hpp"
|
||||
|
||||
using DxSoundEffect = DirectX::SoundEffect;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
#include <functional>
|
||||
|
||||
using DxSpriteBatch = DirectX::SpriteBatch;
|
||||
|
@ -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 {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
static void setDefaultTexture2DDesc(Texture2D::PlatformImplementation& impl);
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "xna/xna-dx.hpp"
|
||||
#include "xna-dx/framework.hpp"
|
||||
|
||||
namespace xna {
|
||||
GameWindow::GameWindow() {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user