mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Added maps (working \o/), small tweaks in texture.c
There shouldn't be any memory leak.
This commit is contained in:
parent
819dabcf0f
commit
56b47153b7
4 changed files with 218 additions and 5 deletions
10
source/texture.h
Normal file
10
source/texture.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef TEXTURE_H
|
||||
#define TEXTURE_H
|
||||
|
||||
typedef struct {
|
||||
sf2d_texture *texture;
|
||||
float scaleX;
|
||||
float scaleY;
|
||||
} texture_userdata;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue