From ec3b9314e8cddb4636e45d414f3d7c78dd9f716e Mon Sep 17 00:00:00 2001
From: Alyssa Milburn
Date: Sat, 9 Jul 2011 09:44:34 +0200
Subject: CREATE_PROJECT: Quote parameters in MSVC10 post-build step.
Also, do the same commands for Release and Debug.
---
.../create_project/msvc10/create_project.vcxproj | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
(limited to 'devtools')
diff --git a/devtools/create_project/msvc10/create_project.vcxproj b/devtools/create_project/msvc10/create_project.vcxproj
index 3d7f8fdd3d..40c515f26b 100644
--- a/devtools/create_project/msvc10/create_project.vcxproj
+++ b/devtools/create_project/msvc10/create_project.vcxproj
@@ -59,11 +59,11 @@
@echo off
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc10\
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc9\
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc8\
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\codeblocks\
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\iphone\
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc10\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc9\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc8\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\codeblocks\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\iphone\"
@@ -84,10 +84,12 @@ xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\iphone\
MachineX86
- xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc10\
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc9\
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc8\
-xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\codeblocks\
+ @echo off
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc10\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc9\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\msvc8\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\codeblocks\"
+xcopy /Y "$(TargetPath)" "$(SolutionDir)\..\..\..\dists\iphone\"
@@ -120,4 +122,4 @@ xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\codeblocks\
-
\ No newline at end of file
+
--
cgit v1.2.3
From d1fbf595206c1010755667b404e823f13caa4c2b Mon Sep 17 00:00:00 2001
From: eriktorbjorn
Date: Sat, 16 Jul 2011 11:04:49 +0200
Subject: DREAMWEB: Rewrote lockmon() to fix pausing/unpausing
The original function would busy-wait for the user to press space
again. We can't do that, of course, since we don't have interrupt-
driven keyboard input.
---
devtools/tasmrecover/tasm-recover | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 5f7a528a5b..54fc091f06 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -24,6 +24,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'readabyte',
'readoneblock',
'frameoutv',
- 'modifychar'
+ 'modifychar',
+ 'lockmon'
])
generator.generate('dreamweb') #start routine
--
cgit v1.2.3
From 4d4d3329c3f60db245038d48ff36a14628a0c10f Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Sun, 26 Jun 2011 15:10:18 +0200
Subject: DREAMWEB: The generator includes a file for custom structs and a file
for custom function definitions It also generates C++ symbols for asm proc
addresses
---
devtools/tasmrecover/tasm/cpp.py | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py
index dfdfb239f4..81c883da1e 100644
--- a/devtools/tasmrecover/tasm/cpp.py
+++ b/devtools/tasmrecover/tasm/cpp.py
@@ -544,14 +544,19 @@ namespace %s {
"""\n#include "dreamweb/runtime.h"
namespace %s {
-
+#include "structs.h"
class %sContext : public Context {
public:
void __start();
void __dispatch_call(uint16 addr);
+#include "stubs.h" // Allow hand-reversed functions to have a signature different than void f()
"""
%(self.namespace, self.namespace))
+
+ for name,addr in self.proc_addr:
+ self.hd.write("\tstatic const uint16 addr_%s = 0x%04x;\n" %(name, addr))
+
offsets = []
for k, v in self.context.get_globals().items():
if isinstance(v, op.var):
@@ -564,7 +569,10 @@ public:
self.hd.write("\tconst static uint16 k%s = %s;\n" %o)
self.hd.write("\n")
for p in set(self.methods):
- self.hd.write("\tvoid %s();\n" %p)
+ if p in self.blacklist:
+ self.hd.write("\t//void %s();\n" %p)
+ else:
+ self.hd.write("\tvoid %s();\n" %p)
self.hd.write("};\n}\n\n#endif\n")
self.hd.close()
@@ -574,7 +582,7 @@ public:
self.fd.write("\nvoid %sContext::__dispatch_call(uint16 addr) {\n\tswitch(addr) {\n" %self.namespace)
self.proc_addr.sort(cmp = lambda x, y: x[1] - y[1])
for name,addr in self.proc_addr:
- self.fd.write("\t\tcase 0x%04x: %s(); break;\n" %(addr, name))
+ self.fd.write("\t\tcase addr_%s: %s(); break;\n" %(name, name))
self.fd.write("\t\tdefault: ::error(\"invalid call to %04x dispatched\", (uint16)ax);")
self.fd.write("\n\t}\n}\n\n} /*namespace*/\n")
--
cgit v1.2.3
From 7af3cd565c2c62d4733b2272a841e0ead49988cd Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Sun, 26 Jun 2011 15:17:19 +0200
Subject: DREAMWEB: C++-isation of a part of the sprite subsystem
---
devtools/tasmrecover/dreamweb/vars.asm | 2 +-
devtools/tasmrecover/tasm-recover | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/dreamweb/vars.asm b/devtools/tasmrecover/dreamweb/vars.asm
index 8646697e52..8678231a9d 100644
--- a/devtools/tasmrecover/dreamweb/vars.asm
+++ b/devtools/tasmrecover/dreamweb/vars.asm
@@ -273,7 +273,7 @@ savesource dw 0
savex db 0
savey db 0
currentob db 0
-priority db 0
+priorityDep db 0 ; dep for deprecated, I leave a byte here to minimize changes to the generated code
destpos db 0
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 54fc091f06..8e84c600f9 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -23,6 +23,12 @@ generator = cpp(context, "DreamGen", blacklist = [
'convertkey',
'readabyte',
'readoneblock',
+ 'printsprites',
+ 'printasprite',
+ 'eraseoldobs',
+ 'clearsprites',
+ 'makesprite',
+ 'spriteupdate',
'frameoutv',
'modifychar',
'lockmon'
--
cgit v1.2.3
From 880bcc69ef24fa6fa333a38d14d47d45c123aeb5 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Sun, 26 Jun 2011 17:03:17 +0200
Subject: DREAMWEB: showframe blacklisted
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 8e84c600f9..95b42cf652 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -28,6 +28,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'eraseoldobs',
'clearsprites',
'makesprite',
+ 'showframe',
'spriteupdate',
'frameoutv',
'modifychar',
--
cgit v1.2.3
From 9f8036cd86670a3de8562b7c6e398ddace8650fa Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Sun, 26 Jun 2011 19:32:02 +0200
Subject: DREAMWEB: Blacklisted frameoutbh and frameoutfx
---
devtools/tasmrecover/tasm-recover | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 95b42cf652..727bb41ebf 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -15,7 +15,9 @@ generator = cpp(context, "DreamGen", blacklist = [
'multiget',
'multiput',
'multidump',
- 'frameoutnm',
+ 'frameoutnm',
+ 'frameoutbh',
+ 'frameoutfx',
'cls',
'printundermon',
'worktoscreen',
--
cgit v1.2.3
From 25528a56e854795afa7eeda92a338aafee124eb4 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Tue, 28 Jun 2011 04:55:10 +0200
Subject: DREAMWEB: dodoor blacklisted
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 727bb41ebf..22010aa71a 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -32,6 +32,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'makesprite',
'showframe',
'spriteupdate',
+ 'dodoor',
'frameoutv',
'modifychar',
'lockmon'
--
cgit v1.2.3
From 40e5e03e32f08562738abde8a22ce4b0c98264f0 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Tue, 28 Jun 2011 05:10:35 +0200
Subject: DREAMWEB: Blacklisted liftsprite
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 22010aa71a..8eb70290ef 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -33,6 +33,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'showframe',
'spriteupdate',
'dodoor',
+ 'liftsprite',
'frameoutv',
'modifychar',
'lockmon'
--
cgit v1.2.3
From 3ce4f2654075a5bc1b2b93eda9064a5b79180936 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Tue, 28 Jun 2011 14:54:26 +0200
Subject: DREAMWEB: walking blacklisted
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 8eb70290ef..dfcb40bfb4 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -31,6 +31,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'clearsprites',
'makesprite',
'showframe',
+ 'walking',
'spriteupdate',
'dodoor',
'liftsprite',
--
cgit v1.2.3
From 2fd19aeedf5d3df90a1be5ae0bba30ea5131ee10 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Tue, 28 Jun 2011 15:48:07 +0200
Subject: DREAMWEB: initman reversed
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index dfcb40bfb4..3f04bad1e9 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -31,6 +31,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'clearsprites',
'makesprite',
'showframe',
+ 'initman',
'walking',
'spriteupdate',
'dodoor',
--
cgit v1.2.3
From 9072ecf781bb8fd116a02530631d3cfa1e44648b Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Sun, 17 Jul 2011 14:38:30 +0200
Subject: DREAMWEB: Blacklisted 'kernchars' and 'getnextword'
---
devtools/tasmrecover/tasm-recover | 2 ++
1 file changed, 2 insertions(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 3f04bad1e9..6b1c6d9d23 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -20,6 +20,8 @@ generator = cpp(context, "DreamGen", blacklist = [
'frameoutfx',
'cls',
'printundermon',
+ 'kernchars',
+ 'getnextword',
'worktoscreen',
'width160',
'convertkey',
--
cgit v1.2.3
From 2cdd83141ab2cf364de62973de4c014944836f73 Mon Sep 17 00:00:00 2001
From: Filippos Karapetis
Date: Tue, 19 Jul 2011 10:50:12 +0300
Subject: CREATE_PROJECT: Enabled the new Bink video support feature
---
devtools/create_project/create_project.cpp | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp
index 35d08561bf..0b190b3f0e 100644
--- a/devtools/create_project/create_project.cpp
+++ b/devtools/create_project/create_project.cpp
@@ -773,6 +773,7 @@ const Feature s_features[] = {
{ "theora", "USE_THEORADEC", "libtheora_static", true, "Theora decoding support" },
// Feature flags
+ { "bink", "USE_BINK", "", true, "Bink video support" },
{ "scalers", "USE_SCALERS", "", true, "Scalers" },
{ "hqscalers", "USE_HQ_SCALERS", "", true, "HQ scalers" },
{ "16bit", "USE_RGB_COLOR", "", true, "16bit color support" },
--
cgit v1.2.3
From 540d0260e65677848a9f9ef53460ab2c7d0bf6d0 Mon Sep 17 00:00:00 2001
From: Eugene Sandulenko
Date: Tue, 19 Jul 2011 11:26:40 +0100
Subject: DREAMWEB: Add ScummVM headers, remove SVN keywords.
---
devtools/tasmrecover/tasm-recover | 21 +++++++++++++++++
devtools/tasmrecover/tasm/cpp.py | 47 ++++++++++++++++++++++++++++++++++++-
devtools/tasmrecover/tasm/lex.py | 21 +++++++++++++++++
devtools/tasmrecover/tasm/op.py | 21 +++++++++++++++++
devtools/tasmrecover/tasm/parser.py | 21 +++++++++++++++++
devtools/tasmrecover/tasm/proc.py | 21 +++++++++++++++++
6 files changed, 151 insertions(+), 1 deletion(-)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 6b1c6d9d23..52085daac5 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -1,5 +1,26 @@
#!/usr/bin/python
+# 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.
+#
+
from tasm.parser import parser
from tasm.cpp import cpp
diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py
index 81c883da1e..a73fd6c890 100644
--- a/devtools/tasmrecover/tasm/cpp.py
+++ b/devtools/tasmrecover/tasm/cpp.py
@@ -1,3 +1,24 @@
+# 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.
+#
+
import op, traceback, re, proc
from copy import copy
proc_module = proc
@@ -16,7 +37,31 @@ class cpp:
self.namespace = namespace
fname = namespace.lower() + ".cpp"
header = namespace.lower() + ".h"
- banner = "/* PLEASE DO NOT MODIFY THIS FILE. ALL CHANGES WILL BE LOST! LOOK FOR README FOR DETAILS */"
+ banner = """/* PLEASE DO NOT MODIFY THIS FILE. ALL CHANGES WILL BE LOST! LOOK FOR README FOR DETAILS */
+
+/* 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.
+ *
+ */
+
+"""
self.fd = open(fname, "wt")
self.hd = open(header, "wt")
hid = "TASMRECOVER_%s_STUBS_H__" %namespace.upper()
diff --git a/devtools/tasmrecover/tasm/lex.py b/devtools/tasmrecover/tasm/lex.py
index cf7e6e19bf..9728c149ca 100644
--- a/devtools/tasmrecover/tasm/lex.py
+++ b/devtools/tasmrecover/tasm/lex.py
@@ -1,3 +1,24 @@
+# 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.
+#
+
def parse_args(text):
#print "parsing: [%s]" %text
escape = False
diff --git a/devtools/tasmrecover/tasm/op.py b/devtools/tasmrecover/tasm/op.py
index 10fdd8a568..6b19068f2a 100644
--- a/devtools/tasmrecover/tasm/op.py
+++ b/devtools/tasmrecover/tasm/op.py
@@ -1,3 +1,24 @@
+# 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.
+#
+
import re
import lex
diff --git a/devtools/tasmrecover/tasm/parser.py b/devtools/tasmrecover/tasm/parser.py
index 4cea496722..ebbd714cf4 100644
--- a/devtools/tasmrecover/tasm/parser.py
+++ b/devtools/tasmrecover/tasm/parser.py
@@ -1,3 +1,24 @@
+# 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.
+#
+
import os, re
from proc import proc
import lex
diff --git a/devtools/tasmrecover/tasm/proc.py b/devtools/tasmrecover/tasm/proc.py
index ed7053df89..50a394413f 100644
--- a/devtools/tasmrecover/tasm/proc.py
+++ b/devtools/tasmrecover/tasm/proc.py
@@ -1,3 +1,24 @@
+# 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.
+#
+
import re
import op
--
cgit v1.2.3
From b3e6899f900226c4afd44cee68b06453258e1ac8 Mon Sep 17 00:00:00 2001
From: Matthew Hoops
Date: Tue, 19 Jul 2011 10:16:20 -0400
Subject: DEVTOOLS: Fix typos and formatting in create_toon
---
devtools/create_toon/create_toon.cpp | 6 +++---
devtools/create_toon/create_toon.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
(limited to 'devtools')
diff --git a/devtools/create_toon/create_toon.cpp b/devtools/create_toon/create_toon.cpp
index bdd57be7df..d01102bb71 100644
--- a/devtools/create_toon/create_toon.cpp
+++ b/devtools/create_toon/create_toon.cpp
@@ -77,8 +77,8 @@ int main(int argc, char *argv[]) {
writeByte(outFile, TOON_DAT_VER_MAJ);
writeByte(outFile, TOON_DAT_VER_MIN);
- // game versions/variantes
- writeUint16BE(outFile, NUM_VARIANTE);
+ // game versions/variants
+ writeUint16BE(outFile, NUM_VARIANTS);
// Write locationDirNotVisited
nbrElem = sizeof(locationDirNotVisited_EN) / sizeof(char *);
@@ -128,7 +128,7 @@ int main(int argc, char *argv[]) {
nbrElem = sizeof(specialInfoLine_SP) / sizeof(char *);
writeTextArray(outFile, specialInfoLine_SP, nbrElem);
-// Not yet handled : miscTexts, endingLine and exitLine. Are they useful?
+ // Not yet handled: miscTexts, endingLine and exitLine. Are they useful?
fclose(outFile);
return 0;
diff --git a/devtools/create_toon/create_toon.h b/devtools/create_toon/create_toon.h
index 60b33013f4..b047959215 100644
--- a/devtools/create_toon/create_toon.h
+++ b/devtools/create_toon/create_toon.h
@@ -30,9 +30,9 @@
#define TOON_DAT_VER_MAJ 0 // 1 byte
#define TOON_DAT_VER_MIN 3 // 1 byte
-// Number of Variante of the game. For the moment, it's the same
-// than the number of languages
-#define NUM_VARIANTE 5
+// Number of variants of the game. For the moment, it's the same
+// as the number of languages
+#define NUM_VARIANTS 5
typedef unsigned char uint8;
typedef unsigned char byte;
--
cgit v1.2.3
From e25e85fbb047fef895ede97c3c2c73451631052c Mon Sep 17 00:00:00 2001
From: eriktorbjorn
Date: Wed, 20 Jul 2011 13:15:30 +0200
Subject: DREAMWEB: Blacklist and reimplement cancelch0() and cancelch1()
Now any sound playing on the channels is stopped immediately. This
fixes missing voice-overs in the intro, makes it possible to skip
lines of conversation, and fixes a problem where the sound effect
from the Altar Room would keep playing after leaving the room.
Possibly other glitches as well.
---
devtools/tasmrecover/tasm-recover | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 52085daac5..705d3ac6b1 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -61,6 +61,8 @@ generator = cpp(context, "DreamGen", blacklist = [
'liftsprite',
'frameoutv',
'modifychar',
- 'lockmon'
+ 'lockmon',
+ 'cancelch0',
+ 'cancelch1'
])
generator.generate('dreamweb') #start routine
--
cgit v1.2.3
From b728323df751a0aec5aee890cdce52f50796b12a Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Sun, 17 Jul 2011 16:06:19 +0200
Subject: DREAMWEB: 'getnumber' ported to C++
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 705d3ac6b1..412d5d4728 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -43,6 +43,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'printundermon',
'kernchars',
'getnextword',
+ 'getnumber',
'worktoscreen',
'width160',
'convertkey',
--
cgit v1.2.3
From 599fbf4fe6e8fd92105ae2bcdd21e0c2f82005f9 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Mon, 18 Jul 2011 14:30:07 +0200
Subject: DREAMWEB: 'printdirect' ported to C++
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 412d5d4728..ed29eaa617 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -44,6 +44,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'kernchars',
'getnextword',
'getnumber',
+ 'printdirect',
'worktoscreen',
'width160',
'convertkey',
--
cgit v1.2.3
From f15661f698f5b6fc359febdda0089cc5a70f9e81 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Mon, 18 Jul 2011 22:27:06 +0200
Subject: DREAMWEB: 'printchar' ported to C++
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index ed29eaa617..8b2317860c 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -44,6 +44,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'kernchars',
'getnextword',
'getnumber',
+ 'printchar',
'printdirect',
'worktoscreen',
'width160',
--
cgit v1.2.3
From d0f917d8571c3945b33dbd7a84bf3e0b33ce9715 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Tue, 19 Jul 2011 12:37:32 +0200
Subject: DREAMWEB: 'printslow' ported to C++
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 8b2317860c..15969c5280 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -46,6 +46,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'getnumber',
'printchar',
'printdirect',
+ 'printslow',
'worktoscreen',
'width160',
'convertkey',
--
cgit v1.2.3
From ac29c2a64db12be6c38d76b763a4503bd1296eb3 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Wed, 20 Jul 2011 20:58:03 +0200
Subject: DREAMWEB: 'printboth' ported to C++
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 15969c5280..f668f63bf2 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -44,6 +44,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'kernchars',
'getnextword',
'getnumber',
+ 'printboth',
'printchar',
'printdirect',
'printslow',
--
cgit v1.2.3
From 60d4970fd091c618194684bc0030d70fc3808138 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Thu, 21 Jul 2011 22:46:16 +0200
Subject: DREAMWEB: 'dumptextline' ported to C++
---
devtools/tasmrecover/tasm-recover | 1 +
1 file changed, 1 insertion(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index f668f63bf2..79d0dc42e2 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -44,6 +44,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'kernchars',
'getnextword',
'getnumber',
+ 'dumptextline',
'printboth',
'printchar',
'printdirect',
--
cgit v1.2.3
From cbcdb61b288904658198d086a25153eddd60e5c3 Mon Sep 17 00:00:00 2001
From: Bertrand Augereau
Date: Sat, 23 Jul 2011 19:18:10 +0200
Subject: DREAMWEB: Blacklisted 'usetimedtext', 'getundertimed' and
'putundertimed'
---
devtools/tasmrecover/tasm-recover | 3 +++
1 file changed, 3 insertions(+)
(limited to 'devtools')
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 79d0dc42e2..413be6caf1 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -49,6 +49,9 @@ generator = cpp(context, "DreamGen", blacklist = [
'printchar',
'printdirect',
'printslow',
+ 'usetimedtext',
+ 'putundertimed',
+ 'getundertimed',
'worktoscreen',
'width160',
'convertkey',
--
cgit v1.2.3
From 7174f14c61781de8143a03af4801426fdb5ed69f Mon Sep 17 00:00:00 2001
From: athrxx
Date: Sun, 24 Jul 2011 20:29:54 +0200
Subject: LOL: add support for Russian floppy version
---
devtools/create_kyradat/create_kyradat.cpp | 4 ++--
devtools/create_kyradat/games.cpp | 3 ++-
devtools/create_kyradat/tables.cpp | 12 ++++++++----
3 files changed, 12 insertions(+), 7 deletions(-)
(limited to 'devtools')
diff --git a/devtools/create_kyradat/create_kyradat.cpp b/devtools/create_kyradat/create_kyradat.cpp
index e4686cc66c..86927cc12b 100644
--- a/devtools/create_kyradat/create_kyradat.cpp
+++ b/devtools/create_kyradat/create_kyradat.cpp
@@ -45,7 +45,7 @@
#include