diff options
author | Strangerke | 2011-12-26 23:36:52 +0100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:18:29 +0200 |
commit | 911d136f9f5fb8d4b7eb1fa5d125a48e4af84e39 (patch) | |
tree | 69e06a814130b98c31e084f351cb249ba22fa4fc /engines | |
parent | 7571d4e1868dc0cb867b9fe2d7f10a386b0820fe (diff) | |
download | scummvm-rg350-911d136f9f5fb8d4b7eb1fa5d125a48e4af84e39.tar.gz scummvm-rg350-911d136f9f5fb8d4b7eb1fa5d125a48e4af84e39.tar.bz2 scummvm-rg350-911d136f9f5fb8d4b7eb1fa5d125a48e4af84e39.zip |
MORTEVIELLE: Add header files
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mortevielle/actions.h | 68 | ||||
-rw-r--r-- | engines/mortevielle/alert.h | 41 | ||||
-rw-r--r-- | engines/mortevielle/boite.h | 36 | ||||
-rw-r--r-- | engines/mortevielle/disk.h | 39 | ||||
-rw-r--r-- | engines/mortevielle/droite.h | 36 | ||||
-rw-r--r-- | engines/mortevielle/keyboard.h | 38 | ||||
-rw-r--r-- | engines/mortevielle/level15.h | 52 | ||||
-rw-r--r-- | engines/mortevielle/menu.h | 47 | ||||
-rw-r--r-- | engines/mortevielle/mor.h | 125 | ||||
-rw-r--r-- | engines/mortevielle/mor2.h | 81 | ||||
-rw-r--r-- | engines/mortevielle/mort.h | 38 | ||||
-rw-r--r-- | engines/mortevielle/mouse.h | 43 | ||||
-rw-r--r-- | engines/mortevielle/outtext.h | 39 | ||||
-rw-r--r-- | engines/mortevielle/ovd1.h | 49 | ||||
-rw-r--r-- | engines/mortevielle/parole.h | 45 | ||||
-rw-r--r-- | engines/mortevielle/parole2.h | 40 | ||||
-rw-r--r-- | engines/mortevielle/prog.h | 47 | ||||
-rw-r--r-- | engines/mortevielle/ques.h | 38 | ||||
-rw-r--r-- | engines/mortevielle/sprint.h | 39 | ||||
-rw-r--r-- | engines/mortevielle/taffich.h | 40 | ||||
-rw-r--r-- | engines/mortevielle/var_mor.h | 43 |
21 files changed, 1024 insertions, 0 deletions
diff --git a/engines/mortevielle/actions.h b/engines/mortevielle/actions.h new file mode 100644 index 0000000000..690de1d80e --- /dev/null +++ b/engines/mortevielle/actions.h @@ -0,0 +1,68 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_ACTIONS_H +#define MORTEVIELLE_ACTIONS_H + +namespace Mortevielle { + +/* NIVEAU 4 */ +void taller(); +void tprendre(); +void tsprendre(); +void tsoulever(); +void tlire(); +void tslire(); +void tregarder(); +void tsregarder(); +void tfouiller(); +void tsfouiller(); +void touvrir(); +void tmettre(); +void ttourner(); +void tcacher(); +void tattacher(); +void tfermer(); +void tfrapper(); +void tposer(); +void tecouter(); +void tmanger(); +void tentrer(); +void tdormir(); +void tdefoncer(); +void tsortir(); +void tattendre(); +void tsonder(); +void tparler(); +void tsentir(); +void tgratter(); +/* NIVEAU 2 */ +void tmaj1(); +void tencore(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/alert.h b/engines/mortevielle/alert.h new file mode 100644 index 0000000000..23351318a5 --- /dev/null +++ b/engines/mortevielle/alert.h @@ -0,0 +1,41 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_ALERT_H +#define MORTEVIELLE_ALERT_H + +namespace Mortevielle { + +int do_alert(Common::String str_, int n); +void decod(Common::String s, int &nbc, int &nbl, int &col, Common::String &c, Common::String &cs); +static void posit(int ji, int &coldep, int &esp); +static void fait_boite(int lidep, int nli, int tx); +static void fait_choix(Common::String c, int &coldep, int &nbcase, array<1, 2, varying_string<3> > &s, int &esp); +int do_alert(Common::String str_, int n); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/boite.h b/engines/mortevielle/boite.h new file mode 100644 index 0000000000..d0e7b0e2e3 --- /dev/null +++ b/engines/mortevielle/boite.h @@ -0,0 +1,36 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_BOITE_H +#define MORTEVIELLE_BOITE_H + +namespace Mortevielle { + +void boite(int x, int y, int dx, int dy, int coul); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/disk.h b/engines/mortevielle/disk.h new file mode 100644 index 0000000000..464c3b7e1a --- /dev/null +++ b/engines/mortevielle/disk.h @@ -0,0 +1,39 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_DISK_H +#define MORTEVIELLE_DISK_H + +namespace Mortevielle { + +void dem1(); +void takesav(int n); +void ld_game(int n); +void sv_game(int n); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/droite.h b/engines/mortevielle/droite.h new file mode 100644 index 0000000000..73ed30d1ad --- /dev/null +++ b/engines/mortevielle/droite.h @@ -0,0 +1,36 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_DROITE_H +#define MORTEVIELLE_DROITE_H + +namespace Mortevielle { + +void droite(int x, int y, int xx, int yy, int coul); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/keyboard.h b/engines/mortevielle/keyboard.h new file mode 100644 index 0000000000..fbef23feb0 --- /dev/null +++ b/engines/mortevielle/keyboard.h @@ -0,0 +1,38 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_KEYBOARD_H +#define MORTEVIELLE_KEYBOARD_H + +namespace Mortevielle { + +char readkey1(); +int testou(); +void teskbd(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/level15.h b/engines/mortevielle/level15.h new file mode 100644 index 0000000000..73a9d3f32b --- /dev/null +++ b/engines/mortevielle/level15.h @@ -0,0 +1,52 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_LEVEL15_H +#define MORTEVIELLE_LEVEL15_H + +namespace Mortevielle { + +/* NIVEAU 15 */ +void copcha(); +bool dans_rect(rectangle r); +void outbloc(int n, pattern p, t_nhom pal); +void writepal(int n); +void pictout(int seg, int dep, int x, int y); +void putxy(int x, int y); +// int calad(int x, int y); +void sauvecr(int y, int dy); +void charecr(int y, int dy); +// int peek(int ad); +// int peekw(int ad); +// real peekl(int ad); +// void procedure poke(int ad, int n); +void adzon(); +int animof(int ouf, int num); +// void affgd(int offs, int dep, int x, int y); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/menu.h b/engines/mortevielle/menu.h new file mode 100644 index 0000000000..451e96718c --- /dev/null +++ b/engines/mortevielle/menu.h @@ -0,0 +1,47 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_MENU_H +#define MORTEVIELLE_MENU_H + +namespace Mortevielle { + +/* NIVEAU 14*/ +void menut(int no, Common::String nom); +void menu_disable(int no); +void menu_enable(int no); +void menu_aff(); +void draw_menu(); +void invers(int ix); +void util(int x, int y); +void menu_down(int ii); +void menu_up(int xx); +void erase_menu(); +void mdn(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/mor.h b/engines/mortevielle/mor.h new file mode 100644 index 0000000000..1211d215ae --- /dev/null +++ b/engines/mortevielle/mor.h @@ -0,0 +1,125 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_MOR_H +#define MORTEVIELLE_MOR_H + +namespace Mortevielle { + +/* Niveau 14 suite */ +void testfi(); +int readclock(); +void modif(int &nu); +void dessine(int ad, int x, int y); +void dessine_rouleau(); +void text_color(int c); +/* NIVEAU 13 */ +void text1(int x, int y, int nb, int m); +void initouv(); +void ecrf1(); +void clsf1(); +void clsf2(); +void ecrf2(); +void ecr2(Common::String str_); +void clsf3(); +void ecr3(Common::String text); +void ecrf6(); +void ecrf7(); +void clsf10(); +void stop(); +void paint_rect(int x, int y, int dx, int dy); +int hazard(int min, int max); +void calch(int &j, int &h, int &m); +void conv(int x, int &y); +/* NIVEAU 12 */ +void okpas(); +void modobj(int m); +void modobj2(int m, boolean t1, boolean t2); +void repon(int f, int m); +void f3f8(); +void t5(int cx); +void affper(int per); +void choix(int min, int max, int &per); +void cpl1(int &p); +void cpl2(int &p); +void cpl3(int &p); +void cpl5(int &p); +void cpl6(int &p); +void person(); +void chlm(int &per); +void pendule(); +/************* + * NIVEAU 11 * + *************/ +void debloc(int l); +void cpl10(int &p, int &h); +void cpl11(int &p, int &h); +void cpl12(int &p); +void cpl13(int &p); +void cpl15(int &p); +void cpl20(int &p, int &h); +void quelq1(int l); +void quelq2(); +void quelq5(); +void quelq6(int l); +void quelq10(int h, int &per); +void quelq11(int h, int &per); +void quelq12(int &per); +void quelq15(int &per); +void quelq20(int h, int &per); +void frap(); +void nouvp(int l, int &p); +void tip(int ip, int &cx); +void ecfren(int &p, int &haz, int cf, int l); +void becfren(int l); +/* NIVEAU 10 */ +void init_nbrepm(); +void phaz(int &haz, int &p, int cf); +void inzon(); +void dprog(); +void pl1(int cf); +void pl2(int cf); +void pl5(int cf); +void pl6(int cf); +void pl9(int cf); +void pl10(int cf); +void pl11(int cf); +void pl12(int cf); +void pl13(int cf); +void pl15(int cf); +void pl20(int cf); +void t11(int l11, int &a); +void cavegre(); +void writetp(Common::String s, int t); +void messint(int nu); +void aniof(int ouf, int num); +void musique(int so); +/* NIVEAU 9 */ +void dessin(int ad); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/mor2.h b/engines/mortevielle/mor2.h new file mode 100644 index 0000000000..bad43320c5 --- /dev/null +++ b/engines/mortevielle/mor2.h @@ -0,0 +1,81 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_MOR2_H +#define MORTEVIELLE_MOR2_H + +namespace Mortevielle { + +void tinke(); +void fenat(char ans); +/* NIVEAU 8 */ +void afdes(int ad); +void tkey1(bool d); +void tmlieu(int mli); +/* NIVEAU 7 */ +void tlu(int af, int ob); +void delin(int n); +void affrep(); +void mfouen() +void atf3f8(int &key); +/* NIVEAU 6 */ +void tperd(); +void tsort(); +void st4(int ob); +void cherjer(int ob, boolean &d); +void st1sama(); +void modinv(); +void sparl(long_int adr, long_int rep); +void finfouil(); +void mfoudi(); +void mennor(); +void premtet(); +/* NIVEAU 5 */ +void ajchai(); +void ajjer(int ob); +void t1sama(); +void t1vier(); +void t1neig(); +void t1deva(); +void t1derr(); +void t1deau(); +void tctrm(); +void quelquun(); +void tsuiv(); +void tfleche(); +void tcoord(int sx); +void st7(int ob); +void treg(int ob); +void avpoing(int &ob); +void rechai(int &ch); +void t23coul(int &l); +void maivid(); +void st13(int ob); +void aldepl(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/mort.h b/engines/mortevielle/mort.h new file mode 100644 index 0000000000..0b78deb028 --- /dev/null +++ b/engines/mortevielle/mort.h @@ -0,0 +1,38 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_MORT_H +#define MORTEVIELLE_MORT_H + +namespace Mortevielle { + +void divers(int np, bool b); +/* NIVEAU 0 */ +int main(int argc, const char *argv[]); +} // End of namespace Mortevielle + +#endif diff --git a/engines/mortevielle/mouse.h b/engines/mortevielle/mouse.h new file mode 100644 index 0000000000..62fdf1bfe4 --- /dev/null +++ b/engines/mortevielle/mouse.h @@ -0,0 +1,43 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_MOUSE_H +#define MORTEVIELLE_MOUSE_H + +namespace Mortevielle { + +void init_mouse(); +//void change_mouse(int t); +//void dessine_souris(int xf, int yf); +void hide_mouse(); +void show_mouse(); +void pos_mouse(int x, int y); +void read_pos_mouse(int &x, int &y, int &c); +void mov_mouse(boolean &funct, char &key); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/outtext.h b/engines/mortevielle/outtext.h new file mode 100644 index 0000000000..fcf4822ab5 --- /dev/null +++ b/engines/mortevielle/outtext.h @@ -0,0 +1,39 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_OUTTEXT_H +#define MORTEVIELLE_OUTTEXT_H + +namespace Mortevielle { + +static void cinq_huit(char &c, int &ind, byte &pt, boolean &the_end); +void deline(int num , phrase &l , int &tl); +static int l_motsuiv(int p, phrase &ch, int &tab); +void afftex(phrase ch, int x, int y, int dx, int dy, int typ); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/ovd1.h b/engines/mortevielle/ovd1.h new file mode 100644 index 0000000000..339ee69f9f --- /dev/null +++ b/engines/mortevielle/ovd1.h @@ -0,0 +1,49 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_OVD1_H +#define MORTEVIELLE_OVD1_H + +namespace Mortevielle { + +void dem2(); +void ani50(); +//void apzuul(); +void aff50(boolean c); +void init_menu(); +void charpal(); +void chartex(); +void dialpre(); +void init_lieu(); +void music(); +void charge_bruit5(); +void charge_cfiec(); +void charge_cfiph(); +void suite(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/parole.h b/engines/mortevielle/parole.h new file mode 100644 index 0000000000..b0282e15bd --- /dev/null +++ b/engines/mortevielle/parole.h @@ -0,0 +1,45 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_PAROLE_H +#define MORTEVIELLE_PAROLE_H + +namespace Mortevielle { + +void spfrac(int wor); +void charg_car(); +void entroct(byte o); +void veracf(byte b); +void cctable(tablint &t); +void regenbruit(); +void charge_son(); +void charge_phbruit(); +void charge_bruit(); +void trait_car(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/parole2.h b/engines/mortevielle/parole2.h new file mode 100644 index 0000000000..ed7108f3b8 --- /dev/null +++ b/engines/mortevielle/parole2.h @@ -0,0 +1,40 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_PAROLE2_H +#define MORTEVIELLE_PAROLE2_H + +namespace Mortevielle { + +void rot_chariot(); +void init_chariot(); +void trait_ph(); +void parole(int rep, int ht, int typ); + +} // End of namespace Mortevielle + +#endif diff --git a/engines/mortevielle/prog.h b/engines/mortevielle/prog.h new file mode 100644 index 0000000000..4fccca4f65 --- /dev/null +++ b/engines/mortevielle/prog.h @@ -0,0 +1,47 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_PROG_H +#define MORTEVIELLE_PROG_H + +namespace Mortevielle { + +void change_gd(int ngd); +void antegame(); + +/* NIVEAU 3 */ +/* procedure PROGRAMME */ +void tmaj3(); +void tsitu(); +void tecran(); + +/* NIVEAU 1 */ +void theure(); +void tjouer(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/ques.h b/engines/mortevielle/ques.h new file mode 100644 index 0000000000..f748d3e0b5 --- /dev/null +++ b/engines/mortevielle/ques.h @@ -0,0 +1,38 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_QUES_H +#define MORTEVIELLE_QUES_H + +#include "common/str.h" + +namespace Mortevielle { + +bool ques(); + +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/sprint.h b/engines/mortevielle/sprint.h new file mode 100644 index 0000000000..42259f0593 --- /dev/null +++ b/engines/mortevielle/sprint.h @@ -0,0 +1,39 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_SPRINT_H +#define MORTEVIELLE_SPRINT_H + +#include "common/str.h" + +namespace Mortevielle { + +void fill_box(int x, int y, int dx); +void clear_box(int x, int y, int dx); +void writeg(Common::String l, int c); +} // End of namespace Mortevielle +#endif diff --git a/engines/mortevielle/taffich.h b/engines/mortevielle/taffich.h new file mode 100644 index 0000000000..ccc64bf2c5 --- /dev/null +++ b/engines/mortevielle/taffich.h @@ -0,0 +1,40 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_TAFFICH_H +#define MORTEVIELLE_TAFFICH_H + +#include "common/str.h" + +namespace Mortevielle { + +void chardes(Common::String nom, long_int passe, int long_); +void charani(Common::String nom, long_int passe, int long_); +void taffich(); +} // End of namespace Mortevielle + +#endif
\ No newline at end of file diff --git a/engines/mortevielle/var_mor.h b/engines/mortevielle/var_mor.h new file mode 100644 index 0000000000..86bb296ee2 --- /dev/null +++ b/engines/mortevielle/var_mor.h @@ -0,0 +1,43 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +/* + * This code is based on original Mortville Manor DOS source code + * Copyright (c) 1988-1989 Lankhor + */ + +#ifndef MORTEVIELLE_VAR_H +#define MORTEVIELLE_VAR_H + +namespace Mortevielle { + +/*---------------------------------------------------------------------------*/ +/*------------------- PROCEDURES AND FONCTIONS ------------------------*/ +/*---------------------------------------------------------------------------*/ + +void hirs(); +void affcar(int gd, int x, int y, int coul, int char); +void putpix(int gd, int x, int y, int coul); + +} // End of namespace Mortevielle + +#endif |