aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/sprint.h
diff options
context:
space:
mode:
authorEugene Sandulenko2011-12-26 17:32:59 +0000
committerStrangerke2012-04-06 08:18:14 +0200
commite6a0c23d2c57461305906cb4c62b2b6962915264 (patch)
treee3300420f52afca4ec48c54a6d3b83b6b6a67697 /engines/mortevielle/sprint.h
parent9b6a4264dcaa26d87fa099c0a0dadbb8e37a6241 (diff)
downloadscummvm-rg350-e6a0c23d2c57461305906cb4c62b2b6962915264.tar.gz
scummvm-rg350-e6a0c23d2c57461305906cb4c62b2b6962915264.tar.bz2
scummvm-rg350-e6a0c23d2c57461305906cb4c62b2b6962915264.zip
MORTEVIELLE: Rename *.h -> *.cpp where they really belong
Diffstat (limited to 'engines/mortevielle/sprint.h')
-rw-r--r--engines/mortevielle/sprint.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/engines/mortevielle/sprint.h b/engines/mortevielle/sprint.h
deleted file mode 100644
index 854fdd6359..0000000000
--- a/engines/mortevielle/sprint.h
+++ /dev/null
@@ -1,54 +0,0 @@
-void fill_box(integer x, integer y, integer dx) {
- box(15, gd, pred(integer, x) << 3, pred(integer, y) << 3, pred(integer, x + dx) << 3, y << 3, 255);
-}
-
-void clear_box(integer x, integer y, integer dx) {
- box(0, gd, pred(integer, x) << 3, pred(integer, y) << 3, pred(integer, x + dx) << 3, y << 3, 255);
-}
-
-void writeg(str255 l, integer c)
-
-{
- integer i, x, xo, yo;
- integer cecr;
- boolean t;
-
- /* debug('writeg : '+l);*/
-
- if (l == "") return;
- hide_mouse();
- xo = xwhere;
- yo = ywhere;
- if (res == 2) i = 6;
- else i = 10;
- x = xo + i * length(l);
- switch (c) {
- case 1:
- case 3 : {
- cecr = 0;
- box(15, gd, xo, yo, x, yo + 7, 255);
- }
- break;
- case 4 : {
- cecr = 0;
- }
- break;
- case 5 : {
- cecr = 15;
- }
- break;
- case 0:
- case 2 : {
- cecr = 15;
- box(0, gd, xo, yo, x, yo + 7, 255);
- }
- break;
- }
- xo = xo + 1;
- yo = yo + 1;
- for (x = 1; x <= length(l); x ++) {
- affcar(gd, xo, yo, cecr, ord(l[x]));
- xo = xo + i;
- }
- show_mouse();
-}