repo.or.cz
/
cantaveria.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed loading 32bit images conversion to alpha.
[cantaveria.git]
/
camera.c
blob
9233b5bb0a3bec17b55d045c6490a6ce84b11a88
1
2
static struct
{
3
int
x
;
4
int
y
;
5
}
camera
;
6
7
int
camera_x
(){
return
camera
.
x
; }
8
int
camera_y
(){
return
camera
.
y
; }
9
void
point_camera
(
int
x
,
int
y
){
10
camera
.
x
=
x
;
11
camera
.
y
=
y
;
12
}