repo.or.cz
/
xwelltris.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
original 1.0.1 release
[xwelltris.git]
/
src
/
include
/
geometry.h
blob
bb699ba933c40fd5f9562d52dec9d78bfe9fd297
1
#ifndef GEOMETRY_H
2
#define GEOMETRY_H
3
4
#include
"welltris.h"
5
6
struct
Geo
7
{
8
Images im
;
9
int
fromx
,
fromy
;
10
int
tox
,
toy
;
11
unsigned int
l
,
h
;
12
};
13
14
struct
GeoObject
15
{
16
char
name
[
GEO_NAME
];
17
Geo
*
geo
;
18
};
19
20
extern
Geo
*
get_geo_by_name
(
char
*
name
);
21
22
23
#endif