1.1.2 critical fix

This commit is contained in:
p.kosyh 2010-02-10 10:50:57 +00:00
parent 71bd1e7c10
commit 0afb001140
10 changed files with 18 additions and 12 deletions

View file

@ -1,4 +1,4 @@
VERSION := 1.1.1
VERSION := 1.1.2
DESTDIR=
BIN=

View file

@ -1,4 +1,4 @@
VERSION := 1.1.1
VERSION := 1.1.2
PREFIX=/usr/local
DESTDIR=

View file

@ -1,4 +1,4 @@
VERSION := 1.1.1
VERSION := 1.1.2
PREFIX=
DESTDIR=

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
instead (1.1.2) unstable; urgency=low
* bug in saves
-- Peter Kosyh <p.kosyh@gmail.com> Wed, 10 Feb 2010 13:39:47 +0300
instead (1.1.1) unstable; urgency=low
* encode path in save (' in paths);

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.1.1
Version=1.1.2
Type=Application
Name=INSTEAD
Name[ru]=INSTEAD

View file

@ -13,7 +13,7 @@ body { font-family: Verdana, Arial, Helvetica, sans-serif;
</style>
<title>INSTEAD -- interpreter of simple text adventures for Unix and Windows</title>
</head><body bgcolor="#f0f0f0">
<h2>INSTEAD 1.1.1</h2>
<h2>INSTEAD 1.1.2</h2>
<p>INSTEAD -- interpreter of simple text adventures for Unix and Windows.<br>
INSTEAD was designed to interpret the games that are the mix of visual novels, text quests and classical 90'ss quests.</p>

View file

@ -1,4 +1,4 @@
.TH INSTEAD 6 "Version 1.1.1" Instead GAMES
.TH INSTEAD 6 "Version 1.1.2" Instead GAMES
.SH NAME

View file

@ -1,4 +1,4 @@
INSTEAD 1.1.1
INSTEAD 1.1.2
=============
WARNING! For successfull building you must install these development packages (names may vary in your distribution):

View file

@ -1,11 +1,11 @@
[Setup]
AppName=INSTEAD
AppVerName=INSTEAD 1.1.1
AppVerName=INSTEAD 1.1.2
DefaultDirName={pf}\Pinebrush games\INSTEAD
DefaultGroupName=Pinebrush games
UninstallDisplayIcon={app}\sdl-instead.exe
OutputDir=.
OutputBaseFilename=instead-1.1.1
OutputBaseFilename=instead-1.1.2
AllowNoIcons=true
[Languages]

View file

@ -1,5 +1,5 @@
stead = {
version = "1.1.1",
version = "1.1.2",
table = table,
string = string,
math = math,
@ -1127,7 +1127,7 @@ function player_go(self, where)
end
function player_save(self, name, h)
h:write(tostring(name)..'.where = "'..deref(self.where)..'";\n');
h:write(tostring(name)..".where = '"..deref(self.where).."';\n");
savemembers(h, self, name, false);
end
@ -1790,7 +1790,7 @@ end
function allocator_save(s, name, h, need)
if need then
local m = ' = allocator:get("'..name..'","'..s.constructor..'");';
local m = ' = allocator:get("'..name:gsub('"','\\"')..'","'..tostring(s.constructor):gsub('"','\\"')..'");';
h:write(name..m..'\n');
end
savemembers(h, s, name, false);