mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Implementações em Texture2DReader
This commit is contained in:
parent
41624bf9ed
commit
5510ed8ee2
@ -5,7 +5,7 @@
|
||||
### Adjustments and improvements
|
||||
|
||||
The project is still under development and the next updates will focus on the following tasks:
|
||||
- [ ] Finish basic classes
|
||||
- [x] Finish basic classes
|
||||
- [ ] Code refactoring and cleaning
|
||||
- [ ] 3D support
|
||||
- [ ] Content Pipeline
|
||||
|
@ -27,7 +27,7 @@ namespace xna {
|
||||
void LoadContent() override {
|
||||
spriteBatch = New<SpriteBatch>(*graphicsDevice);
|
||||
|
||||
texture = Content()->Load<sptr<Texture2D>>("idle");
|
||||
texture = Content()->Load<PTexture2D>("idle");
|
||||
|
||||
Game::LoadContent();
|
||||
}
|
||||
|
@ -88,9 +88,6 @@ namespace xna {
|
||||
struct GamePadState;
|
||||
struct KeyboardState;
|
||||
struct MouseState;
|
||||
|
||||
//Pointer
|
||||
using PTexture2D = std::shared_ptr<Texture2D>;
|
||||
}
|
||||
|
||||
#endif
|
@ -32,6 +32,10 @@ namespace xna {
|
||||
struct PlatformImplementation;
|
||||
uptr<PlatformImplementation> impl = nullptr;
|
||||
};
|
||||
|
||||
|
||||
using PTexture2D = sptr<Texture2D>;
|
||||
using UTexture2D = uptr<Texture2D>;
|
||||
}
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user