From 03c540abffe39a7ea32173c2cf8f5e70d371588b Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 10 Jun 2011 07:45:18 +0200 Subject: CGE: Add default header, fix some includes --- engines/cge/bitmap.cpp | 35 +++++++++++++++++++++++--- engines/cge/bitmap.h | 29 ++++++++++++++++++++- engines/cge/bitmaps.cpp | 29 ++++++++++++++++++++- engines/cge/bitmaps.h | 29 ++++++++++++++++++++- engines/cge/boot.h | 29 ++++++++++++++++++++- engines/cge/cfile.cpp | 29 ++++++++++++++++++++- engines/cge/cfile.h | 29 ++++++++++++++++++++- engines/cge/cge_main.cpp | 65 ++++++++++++++++++++++++++++++++++-------------- engines/cge/cge_main.h | 27 ++++++++++++++++++++ engines/cge/drop.h | 29 ++++++++++++++++++++- engines/cge/game.cpp | 31 +++++++++++++++++++++-- engines/cge/game.h | 31 +++++++++++++++++++++-- engines/cge/general.h | 37 +++++++++++++++++++++++---- engines/cge/gettext.cpp | 33 +++++++++++++++++++++--- engines/cge/gettext.h | 31 +++++++++++++++++++++-- engines/cge/ident.h | 27 ++++++++++++++++++++ engines/cge/jbw.h | 29 ++++++++++++++++++++- engines/cge/keybd.cpp | 31 +++++++++++++++++++++-- engines/cge/keybd.h | 31 +++++++++++++++++++++-- engines/cge/mixer.cpp | 35 +++++++++++++++++++++++--- engines/cge/mixer.h | 29 ++++++++++++++++++++- engines/cge/mouse.cpp | 31 +++++++++++++++++++++-- engines/cge/mouse.h | 31 +++++++++++++++++++++-- engines/cge/snail.cpp | 45 ++++++++++++++++++++++++++------- engines/cge/snail.h | 29 ++++++++++++++++++++- engines/cge/snddrv.h | 27 ++++++++++++++++++++ engines/cge/sound.cpp | 41 ++++++++++++++++++++++++------ engines/cge/sound.h | 31 +++++++++++++++++++++-- engines/cge/startup.cpp | 39 ++++++++++++++++++++++++----- engines/cge/startup.h | 29 ++++++++++++++++++++- engines/cge/talk.cpp | 37 +++++++++++++++++++++++---- engines/cge/talk.h | 29 ++++++++++++++++++++- engines/cge/text.cpp | 41 ++++++++++++++++++++++++------ engines/cge/text.h | 31 +++++++++++++++++++++-- engines/cge/vga13h.cpp | 37 +++++++++++++++++++++++---- engines/cge/vga13h.h | 33 +++++++++++++++++++++--- engines/cge/vmenu.cpp | 31 +++++++++++++++++++++-- engines/cge/vmenu.h | 29 ++++++++++++++++++++- engines/cge/vol.cpp | 31 +++++++++++++++++++++-- engines/cge/vol.h | 31 +++++++++++++++++++++-- engines/cge/wav.h | 29 ++++++++++++++++++++- 41 files changed, 1222 insertions(+), 115 deletions(-) (limited to 'engines/cge') diff --git a/engines/cge/bitmap.cpp b/engines/cge/bitmap.cpp index f3a7f85331..d493f29f56 100644 --- a/engines/cge/bitmap.cpp +++ b/engines/cge/bitmap.cpp @@ -1,12 +1,39 @@ -#include "bitmap.h" -#include +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/bitmap.h" +#include "cge/cfile.h" #ifdef VOL - #include "vol.h" + #include "cge/vol.h" #endif #ifdef DROP_H - #include "drop.h" + #include "cge/drop.h" #endif diff --git a/engines/cge/bitmap.h b/engines/cge/bitmap.h index 10d85430dc..a6a3dc7539 100644 --- a/engines/cge/bitmap.h +++ b/engines/cge/bitmap.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __BITMAP__ #define __BITMAP__ -#include +#include "cge/general.h" #define EOI 0x0000 #define SKP 0x4000 diff --git a/engines/cge/bitmaps.cpp b/engines/cge/bitmaps.cpp index 2f79599c87..4749430c5b 100644 --- a/engines/cge/bitmaps.cpp +++ b/engines/cge/bitmaps.cpp @@ -1,4 +1,31 @@ -#include "bitmaps.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/bitmaps.h" /* #define W 255, diff --git a/engines/cge/bitmaps.h b/engines/cge/bitmaps.h index ef02c034e1..65f586a355 100644 --- a/engines/cge/bitmaps.h +++ b/engines/cge/bitmaps.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __BITMAPS__ #define __BITMAPS__ -#include "vga13h.h" +#include "cge/vga13h.h" #ifdef DEBUG extern BITMAP * MB[]; diff --git a/engines/cge/boot.h b/engines/cge/boot.h index 18c7cd2499..6b9b2c88ec 100644 --- a/engines/cge/boot.h +++ b/engines/cge/boot.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __BOOT__ #define __BOOT__ -#include +#include "cge/jbw.h" #define BOOTSECT_SIZ 512 #define BOOTHEAD_SIZ 62 diff --git a/engines/cge/cfile.cpp b/engines/cge/cfile.cpp index 53b845b89f..03df303245 100644 --- a/engines/cge/cfile.cpp +++ b/engines/cge/cfile.cpp @@ -1,3 +1,30 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #include #include #include @@ -5,7 +32,7 @@ #include #ifdef DROP_H - #include "drop.h" + #include "cge/drop.h" #else #include #include diff --git a/engines/cge/cfile.h b/engines/cge/cfile.h index 57ff38831c..56a249d9c0 100644 --- a/engines/cge/cfile.h +++ b/engines/cge/cfile.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __CFILE__ #define __CFILE__ -#include +#include "cge/general.h" #include diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 23865ec386..bc19156ad5 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -1,22 +1,49 @@ -#include "cge\general.h" -#include "cge\boot.h" -#include "cge\ident.h" -#include "cge\sound.h" -#include "cge\startup.h" -#include "cge\config.h" -#include "cge\vga13h.h" -#include "cge\snail.h" -#include "cge\text.h" -#include "cge\game.h" -#include "cge\mouse.h" -#include "cge\keybd.h" -#include "cge\cfile.h" -#include "cge\vol.h" -#include "cge\talk.h" -#include "cge\vmenu.h" -#include "cge\gettext.h" -#include "cge\mixer.h" -#include "cge\cge_main.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/general.h" +#include "cge/boot.h" +#include "cge/ident.h" +#include "cge/sound.h" +#include "cge/startup.h" +#include "cge/config.h" +#include "cge/vga13h.h" +#include "cge/snail.h" +#include "cge/text.h" +#include "cge/game.h" +#include "cge/mouse.h" +#include "cge/keybd.h" +#include "cge/cfile.h" +#include "cge/vol.h" +#include "cge/talk.h" +#include "cge/vmenu.h" +#include "cge/gettext.h" +#include "cge/mixer.h" +#include "cge/cge_main.h" #include #include #include diff --git a/engines/cge/cge_main.h b/engines/cge/cge_main.h index f5c104600a..7a213429b1 100644 --- a/engines/cge/cge_main.h +++ b/engines/cge/cge_main.h @@ -1,3 +1,30 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __CGE__ #define __CGE__ diff --git a/engines/cge/drop.h b/engines/cge/drop.h index e79b2eb899..bdd08b6810 100644 --- a/engines/cge/drop.h +++ b/engines/cge/drop.h @@ -1 +1,28 @@ -#include "vga13h.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/vga13h.h" diff --git a/engines/cge/game.cpp b/engines/cge/game.cpp index 4ac27651b7..bf7bd850f5 100644 --- a/engines/cge/game.cpp +++ b/engines/cge/game.cpp @@ -1,5 +1,32 @@ -#include "game.h" -#include "mouse.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/game.h" +#include "cge/mouse.h" #include #include diff --git a/engines/cge/game.h b/engines/cge/game.h index 92ad49b2a4..e675d15a7c 100644 --- a/engines/cge/game.h +++ b/engines/cge/game.h @@ -1,8 +1,35 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __GAME__ #define __GAME__ -#include "vga13h.h" -#include "bitmaps.h" +#include "cge/vga13h.h" +#include "cge/bitmaps.h" diff --git a/engines/cge/general.h b/engines/cge/general.h index 7e9551e076..71d9d96bdf 100644 --- a/engines/cge/general.h +++ b/engines/cge/general.h @@ -1,3 +1,30 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __GENERAL__ #define __GENERAL__ @@ -24,7 +51,7 @@ typedef struct { byte R, G, B; } DAC; -typedef word CRYPT (void far * buf, word siz, word seed); +typedef word CRYPT (void *buf, word siz, word seed); @@ -206,7 +233,7 @@ CRYPT XCrypt; CRYPT RXCrypt; CRYPT RCrypt; -MEM_TYPE MemType (void far * mem); +MEM_TYPE MemType (void *mem); unsigned FastRand (void); unsigned FastRand (unsigned s); CPU Cpu (void); @@ -220,7 +247,7 @@ void StdLog (const char *msg, const char *nam = NULL); void StdLog (const char *msg, word w); void StdLog (const char *msg, dword d); int TakeEnum (const char ** tab, const char * txt); -word ChkSum (void far * m, word n); +word ChkSum (void *m, word n); long Timer (void); long TimerLimit (word t); Boolean TimerLimitGone (long t); @@ -233,8 +260,8 @@ int DriveRemote (unsigned drv); int DriveCD (unsigned drv); Boolean IsVga (void); -EC void _fqsort (void far *base, word nelem, word width, - int (*fcmp)(const void far *, const void far *)); +EC void _fqsort (void *base, word nelem, word width, + int (*fcmp)(const void*, const void*)); diff --git a/engines/cge/gettext.cpp b/engines/cge/gettext.cpp index 69350b5fc8..5d6c8ce1bf 100644 --- a/engines/cge/gettext.cpp +++ b/engines/cge/gettext.cpp @@ -1,6 +1,33 @@ -#include "gettext.h" -#include "keybd.h" -#include "mouse.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/gettext.h" +#include "cge/keybd.h" +#include "cge/mouse.h" #include diff --git a/engines/cge/gettext.h b/engines/cge/gettext.h index 8d4e15c6cb..2fbd6f5da6 100644 --- a/engines/cge/gettext.h +++ b/engines/cge/gettext.h @@ -1,8 +1,35 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __GETTEXT__ #define __GETTEXT__ -#include -#include "talk.h" +#include "cge/general.h" +#include "cge/talk.h" #define GTMAX 24 diff --git a/engines/cge/ident.h b/engines/cge/ident.h index 5370b9638c..fa3011b49c 100644 --- a/engines/cge/ident.h +++ b/engines/cge/ident.h @@ -1,3 +1,30 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __IDENT__ #define __IDENT__ diff --git a/engines/cge/jbw.h b/engines/cge/jbw.h index 98ce9e27b5..cb2cb54fec 100644 --- a/engines/cge/jbw.h +++ b/engines/cge/jbw.h @@ -1,3 +1,30 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __JBW__ #define __JBW__ @@ -34,7 +61,7 @@ typedef int Boolean; typedef unsigned char byte; typedef unsigned int word; typedef unsigned long dword; -typedef void (far _loadds MouseFunType)(void); +typedef void (_loadds MouseFunType)(void); #define Lo(d) (((int *) &d)[0]) #define Hi(d) (((int *) &d)[1]) diff --git a/engines/cge/keybd.cpp b/engines/cge/keybd.cpp index 9986ad0b5d..37a1e1d798 100644 --- a/engines/cge/keybd.cpp +++ b/engines/cge/keybd.cpp @@ -1,5 +1,32 @@ -#include "keybd.h" -#include "mouse.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/keybd.h" +#include "cge/mouse.h" #include diff --git a/engines/cge/keybd.h b/engines/cge/keybd.h index 744dc8c8ac..42c80f88e1 100644 --- a/engines/cge/keybd.h +++ b/engines/cge/keybd.h @@ -1,8 +1,35 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __KEYBD__ #define __KEYBD__ -#include -#include "vga13h.h" +#include "cge/jbw.h" +#include "cge/vga13h.h" #define KEYBD_INT 9 diff --git a/engines/cge/mixer.cpp b/engines/cge/mixer.cpp index 7a494d0b90..1e7aa7a181 100644 --- a/engines/cge/mixer.cpp +++ b/engines/cge/mixer.cpp @@ -1,7 +1,34 @@ -#include "mixer.h" -#include "text.h" -#include "snail.h" -#include "mouse.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/mixer.h" +#include "cge/text.h" +#include "cge/snail.h" +#include "cge/mouse.h" #include #include #include diff --git a/engines/cge/mixer.h b/engines/cge/mixer.h index 8ee2bb6f80..bf5d79b67f 100644 --- a/engines/cge/mixer.h +++ b/engines/cge/mixer.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __MIXER__ #define __MIXER__ -#include "vga13h.h" +#include "cge/vga13h.h" #define MIX_MAX 16 // count of Leds #define MIX_Z 64 // mixer Z position diff --git a/engines/cge/mouse.cpp b/engines/cge/mouse.cpp index 703fd80f65..b9a0386801 100644 --- a/engines/cge/mouse.cpp +++ b/engines/cge/mouse.cpp @@ -1,5 +1,32 @@ -#include "mouse.h" -#include "text.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/mouse.h" +#include "cge/text.h" #include diff --git a/engines/cge/mouse.h b/engines/cge/mouse.h index 9f51456baf..f3b83f3f2e 100644 --- a/engines/cge/mouse.h +++ b/engines/cge/mouse.h @@ -1,8 +1,35 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __MOUSE__ #define __MOUSE__ -#include "game.h" -#include "talk.h" +#include "cge/game.h" +#include "cge/talk.h" #define EVT_MAX 256 diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp index d6b2528310..82f9416af7 100644 --- a/engines/cge/snail.cpp +++ b/engines/cge/snail.cpp @@ -1,18 +1,45 @@ -#include -#include "sound.h" -#include "snail.h" -#include "vga13h.h" -#include "bitmaps.h" -#include "text.h" -#include "mouse.h" -#include "cge.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/general.h" +#include "cge/sound.h" +#include "cge/snail.h" +#include "cge/vga13h.h" +#include "cge/bitmaps.h" +#include "cge/text.h" +#include "cge/mouse.h" +#include "cge/cge_main.h" #include #include #include #include #include -#include "keybd.h" +#include "cge/keybd.h" int MaxCave = 0; diff --git a/engines/cge/snail.h b/engines/cge/snail.h index f1b0ab762f..66a40e8382 100644 --- a/engines/cge/snail.h +++ b/engines/cge/snail.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __SNAIL__ #define __SNAIL__ -#include +#include "cge/jbw.h" #define POCKET_X 174 #define POCKET_Y 176 diff --git a/engines/cge/snddrv.h b/engines/cge/snddrv.h index 69ea3c2b15..910148c71e 100644 --- a/engines/cge/snddrv.h +++ b/engines/cge/snddrv.h @@ -1,3 +1,30 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + // ****************************************************** // * Sound Driver by Hedges (c) 1995 LK AVALON * // * Ver 1.00: 01-Mar-95 * diff --git a/engines/cge/sound.cpp b/engines/cge/sound.cpp index f4fc27ddd7..cd0101204d 100644 --- a/engines/cge/sound.cpp +++ b/engines/cge/sound.cpp @@ -1,18 +1,45 @@ -#include -#include "startup.h" -#include "sound.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/general.h" +#include "cge/startup.h" +#include "cge/sound.h" #ifdef DROP_H - #include "drop.h" + #include "cge/drop.h" #else #include #include #define DROP(m,n) { printf("%s [%s]\n", m, n); _exit(1); } #endif -#include "text.h" -#include -#include "vol.h" +#include "cge/text.h" +#include "cge/cfile.h" +#include "cge/vol.h" #include diff --git a/engines/cge/sound.h b/engines/cge/sound.h index b4efd99808..b43a85dd41 100644 --- a/engines/cge/sound.h +++ b/engines/cge/sound.h @@ -1,8 +1,35 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __SOUND__ #define __SOUND__ -#include -#include +#include "cge/wav.h" +#include "cge/snddrv.h" #define BAD_SND_TEXT 97 diff --git a/engines/cge/startup.cpp b/engines/cge/startup.cpp index 3557891a03..a92e899ee2 100644 --- a/engines/cge/startup.cpp +++ b/engines/cge/startup.cpp @@ -1,9 +1,36 @@ -#include "startup.h" -#include "text.h" -#include "sound.h" -#include "ident.h" -#include -#include +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/startup.h" +#include "cge/text.h" +#include "cge/sound.h" +#include "cge/ident.h" +#include "cge/cfile.h" +#include "cge/snddrv.h" #include #include #include diff --git a/engines/cge/startup.h b/engines/cge/startup.h index 6db566a781..bdb2647ab1 100644 --- a/engines/cge/startup.h +++ b/engines/cge/startup.h @@ -1,8 +1,35 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __STARTUP__ #define __STARTUP__ -#include +#include "cge/general.h" #define GAME_ID 45 #define CDINI_FNAME 46 diff --git a/engines/cge/talk.cpp b/engines/cge/talk.cpp index a018761000..3a4ea5bbc2 100644 --- a/engines/cge/talk.cpp +++ b/engines/cge/talk.cpp @@ -1,8 +1,35 @@ -#include -#include "talk.h" -#include "vol.h" -#include "game.h" -#include "mouse.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/general.h" +#include "cge/talk.h" +#include "cge/vol.h" +#include "cge/game.h" +#include "cge/mouse.h" #include #include #include diff --git a/engines/cge/talk.h b/engines/cge/talk.h index 12b0b94dde..8129b01bd9 100644 --- a/engines/cge/talk.h +++ b/engines/cge/talk.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __TALK__ #define __TALK__ -#include "vga13h.h" +#include "cge/vga13h.h" #include diff --git a/engines/cge/text.cpp b/engines/cge/text.cpp index a18eec5baf..b4b6e9b23c 100644 --- a/engines/cge/text.cpp +++ b/engines/cge/text.cpp @@ -1,10 +1,37 @@ -#include -#include "text.h" -#include "talk.h" -#include "vol.h" -#include "bitmaps.h" -#include "game.h" -#include "snail.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/general.h" +#include "cge/text.h" +#include "cge/talk.h" +#include "cge/vol.h" +#include "cge/bitmaps.h" +#include "cge/game.h" +#include "cge/snail.h" #include #include #include diff --git a/engines/cge/text.h b/engines/cge/text.h index d960fbef91..c6e6a1491e 100644 --- a/engines/cge/text.h +++ b/engines/cge/text.h @@ -1,8 +1,35 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __TEXT__ #define __TEXT__ -#include "talk.h" -#include +#include "cge/talk.h" +#include "cge/jbw.h" #include diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index 227304668b..404b4f8bf8 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -1,8 +1,35 @@ -#include -#include "vga13h.h" -#include "bitmap.h" -#include "vol.h" -#include "text.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/general.h" +#include "cge/vga13h.h" +#include "cge/bitmap.h" +#include "cge/vol.h" +#include "cge/text.h" #include #include #include diff --git a/engines/cge/vga13h.h b/engines/cge/vga13h.h index f3c17fa73e..a749b482b7 100644 --- a/engines/cge/vga13h.h +++ b/engines/cge/vga13h.h @@ -1,11 +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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __VGA13H__ #define __VGA13H__ -#include +#include "cge/general.h" #include #include -#include "bitmap.h" -#include "snail.h" +#include "cge/bitmap.h" +#include "cge/snail.h" #define TMR_RATE1 16 diff --git a/engines/cge/vmenu.cpp b/engines/cge/vmenu.cpp index 5dd3efb191..ccfe273923 100644 --- a/engines/cge/vmenu.cpp +++ b/engines/cge/vmenu.cpp @@ -1,5 +1,32 @@ -#include "vmenu.h" -#include "mouse.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/vmenu.h" +#include "cge/mouse.h" #include #include diff --git a/engines/cge/vmenu.h b/engines/cge/vmenu.h index c4d3a8df18..23c354b504 100644 --- a/engines/cge/vmenu.h +++ b/engines/cge/vmenu.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __VMENU__ #define __VMENU__ -#include "talk.h" +#include "cge/talk.h" #define MB_VM 1 #define MB_HM 3 diff --git a/engines/cge/vol.cpp b/engines/cge/vol.cpp index d0d8dce35c..6816f2de90 100644 --- a/engines/cge/vol.cpp +++ b/engines/cge/vol.cpp @@ -1,11 +1,38 @@ -#include "vol.h" +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + +#include "cge/vol.h" #include #include #include #include #ifdef DROP_H - #include "drop.h" + #include "cge/drop.h" #else #include #define DROP(m,n) { printf("%s [%s]\n", (m), (n)); _exit(1); } diff --git a/engines/cge/vol.h b/engines/cge/vol.h index 347b0b48fe..80cd759a47 100644 --- a/engines/cge/vol.h +++ b/engines/cge/vol.h @@ -1,10 +1,37 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __VOL__ #define __VOL__ #include -#include "btfile.h" -#include "cfile.h" +#include "cge/btfile.h" +#include "cge/cfile.h" #define CAT_NAME "VOL.CAT" #define DAT_NAME "VOL.DAT" diff --git a/engines/cge/wav.h b/engines/cge/wav.h index c32178420c..22dd79c4f5 100644 --- a/engines/cge/wav.h +++ b/engines/cge/wav.h @@ -1,7 +1,34 @@ +/* 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 Soltys source code + * Copyright (c) 1994-1995 Janus B. Wisniewski and L.K. Avalon + */ + #ifndef __WAV__ #define __WAV__ -#include +#include "cge/general.h" #include #define WAVE_FORMAT_PCM 0x0001 -- cgit v1.2.3