fix in lifes output, fix in gamefile goto(here, unused parameters, 1.4.6
This commit is contained in:
parent
3b86cde4d0
commit
ddcb9b52b9
|
@ -1,6 +1,6 @@
|
|||
# Contributor: Peter Kosyh <p.kosyhgmail.com>
|
||||
pkgname=instead
|
||||
pkgver=1.4.5
|
||||
pkgver=1.4.6
|
||||
pkgrel=1
|
||||
pkgdesc="instead quest interpreter"
|
||||
arch=('i686' 'x86_64')
|
||||
|
|
2
README
2
README
|
@ -1,4 +1,4 @@
|
|||
INSTEAD 1.4.5
|
||||
INSTEAD 1.4.6
|
||||
=============
|
||||
|
||||
WARNING! For successfull building you must install these development packages (names may vary in your distribution):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.4.5
|
||||
VERSION := 1.4.6
|
||||
|
||||
DESTDIR=
|
||||
BIN=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.4.5
|
||||
VERSION := 1.4.6
|
||||
|
||||
PREFIX=
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.4.5
|
||||
VERSION := 1.4.6
|
||||
|
||||
DESTDIR=
|
||||
BIN=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.4.5
|
||||
VERSION := 1.4.6
|
||||
|
||||
PREFIX=/usr/local
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.4.5
|
||||
VERSION := 1.4.6
|
||||
|
||||
PREFIX=./
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.4.5
|
||||
VERSION := 1.4.6
|
||||
|
||||
PREFIX=
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
instead (1.4.6) unstable; urgency=low
|
||||
|
||||
* bug fix in gamefile;
|
||||
* bug fix in lifes output;
|
||||
|
||||
-- Peter Kosyh <p.kosyh@gmail.com> Mon, 09 Aug 2011 12:24:00 +0400
|
||||
|
||||
instead (1.4.5) unstable; urgency=low
|
||||
|
||||
* bug fix in rnd() w/o parameter;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Version=1.4.5
|
||||
Version=1.4.6
|
||||
Type=Application
|
||||
Name=INSTEAD
|
||||
Name[ru]=INSTEAD
|
||||
|
|
|
@ -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.4.5</h2>
|
||||
<h2>INSTEAD 1.4.6</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>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.TH INSTEAD 6 "Version 1.4.5" Instead GAMES
|
||||
.TH INSTEAD 6 "Version 1.4.6" Instead GAMES
|
||||
|
||||
.SH NAME
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
&EN
|
||||
|
||||
; standard SIS file header
|
||||
#{"INSTEAD"},(0xA0020410),1,4,5
|
||||
#{"INSTEAD"},(0xA0020410),1,4,6
|
||||
|
||||
;Localised Vendor name
|
||||
%{"Peter Kosyh"}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Summary: simply text adventures/visual novels engine and game
|
||||
Name: instead
|
||||
Version: 1.4.5
|
||||
Version: 1.4.6
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
URL: http://instead.googlecode.com
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[Setup]
|
||||
AppName=INSTEAD-KIT
|
||||
AppVerName=INSTEAD 1.4.5
|
||||
AppVerName=INSTEAD 1.4.6
|
||||
DefaultDirName={pf}\Pinebrush games\INSTEAD
|
||||
DefaultGroupName=Pinebrush games
|
||||
UninstallDisplayIcon={app}\sdl-instead.exe
|
||||
OutputDir=.
|
||||
OutputBaseFilename=instead-kit-1.4.5
|
||||
OutputBaseFilename=instead-kit-1.4.6
|
||||
AllowNoIcons=true
|
||||
|
||||
[Languages]
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[Setup]
|
||||
AppName=INSTEAD
|
||||
AppVerName=INSTEAD 1.4.5
|
||||
AppVerName=INSTEAD 1.4.6
|
||||
DefaultDirName={pf}\Pinebrush games\INSTEAD
|
||||
DefaultGroupName=Pinebrush games
|
||||
UninstallDisplayIcon={app}\sdl-instead.exe
|
||||
OutputDir=.
|
||||
OutputBaseFilename=instead-1.4.5
|
||||
OutputBaseFilename=instead-1.4.6
|
||||
AllowNoIcons=true
|
||||
SetupIconFile=icon\sdl_instead.ico
|
||||
ChangesAssociations=yes
|
||||
|
|
|
@ -91,7 +91,7 @@ Assumes dst surface was allocated with the correct dimensions.
|
|||
*/
|
||||
int _shrinkSurfaceRGBA(SDL_Surface * src, SDL_Surface * dst, int factorx, int factory)
|
||||
{
|
||||
int x, y, dx, dy, sgap, dgap, ra, ga, ba, aa;
|
||||
int x, y, dx, dy, dgap, ra, ga, ba, aa;
|
||||
int n_average;
|
||||
tColorRGBA *sp, *osp, *oosp;
|
||||
tColorRGBA *dp;
|
||||
|
@ -107,7 +107,7 @@ int _shrinkSurfaceRGBA(SDL_Surface * src, SDL_Surface * dst, int factorx, int fa
|
|||
* Scan destination
|
||||
*/
|
||||
sp = (tColorRGBA *) src->pixels;
|
||||
sgap = src->pitch - src->w * 4;
|
||||
// sgap = src->pitch - src->w * 4;
|
||||
|
||||
dp = (tColorRGBA *) dst->pixels;
|
||||
dgap = dst->pitch - dst->w * 4;
|
||||
|
@ -180,7 +180,7 @@ Assumes dst surface was allocated with the correct dimensions.
|
|||
*/
|
||||
int _shrinkSurfaceY(SDL_Surface * src, SDL_Surface * dst, int factorx, int factory)
|
||||
{
|
||||
int x, y, dx, dy, sgap, dgap, a;
|
||||
int x, y, dx, dy, dgap, a;
|
||||
int n_average;
|
||||
Uint8 *sp, *osp, *oosp;
|
||||
Uint8 *dp;
|
||||
|
@ -196,7 +196,7 @@ int _shrinkSurfaceY(SDL_Surface * src, SDL_Surface * dst, int factorx, int facto
|
|||
* Scan destination
|
||||
*/
|
||||
sp = (Uint8 *) src->pixels;
|
||||
sgap = src->pitch - src->w;
|
||||
// sgap = src->pitch - src->w;
|
||||
|
||||
dp = (Uint8 *) dst->pixels;
|
||||
dgap = dst->pitch - dst->w;
|
||||
|
@ -729,7 +729,7 @@ Assumes dst surface was allocated with the correct dimensions.
|
|||
*/
|
||||
void transformSurfaceY(SDL_Surface * src, SDL_Surface * dst, int cx, int cy, int isin, int icos, int flipx, int flipy)
|
||||
{
|
||||
int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay, sw, sh;
|
||||
int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay;
|
||||
tColorY *pc, *sp;
|
||||
int gap;
|
||||
|
||||
|
@ -740,8 +740,8 @@ void transformSurfaceY(SDL_Surface * src, SDL_Surface * dst, int cx, int cy, int
|
|||
yd = ((src->h - dst->h) << 15);
|
||||
ax = (cx << 16) - (icos * cx);
|
||||
ay = (cy << 16) - (isin * cx);
|
||||
sw = src->w - 1;
|
||||
sh = src->h - 1;
|
||||
// sw = src->w - 1;
|
||||
// sh = src->h - 1;
|
||||
pc = (tColorY*) dst->pixels;
|
||||
gap = dst->pitch - dst->w;
|
||||
/*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef S60_H
|
||||
#define S60_H
|
||||
#define PATH_MAX 256
|
||||
#define VERSION "1.4.5"
|
||||
#define VERSION "1.4.6"
|
||||
#define DATAPATH "./"
|
||||
#define STEAD_PATH DATAPATH"stead/"
|
||||
#define THEMES_PATH DATAPATH"themes/"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
stead = {
|
||||
version = "1.4.5",
|
||||
version = "1.4.6",
|
||||
api_version = "1.1.6", -- last version before 1.2.0
|
||||
table = table,
|
||||
delim = ',',
|
||||
|
@ -1477,6 +1477,10 @@ function game_life(self)
|
|||
if not isDisabled(o) then
|
||||
PLAYER_MOVED = false
|
||||
vv,pre = stead.call(o, 'life');
|
||||
if PLAYER_MOVED then -- clear life output, but not current
|
||||
av = nil
|
||||
v = nil
|
||||
end
|
||||
if pre or (PLAYER_MOVED and pre ~= false) then
|
||||
av = stead.par(' ', av, vv);
|
||||
else
|
||||
|
@ -1854,7 +1858,7 @@ function gamefile(file, forget)
|
|||
if forget then
|
||||
game:start()
|
||||
stead.started = true
|
||||
return goto(here());
|
||||
return stead.goto(here(), false, false, true);
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue