Context: Change unnamed structs to Lth_IVec2
parent
b550ec0668
commit
d34139fb4d
|
@ -35,13 +35,13 @@
|
||||||
typedef struct Lth_Context
|
typedef struct Lth_Context
|
||||||
{
|
{
|
||||||
struct { Lth_Rect rects[16]; int num; } clip;
|
struct { Lth_Rect rects[16]; int num; } clip;
|
||||||
struct { int x, y; } lastmap;
|
|
||||||
struct { Lth_LinkList *head, *tail; } map;
|
struct { Lth_LinkList *head, *tail; } map;
|
||||||
|
Lth_IVec2 lastmap;
|
||||||
|
|
||||||
int w, h;
|
int w, h;
|
||||||
|
|
||||||
Lth_HIDRange hid;
|
Lth_HIDRange hid;
|
||||||
struct { int x, y; } mapspace;
|
Lth_IVec2 mapspace;
|
||||||
} Lth_Context;
|
} Lth_Context;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,14 @@ typedef struct Lth_Rect
|
||||||
int w, h;
|
int w, h;
|
||||||
} Lth_Rect;
|
} Lth_Rect;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Lth_IVec2
|
||||||
|
//
|
||||||
|
typedef struct Lth_IVec2
|
||||||
|
{
|
||||||
|
int x, y;
|
||||||
|
} Lth_IVec2;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Lth_HIDRange
|
// Lth_HIDRange
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue