kolibrios/programs/cmm/the_bus/draw_scalled.h
Kirill Lipatov (Leency) ef3c5c6726 The Bus game, not playable yet
git-svn-id: svn://kolibrios.org@6970 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-11 06:54:07 +00:00

29 lines
444 B
C

void DrawScaledBar(dword x,y,w,h,col) {
DrawBar(
x*SCALE,
y*SCALE,
w*SCALE,
h*SCALE,
col
);
}
void DrawScaledImage(dword image_pointer,x,y,w,h,offx,offy) {
img_draw stdcall (
image_pointer,
x*SCALE,
y*SCALE,
w*SCALE,
h*SCALE,
offx*SCALE,
offy*SCALE
);
}
void WriteScaledText(dword x,y,font,color,text) {
WriteText(
x*SCALE,
y*SCALE,
font + SCALE,
color,
text
);
}