From aa947c9474ad83aa9315bc585d1f0b79060fee61 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 7 Nov 2013 12:58:33 +0100 Subject: BUILD: Split configure.engines down to a single file per engine. This is the first part of allowing engines to be added dynamically. They are placed into a folder in engines/ which must contain a file named "configure.engine" to add the engine, which is pulled into the top level configure script automatically. --- engines/saga/configure.engine | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 engines/saga/configure.engine (limited to 'engines/saga') diff --git a/engines/saga/configure.engine b/engines/saga/configure.engine new file mode 100644 index 0000000000..99e2ab367b --- /dev/null +++ b/engines/saga/configure.engine @@ -0,0 +1,5 @@ +# This file is included from the main "configure" script +# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] +add_engine saga "SAGA" yes "ihnm saga2" "ITE" +add_engine ihnm "IHNM" yes +add_engine saga2 "SAGA 2 games" no -- cgit v1.2.3 From d77cf95a185a6c8f201f417d08f246727784f728 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 7 Nov 2013 12:58:34 +0100 Subject: BUILD: Split engines.mk down to a single file per engine. This is the second part of allowing engines to be added dynamically. Each folder in engines/ which must contain a file named "engine.mk" containing the make definitions for that engine. --- engines/saga/engine.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 engines/saga/engine.mk (limited to 'engines/saga') diff --git a/engines/saga/engine.mk b/engines/saga/engine.mk new file mode 100644 index 0000000000..a6e855bafd --- /dev/null +++ b/engines/saga/engine.mk @@ -0,0 +1,12 @@ +ifdef ENABLE_SAGA +DEFINES += -DENABLE_SAGA=$(ENABLE_SAGA) +MODULES += engines/saga + +ifdef ENABLE_IHNM +DEFINES += -DENABLE_IHNM +endif + +ifdef ENABLE_SAGA2 +DEFINES += -DENABLE_SAGA2 +endif +endif -- cgit v1.2.3 From 00c27a28f91cc2bbf512461e69c86be998462728 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 7 Nov 2013 12:58:34 +0100 Subject: BUILD: Split engines/plugins_table header down to a file per engine. This is the third and final commit enabling fully pluggable engines. Now providing an engine folder contains a configure.engine, engine.mk and engine-plugin.h file, it will be picked up automatically by the configure script. --- engines/saga/engine-plugin.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 engines/saga/engine-plugin.h (limited to 'engines/saga') diff --git a/engines/saga/engine-plugin.h b/engines/saga/engine-plugin.h new file mode 100644 index 0000000000..d271e36c50 --- /dev/null +++ b/engines/saga/engine-plugin.h @@ -0,0 +1,3 @@ +#if PLUGIN_ENABLED_STATIC(SAGA) +LINK_PLUGIN(SAGA) +#endif -- cgit v1.2.3 From 1ac01d2333af11d403ef84dd5192abb18814e5b3 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 7 Nov 2013 12:58:34 +0100 Subject: BUILD: Remove need for engine-plugin.h in engines. This is now generated automatically by the configure script from the engine directory names. --- engines/saga/engine-plugin.h | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 engines/saga/engine-plugin.h (limited to 'engines/saga') diff --git a/engines/saga/engine-plugin.h b/engines/saga/engine-plugin.h deleted file mode 100644 index d271e36c50..0000000000 --- a/engines/saga/engine-plugin.h +++ /dev/null @@ -1,3 +0,0 @@ -#if PLUGIN_ENABLED_STATIC(SAGA) -LINK_PLUGIN(SAGA) -#endif -- cgit v1.2.3 From ef85456859e466adc8913041e4f31809485c45ab Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 7 Nov 2013 12:58:34 +0100 Subject: BUILD: Remove need for engine.mk in each engine directory. Each engine now only has to provide a single configure.engine file adding the engine into the configure script, which then produces the required other files automatically. --- engines/saga/engine.mk | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 engines/saga/engine.mk (limited to 'engines/saga') diff --git a/engines/saga/engine.mk b/engines/saga/engine.mk deleted file mode 100644 index a6e855bafd..0000000000 --- a/engines/saga/engine.mk +++ /dev/null @@ -1,12 +0,0 @@ -ifdef ENABLE_SAGA -DEFINES += -DENABLE_SAGA=$(ENABLE_SAGA) -MODULES += engines/saga - -ifdef ENABLE_IHNM -DEFINES += -DENABLE_IHNM -endif - -ifdef ENABLE_SAGA2 -DEFINES += -DENABLE_SAGA2 -endif -endif -- cgit v1.2.3 From cfbe557bdcb65d1074a883e8deddfa933438d36c Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 24 Nov 2013 19:14:45 +0100 Subject: SAGA: Janitorial - Fix spacing errors --- engines/saga/saga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/saga') diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 01cab21f5d..645e1c30d0 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -138,7 +138,7 @@ enum GameFileTypes { enum GameFeatures { GF_ITE_FLOPPY = 1 << 0, #if 0 - GF_OLD_ITE_DOS = 1 << 1, // Currently unused + GF_OLD_ITE_DOS = 1 << 1, // Currently unused #endif GF_EXTRA_ITE_CREDITS = 1 << 2, GF_8BIT_UNSIGNED_PCM = 1 << 3 -- cgit v1.2.3 From c1be2aedbb8592089386cf408f133efba327e5be Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 18 Feb 2014 02:34:24 +0100 Subject: SAGA: Make GPL headers consistent in themselves. --- engines/saga/actor.cpp | 4 ++-- engines/saga/actor.h | 4 ++-- engines/saga/actor_path.cpp | 4 ++-- engines/saga/actor_walk.cpp | 4 ++-- engines/saga/animation.cpp | 4 ++-- engines/saga/animation.h | 4 ++-- engines/saga/console.cpp | 4 ++-- engines/saga/console.h | 4 ++-- engines/saga/detection.cpp | 4 ++-- engines/saga/detection_tables.h | 4 ++-- engines/saga/displayinfo.h | 4 ++-- engines/saga/events.cpp | 4 ++-- engines/saga/events.h | 4 ++-- engines/saga/font.cpp | 4 ++-- engines/saga/font.h | 4 ++-- engines/saga/font_map.cpp | 4 ++-- engines/saga/gfx.cpp | 4 ++-- engines/saga/gfx.h | 4 ++-- engines/saga/image.cpp | 4 ++-- engines/saga/input.cpp | 4 ++-- engines/saga/interface.cpp | 4 ++-- engines/saga/interface.h | 4 ++-- engines/saga/introproc_ihnm.cpp | 4 ++-- engines/saga/introproc_ite.cpp | 4 ++-- engines/saga/introproc_saga2.cpp | 4 ++-- engines/saga/isomap.cpp | 4 ++-- engines/saga/isomap.h | 4 ++-- engines/saga/itedata.cpp | 4 ++-- engines/saga/itedata.h | 4 ++-- engines/saga/music.cpp | 4 ++-- engines/saga/music.h | 4 ++-- engines/saga/objectmap.cpp | 4 ++-- engines/saga/objectmap.h | 4 ++-- engines/saga/palanim.cpp | 4 ++-- engines/saga/palanim.h | 4 ++-- engines/saga/puzzle.cpp | 4 ++-- engines/saga/puzzle.h | 4 ++-- engines/saga/render.cpp | 4 ++-- engines/saga/render.h | 4 ++-- engines/saga/resource.cpp | 4 ++-- engines/saga/resource.h | 4 ++-- engines/saga/resource_hrs.cpp | 4 ++-- engines/saga/resource_res.cpp | 4 ++-- engines/saga/resource_rsc.cpp | 4 ++-- engines/saga/saga.cpp | 4 ++-- engines/saga/saga.h | 4 ++-- engines/saga/saveload.cpp | 4 ++-- engines/saga/scene.cpp | 4 ++-- engines/saga/scene.h | 4 ++-- engines/saga/script.cpp | 4 ++-- engines/saga/script.h | 4 ++-- engines/saga/sfuncs.cpp | 4 ++-- engines/saga/sfuncs_ihnm.cpp | 4 ++-- engines/saga/shorten.cpp | 4 ++-- engines/saga/shorten.h | 4 ++-- engines/saga/sndres.cpp | 4 ++-- engines/saga/sndres.h | 4 ++-- engines/saga/sound.cpp | 4 ++-- engines/saga/sound.h | 4 ++-- engines/saga/sprite.cpp | 4 ++-- engines/saga/sprite.h | 4 ++-- engines/saga/sthread.cpp | 4 ++-- 62 files changed, 124 insertions(+), 124 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp index 0548da9ee5..d8b115f9bd 100644 --- a/engines/saga/actor.cpp +++ b/engines/saga/actor.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/actor.h b/engines/saga/actor.h index d9d4b70168..b8a5436d76 100644 --- a/engines/saga/actor.h +++ b/engines/saga/actor.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/actor_path.cpp b/engines/saga/actor_path.cpp index d0f1cf2b5b..7cf834ded1 100644 --- a/engines/saga/actor_path.cpp +++ b/engines/saga/actor_path.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/actor_walk.cpp b/engines/saga/actor_walk.cpp index ea33a0950d..a5345261c5 100644 --- a/engines/saga/actor_walk.cpp +++ b/engines/saga/actor_walk.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp index df8283b4c2..9e0bcf52ad 100644 --- a/engines/saga/animation.cpp +++ b/engines/saga/animation.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/animation.h b/engines/saga/animation.h index 2c42cb7253..dbb3117ba2 100644 --- a/engines/saga/animation.h +++ b/engines/saga/animation.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/console.cpp b/engines/saga/console.cpp index 771925a321..eab615b33f 100644 --- a/engines/saga/console.cpp +++ b/engines/saga/console.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/console.h b/engines/saga/console.h index b93638467b..625e6f57ad 100644 --- a/engines/saga/console.h +++ b/engines/saga/console.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/detection.cpp b/engines/saga/detection.cpp index f6872c41ad..8487811398 100644 --- a/engines/saga/detection.cpp +++ b/engines/saga/detection.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/detection_tables.h b/engines/saga/detection_tables.h index 30cb13a031..72187a1a13 100644 --- a/engines/saga/detection_tables.h +++ b/engines/saga/detection_tables.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/displayinfo.h b/engines/saga/displayinfo.h index 70c36bafd5..a0cdf5733b 100644 --- a/engines/saga/displayinfo.h +++ b/engines/saga/displayinfo.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/events.cpp b/engines/saga/events.cpp index c5842f4998..013b019c9f 100644 --- a/engines/saga/events.cpp +++ b/engines/saga/events.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/events.h b/engines/saga/events.h index 581abe17b0..6c423abb8c 100644 --- a/engines/saga/events.h +++ b/engines/saga/events.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp index 8c3f4d7c42..73d42598cb 100644 --- a/engines/saga/font.cpp +++ b/engines/saga/font.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/font.h b/engines/saga/font.h index a45299ad48..e46468e816 100644 --- a/engines/saga/font.h +++ b/engines/saga/font.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/font_map.cpp b/engines/saga/font_map.cpp index 936c8e779c..145956f25f 100644 --- a/engines/saga/font_map.cpp +++ b/engines/saga/font_map.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/gfx.cpp b/engines/saga/gfx.cpp index 62250a0820..ceb86ebb18 100644 --- a/engines/saga/gfx.cpp +++ b/engines/saga/gfx.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/gfx.h b/engines/saga/gfx.h index c68160e907..ef2c2bde43 100644 --- a/engines/saga/gfx.h +++ b/engines/saga/gfx.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/image.cpp b/engines/saga/image.cpp index 3434d46b42..31a38623f8 100644 --- a/engines/saga/image.cpp +++ b/engines/saga/image.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/input.cpp b/engines/saga/input.cpp index 8576a3e536..cf30c5fc38 100644 --- a/engines/saga/input.cpp +++ b/engines/saga/input.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index b105e34487..680b2274f5 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/interface.h b/engines/saga/interface.h index 84533705fe..340a0e9180 100644 --- a/engines/saga/interface.h +++ b/engines/saga/interface.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/introproc_ihnm.cpp b/engines/saga/introproc_ihnm.cpp index 7922d56425..fc28d2372f 100644 --- a/engines/saga/introproc_ihnm.cpp +++ b/engines/saga/introproc_ihnm.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/introproc_ite.cpp b/engines/saga/introproc_ite.cpp index ed53e078a0..91b1d3db95 100644 --- a/engines/saga/introproc_ite.cpp +++ b/engines/saga/introproc_ite.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/introproc_saga2.cpp b/engines/saga/introproc_saga2.cpp index e61dfbf161..710236b0c4 100644 --- a/engines/saga/introproc_saga2.cpp +++ b/engines/saga/introproc_saga2.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/isomap.cpp b/engines/saga/isomap.cpp index 945b4ad5a7..77680178c1 100644 --- a/engines/saga/isomap.cpp +++ b/engines/saga/isomap.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/isomap.h b/engines/saga/isomap.h index b35f79b1af..155d9b8d24 100644 --- a/engines/saga/isomap.h +++ b/engines/saga/isomap.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/itedata.cpp b/engines/saga/itedata.cpp index 44aa48ccee..87b71c2cb7 100644 --- a/engines/saga/itedata.cpp +++ b/engines/saga/itedata.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/itedata.h b/engines/saga/itedata.h index 73f0a2aa21..d27b84781f 100644 --- a/engines/saga/itedata.h +++ b/engines/saga/itedata.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp index 3ac89bc2c2..e444900967 100644 --- a/engines/saga/music.cpp +++ b/engines/saga/music.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/music.h b/engines/saga/music.h index 081fab21f6..ba44c3ca71 100644 --- a/engines/saga/music.h +++ b/engines/saga/music.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/objectmap.cpp b/engines/saga/objectmap.cpp index b300a247e9..f27c888a61 100644 --- a/engines/saga/objectmap.cpp +++ b/engines/saga/objectmap.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/objectmap.h b/engines/saga/objectmap.h index 3f71c8f95d..7f00fc390a 100644 --- a/engines/saga/objectmap.h +++ b/engines/saga/objectmap.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/palanim.cpp b/engines/saga/palanim.cpp index 021a4c9bac..b5178a3d75 100644 --- a/engines/saga/palanim.cpp +++ b/engines/saga/palanim.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/palanim.h b/engines/saga/palanim.h index 920cbec65a..a6ec4674cf 100644 --- a/engines/saga/palanim.h +++ b/engines/saga/palanim.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/puzzle.cpp b/engines/saga/puzzle.cpp index 63d9a88fee..705834f1b7 100644 --- a/engines/saga/puzzle.cpp +++ b/engines/saga/puzzle.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/puzzle.h b/engines/saga/puzzle.h index 0f9bd8aeff..2a6a8cf4ed 100644 --- a/engines/saga/puzzle.h +++ b/engines/saga/puzzle.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp index a9ef23381e..1f23a388d0 100644 --- a/engines/saga/render.cpp +++ b/engines/saga/render.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/render.h b/engines/saga/render.h index 5694bacb35..4aaaf61eb4 100644 --- a/engines/saga/render.h +++ b/engines/saga/render.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/resource.cpp b/engines/saga/resource.cpp index 8025a949d4..cdf674dc66 100644 --- a/engines/saga/resource.cpp +++ b/engines/saga/resource.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/resource.h b/engines/saga/resource.h index a8e2e92361..252e92c967 100644 --- a/engines/saga/resource.h +++ b/engines/saga/resource.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/resource_hrs.cpp b/engines/saga/resource_hrs.cpp index ac16e21c12..09da9cf0bb 100644 --- a/engines/saga/resource_hrs.cpp +++ b/engines/saga/resource_hrs.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/resource_res.cpp b/engines/saga/resource_res.cpp index 4fec9da662..d57238b2eb 100644 --- a/engines/saga/resource_res.cpp +++ b/engines/saga/resource_res.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/resource_rsc.cpp b/engines/saga/resource_rsc.cpp index bc66e9e30a..aaec90e655 100644 --- a/engines/saga/resource_rsc.cpp +++ b/engines/saga/resource_rsc.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 239a3be9db..b15d161ba3 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 645e1c30d0..6077e55094 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/saveload.cpp b/engines/saga/saveload.cpp index 9784cf4e33..90ba62070b 100644 --- a/engines/saga/saveload.cpp +++ b/engines/saga/saveload.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp index eff31cf98b..5ca2f8d31a 100644 --- a/engines/saga/scene.cpp +++ b/engines/saga/scene.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/scene.h b/engines/saga/scene.h index 6e2cb12380..0a3b98b33f 100644 --- a/engines/saga/scene.h +++ b/engines/saga/scene.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp index 3efc554cb3..94b26c8da3 100644 --- a/engines/saga/script.cpp +++ b/engines/saga/script.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/script.h b/engines/saga/script.h index c4ea2d62b3..dd080fbe24 100644 --- a/engines/saga/script.h +++ b/engines/saga/script.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index c623349b7a..91e39c54b6 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sfuncs_ihnm.cpp b/engines/saga/sfuncs_ihnm.cpp index fdfd0fdf2c..6957360942 100644 --- a/engines/saga/sfuncs_ihnm.cpp +++ b/engines/saga/sfuncs_ihnm.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/shorten.cpp b/engines/saga/shorten.cpp index 619ffc243e..426430c892 100644 --- a/engines/saga/shorten.cpp +++ b/engines/saga/shorten.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/shorten.h b/engines/saga/shorten.h index 77feafa54d..556abaf311 100644 --- a/engines/saga/shorten.h +++ b/engines/saga/shorten.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp index ca843af465..39578e96f0 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sndres.h b/engines/saga/sndres.h index 979c0288f6..554eed4a27 100644 --- a/engines/saga/sndres.h +++ b/engines/saga/sndres.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sound.cpp b/engines/saga/sound.cpp index 67be499bc7..0eb6f8a82a 100644 --- a/engines/saga/sound.cpp +++ b/engines/saga/sound.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sound.h b/engines/saga/sound.h index e2163dfb0e..fa59538bbc 100644 --- a/engines/saga/sound.h +++ b/engines/saga/sound.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sprite.cpp b/engines/saga/sprite.cpp index bf550659e9..ae8ee9cd54 100644 --- a/engines/saga/sprite.cpp +++ b/engines/saga/sprite.cpp @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sprite.h b/engines/saga/sprite.h index 0375d8c63f..525958006d 100644 --- a/engines/saga/sprite.h +++ b/engines/saga/sprite.h @@ -8,12 +8,12 @@ * 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. diff --git a/engines/saga/sthread.cpp b/engines/saga/sthread.cpp index 6e5cc68ae6..dde266bb0b 100644 --- a/engines/saga/sthread.cpp +++ b/engines/saga/sthread.cpp @@ -8,12 +8,12 @@ * 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. -- cgit v1.2.3 From 740b6e8fbdece44ae2a5295cb0549a53b6dc6ae7 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 27 Feb 2014 21:27:23 -0500 Subject: IMAGE: Move all ImageDecoders to image/ --- engines/saga/scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp index 5ca2f8d31a..7f77cbab38 100644 --- a/engines/saga/scene.cpp +++ b/engines/saga/scene.cpp @@ -43,7 +43,7 @@ #include "common/util.h" -#include "graphics/decoders/iff.h" +#include "image/iff.h" namespace Saga { @@ -463,7 +463,7 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy _vm->_interface->setMode(kPanelSceneSubstitute); if (file.open(sceneSubstitutes[i].image)) { - Graphics::IFFDecoder decoder; + Image::IFFDecoder decoder; decoder.loadStream(file); pal = decoder.getPalette(); rect.setWidth(decoder.getSurface()->w); -- cgit v1.2.3 From daa8d57a866e2866369e432cf1d624179edc8875 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 27 May 2014 02:04:07 +0200 Subject: ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. --- engines/saga/actor_walk.cpp | 2 +- engines/saga/animation.cpp | 8 ++++---- engines/saga/console.cpp | 40 ++++++++++++++++++++-------------------- engines/saga/objectmap.cpp | 2 +- engines/saga/scene.cpp | 2 +- engines/saga/sfuncs.cpp | 2 +- 6 files changed, 28 insertions(+), 28 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/actor_walk.cpp b/engines/saga/actor_walk.cpp index a5345261c5..04741da2cd 100644 --- a/engines/saga/actor_walk.cpp +++ b/engines/saga/actor_walk.cpp @@ -1378,7 +1378,7 @@ void Actor::cmdActorWalkTo(int argc, const char **argv) { location.fromScreenPoint(movePoint); if (!validActorId(actorId)) { - _vm->_console->DebugPrintf("Actor::cmActorWalkTo Invalid actorId 0x%X.\n", actorId); + _vm->_console->debugPrintf("Actor::cmActorWalkTo Invalid actorId 0x%X.\n", actorId); return; } diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp index 9e0bcf52ad..25119c6407 100644 --- a/engines/saga/animation.cpp +++ b/engines/saga/animation.cpp @@ -914,14 +914,14 @@ void Anim::animInfo() { animCount = getAnimationCount(); - _vm->_console->DebugPrintf("There are %d animations loaded:\n", animCount); + _vm->_console->debugPrintf("There are %d animations loaded:\n", animCount); for (i = 0; i < MAX_ANIMATIONS; i++) { if (_animations[i] == NULL) { continue; } - _vm->_console->DebugPrintf("%02d: Frames: %u Flags: %u\n", i, _animations[i]->maxFrame, _animations[i]->flags); + _vm->_console->debugPrintf("%02d: Frames: %u Flags: %u\n", i, _animations[i]->maxFrame, _animations[i]->flags); } } @@ -929,10 +929,10 @@ void Anim::animInfo() { void Anim::cutawayInfo() { uint16 i; - _vm->_console->DebugPrintf("There are %d cutaways loaded:\n", _cutawayList.size()); + _vm->_console->debugPrintf("There are %d cutaways loaded:\n", _cutawayList.size()); for (i = 0; i < _cutawayList.size(); i++) { - _vm->_console->DebugPrintf("%02d: Bg res: %u Anim res: %u Cycles: %u Framerate: %u\n", i, + _vm->_console->debugPrintf("%02d: Bg res: %u Anim res: %u Cycles: %u Framerate: %u\n", i, _cutawayList[i].backgroundResourceId, _cutawayList[i].animResourceId, _cutawayList[i].cycles, _cutawayList[i].frameRate); } diff --git a/engines/saga/console.cpp b/engines/saga/console.cpp index eab615b33f..48aa9f9c4e 100644 --- a/engines/saga/console.cpp +++ b/engines/saga/console.cpp @@ -89,7 +89,7 @@ Console::~Console() { bool Console::cmdActorWalkTo(int argc, const char **argv) { if (argc != 4) - DebugPrintf("Usage: %s \n", argv[0]); + debugPrintf("Usage: %s \n", argv[0]); else _vm->_actor->cmdActorWalkTo(argc, argv); return true; @@ -110,7 +110,7 @@ bool Console::cmdCutawayInfo(int argc, const char **argv) { bool Console::cmdPlayCutaway(int argc, const char **argv) { #ifdef ENABLE_IHNM if (argc != 2) - DebugPrintf("Usage: %s \n", argv[0]); + debugPrintf("Usage: %s \n", argv[0]); else _vm->_anim->playCutaway(atoi(argv[1]), false); #endif @@ -118,19 +118,19 @@ bool Console::cmdPlayCutaway(int argc, const char **argv) { } bool Console::cmdCurrentScene(int argc, const char **argv) { - DebugPrintf("Current Scene is: %i, scene resource id: %i\n", + debugPrintf("Current Scene is: %i, scene resource id: %i\n", _vm->_scene->currentSceneNumber(), _vm->_scene->currentSceneResourceId()); return true; } bool Console::cmdCurrentChapter(int argc, const char **argv) { - DebugPrintf("Current Chapter is: %i\n", _vm->_scene->currentChapterNumber()); + debugPrintf("Current Chapter is: %i\n", _vm->_scene->currentChapterNumber()); return true; } bool Console::cmdSceneChange(int argc, const char **argv) { if (argc != 2) - DebugPrintf("Usage: %s \n", argv[0]); + debugPrintf("Usage: %s \n", argv[0]); else _vm->_scene->cmdSceneChange(argc, argv); return true; @@ -138,7 +138,7 @@ bool Console::cmdSceneChange(int argc, const char **argv) { bool Console::cmdChapterChange(int argc, const char **argv) { if (argc != 3) - DebugPrintf("Usage: %s \n", argv[0]); + debugPrintf("Usage: %s \n", argv[0]); else { _vm->_scene->setChapterNumber(atoi(argv[2])); _vm->_scene->cmdSceneChange(argc, argv); @@ -158,9 +158,9 @@ bool Console::cmdObjectMapInfo(int argc, const char **argv) { bool Console::cmdWakeUpThreads(int argc, const char **argv) { if (argc != 2) { - DebugPrintf("Usage: %s \n", argv[0]); - DebugPrintf("e.g.: 1 for kWaitTypeDelay, 2 for kWaitTypeSpeech, 10 for kWaitTypeWaitFrames"); - DebugPrintf("Refer to saga/script.h for additional types"); + debugPrintf("Usage: %s \n", argv[0]); + debugPrintf("e.g.: 1 for kWaitTypeDelay, 2 for kWaitTypeSpeech, 10 for kWaitTypeWaitFrames"); + debugPrintf("Refer to saga/script.h for additional types"); } else { _vm->_script->wakeUpThreads(atoi(argv[1])); } @@ -168,13 +168,13 @@ bool Console::cmdWakeUpThreads(int argc, const char **argv) { } bool Console::cmdCurrentPanelMode(int argc, const char **argv) { - DebugPrintf("Current Panel Mode is: %i\n", _vm->_interface->getMode()); + debugPrintf("Current Panel Mode is: %i\n", _vm->_interface->getMode()); return true; } bool Console::cmdSetPanelMode(int argc, const char **argv) { if (argc != 2) - DebugPrintf("Usage: %s \n", argv[0]); + debugPrintf("Usage: %s \n", argv[0]); else _vm->_interface->setMode(atoi(argv[1])); return true; @@ -182,8 +182,8 @@ bool Console::cmdSetPanelMode(int argc, const char **argv) { bool Console::cmdSetFontMapping(int argc, const char **argv) { if (argc != 2) { - DebugPrintf("Sets font mapping\nUsage: %s \n", argv[0]); - DebugPrintf("Mapping flags:\n0 - default game behavior\n1 - force font mapping\n2 - ignore font mapping\n"); + debugPrintf("Sets font mapping\nUsage: %s \n", argv[0]); + debugPrintf("Mapping flags:\n0 - default game behavior\n1 - force font mapping\n2 - ignore font mapping\n"); } else { _vm->_font->setFontMapping(atoi(argv[1])); } @@ -191,7 +191,7 @@ bool Console::cmdSetFontMapping(int argc, const char **argv) { } bool Console::cmdGlobalFlagsInfo(int argc, const char **argv) { - DebugPrintf("Global flags status for IHNM:\n"); + debugPrintf("Global flags status for IHNM:\n"); // Global flags in IHNM: // 00: Tested when Gorrister's chapter ends. 0: Gorrister failed, 1: Gorrister won @@ -232,9 +232,9 @@ bool Console::cmdGlobalFlagsInfo(int argc, const char **argv) { for (i = 0; i < 32; i += 8) { for (k = i; k < i + 8; k ++) { flagStatus = _vm->_globalFlags & (1 << k) ? 1 : 0; - _vm->_console->DebugPrintf("%02d: %u |", k, flagStatus); + _vm->_console->debugPrintf("%02d: %u |", k, flagStatus); } - _vm->_console->DebugPrintf("\n"); + _vm->_console->debugPrintf("\n"); } return true; @@ -242,13 +242,13 @@ bool Console::cmdGlobalFlagsInfo(int argc, const char **argv) { bool Console::cmdSetGlobalFlag(int argc, const char **argv) { if (argc != 2) { - DebugPrintf("Usage: %s \nValid flag numbers are 0 - 31\n", argv[0]); + debugPrintf("Usage: %s \nValid flag numbers are 0 - 31\n", argv[0]); } else { int flagNumber = atoi(argv[1]); if (flagNumber >= 0 && flagNumber <= 31) { _vm->_globalFlags |= (1 << flagNumber); } else { - DebugPrintf("Valid flag numbers are 0 - 31\n"); + debugPrintf("Valid flag numbers are 0 - 31\n"); } } return true; @@ -256,13 +256,13 @@ bool Console::cmdSetGlobalFlag(int argc, const char **argv) { bool Console::cmdClearGlobalFlag(int argc, const char **argv) { if (argc != 2) { - DebugPrintf("Usage: %s \nValid flag numbers are 0 - 31\n", argv[0]); + debugPrintf("Usage: %s \nValid flag numbers are 0 - 31\n", argv[0]); } else { int flagNumber = atoi(argv[1]); if (flagNumber >= 0 && flagNumber <= 31) { _vm->_globalFlags &= ~(1 << flagNumber); } else { - DebugPrintf("Valid flag numbers are 0 - 31\n"); + debugPrintf("Valid flag numbers are 0 - 31\n"); } } return true; diff --git a/engines/saga/objectmap.cpp b/engines/saga/objectmap.cpp index f27c888a61..ad5167209c 100644 --- a/engines/saga/objectmap.cpp +++ b/engines/saga/objectmap.cpp @@ -231,7 +231,7 @@ int ObjectMap::hitTest(const Point& testPoint) { } void ObjectMap::cmdInfo() { - _vm->_console->DebugPrintf("%d zone(s) loaded.\n\n", _hitZoneList.size()); + _vm->_console->debugPrintf("%d zone(s) loaded.\n\n", _hitZoneList.size()); } } // End of namespace Saga diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp index 7f77cbab38..04776bd5dc 100644 --- a/engines/saga/scene.cpp +++ b/engines/saga/scene.cpp @@ -1220,7 +1220,7 @@ void Scene::cmdSceneChange(int argc, const char **argv) { scene_num = atoi(argv[1]); if ((scene_num < 1) || (uint(scene_num) >= _sceneLUT.size())) { - _vm->_console->DebugPrintf("Invalid scene number.\n"); + _vm->_console->debugPrintf("Invalid scene number.\n"); return; } diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index 91e39c54b6..cb963e23ac 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -139,7 +139,7 @@ void Script::setupITEScriptFuncList() { void Script::sfPutString(SCRIPTFUNC_PARAMS) { const char *str = thread->_strings->getString(thread->pop()); - _vm->_console->DebugPrintf("sfPutString: %s\n",str); + _vm->_console->debugPrintf("sfPutString: %s\n",str); debug(0, "sfPutString: %s", str); } -- cgit v1.2.3 From ae4ffe01f0e4354938714c546034cd0f9806bfc3 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 27 May 2014 02:04:08 +0200 Subject: ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. --- engines/saga/console.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/console.cpp b/engines/saga/console.cpp index 48aa9f9c4e..042635e3e3 100644 --- a/engines/saga/console.cpp +++ b/engines/saga/console.cpp @@ -35,15 +35,15 @@ namespace Saga { Console::Console(SagaEngine *vm) : GUI::Debugger() { _vm = vm; - DCmd_Register("continue", WRAP_METHOD(Console, Cmd_Exit)); + registerCmd("continue", WRAP_METHOD(Console, Cmd_Exit)); // Actor commands - DCmd_Register("actor_walk_to", WRAP_METHOD(Console, cmdActorWalkTo)); + registerCmd("actor_walk_to", WRAP_METHOD(Console, cmdActorWalkTo)); // Animation commands - DCmd_Register("anim_info", WRAP_METHOD(Console, cmdAnimInfo)); - DCmd_Register("cutaway_info", WRAP_METHOD(Console, cmdCutawayInfo)); - DCmd_Register("play_cutaway", WRAP_METHOD(Console, cmdPlayCutaway)); + registerCmd("anim_info", WRAP_METHOD(Console, cmdAnimInfo)); + registerCmd("cutaway_info", WRAP_METHOD(Console, cmdCutawayInfo)); + registerCmd("play_cutaway", WRAP_METHOD(Console, cmdPlayCutaway)); // Game stuff @@ -60,28 +60,28 @@ Console::Console(SagaEngine *vm) : GUI::Debugger() { #endif // Scene commands - DCmd_Register("current_scene", WRAP_METHOD(Console, cmdCurrentScene)); - DCmd_Register("current_chapter", WRAP_METHOD(Console, cmdCurrentChapter)); - DCmd_Register("scene_change", WRAP_METHOD(Console, cmdSceneChange)); - DCmd_Register("chapter_change", WRAP_METHOD(Console, cmdChapterChange)); + registerCmd("current_scene", WRAP_METHOD(Console, cmdCurrentScene)); + registerCmd("current_chapter", WRAP_METHOD(Console, cmdCurrentChapter)); + registerCmd("scene_change", WRAP_METHOD(Console, cmdSceneChange)); + registerCmd("chapter_change", WRAP_METHOD(Console, cmdChapterChange)); - DCmd_Register("action_map_info", WRAP_METHOD(Console, cmdActionMapInfo)); - DCmd_Register("object_map_info", WRAP_METHOD(Console, cmdObjectMapInfo)); + registerCmd("action_map_info", WRAP_METHOD(Console, cmdActionMapInfo)); + registerCmd("object_map_info", WRAP_METHOD(Console, cmdObjectMapInfo)); // Script commands - DCmd_Register("wake_up_threads", WRAP_METHOD(Console, cmdWakeUpThreads)); + registerCmd("wake_up_threads", WRAP_METHOD(Console, cmdWakeUpThreads)); // Panel commands - DCmd_Register("current_panel_mode", WRAP_METHOD(Console, cmdCurrentPanelMode)); - DCmd_Register("set_panel_mode", WRAP_METHOD(Console, cmdSetPanelMode)); + registerCmd("current_panel_mode", WRAP_METHOD(Console, cmdCurrentPanelMode)); + registerCmd("set_panel_mode", WRAP_METHOD(Console, cmdSetPanelMode)); // Font commands - DCmd_Register("set_font_mapping", WRAP_METHOD(Console, cmdSetFontMapping)); + registerCmd("set_font_mapping", WRAP_METHOD(Console, cmdSetFontMapping)); // Global flags commands - DCmd_Register("global_flags_info", WRAP_METHOD(Console, cmdGlobalFlagsInfo)); - DCmd_Register("set_global_flag", WRAP_METHOD(Console, cmdSetGlobalFlag)); - DCmd_Register("clear_global_flag", WRAP_METHOD(Console, cmdClearGlobalFlag)); + registerCmd("global_flags_info", WRAP_METHOD(Console, cmdGlobalFlagsInfo)); + registerCmd("set_global_flag", WRAP_METHOD(Console, cmdSetGlobalFlag)); + registerCmd("clear_global_flag", WRAP_METHOD(Console, cmdClearGlobalFlag)); } Console::~Console() { -- cgit v1.2.3 From 30d64edac449cde1f1c387b817ec33446ddd4698 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 27 May 2014 02:04:08 +0200 Subject: ALL: Make Debugger command function names conform to our guidelines. --- engines/saga/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/saga') diff --git a/engines/saga/console.cpp b/engines/saga/console.cpp index 042635e3e3..0b801eef3e 100644 --- a/engines/saga/console.cpp +++ b/engines/saga/console.cpp @@ -35,7 +35,7 @@ namespace Saga { Console::Console(SagaEngine *vm) : GUI::Debugger() { _vm = vm; - registerCmd("continue", WRAP_METHOD(Console, Cmd_Exit)); + registerCmd("continue", WRAP_METHOD(Console, cmdExit)); // Actor commands registerCmd("actor_walk_to", WRAP_METHOD(Console, cmdActorWalkTo)); -- cgit v1.2.3