repo.or.cz
/
AROS-Contrib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix for initialization of scalos preferences library. Library is now loaded only...
[AROS-Contrib.git]
/
Games
/
Bomber
/
GraphicStuff.c
blob
5c47c3d7bf4e5cf849a43a5e2bf73625a38e9308
1
//Creates a new bitmap to draw to
2
void
InitGraph
()
3
{
4
UBYTE
*
mem
;
5
6
mem
=
malloc
(
WIDTH
*
HEIGHT
*
2
);
7
if
(!
mem
)
cleanup
(
"Out of memory!"
);
8
9
MainBitmapData
=
mem
;
10
BackBitmapData
=
mem
+ (
WIDTH
*
HEIGHT
);
11
12
}
13
14
//Return old bitmap
15
void
CloseGraph
()
16
{
17
18
}