going to 1.0.0...

This commit is contained in:
p.kosyh 2009-11-03 16:45:46 +00:00
parent 7848771961
commit 5a8316dfaa
11 changed files with 31 additions and 15 deletions

View file

@ -1,4 +1,4 @@
VERSION := \"0.9.3\"
VERSION := \"1.0.0\"
DESTDIR=
BIN=

View file

@ -1,4 +1,4 @@
VERSION := \"0.9.3\"
VERSION := \"1.0.0\"
PREFIX=/usr/local
DESTDIR=

View file

@ -1,4 +1,4 @@
VERSION := \"0.9.3\"
VERSION := \"1.0.0\"
PREFIX=
DESTDIR=

8
debian/changelog vendored
View file

@ -1,3 +1,11 @@
instead (1.0.1) unstable; urgency=low
* aother mouse buttons -- escape
* escape as use cancel
* lifeoff from life methid
-- Peter Kosyh <p.kosyh@gmail.com> Tue, 3 Nov 2009 19:43:00 +0400
instead (0.9.3) unstable; urgency=low
* have and seen fixes

View file

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

View file

@ -4,7 +4,7 @@
</head><body brgcolor="#d6e7c9" bgcolor="#ffffff">
<center>[ <a href="#info">What is it?</a> ] [ <a href="#screenshots">Screenshots</a> ] [ <a href="#download"> Download </a> ]</center>
<hr>
<center><h2>INSTEAD 0.9.3 — interpreter of simple text adventures </h2></center>
<center><h2>INSTEAD 1.0.0 — interpreter of simple text adventures </h2></center>
<h1><a name="info">What is it?</a></h1>
<p align="justify">The interpreter of STEAD (Simple Text Adventures) allows to play games, combining visual novels, text adventure and classic quests of 1990-s. The STEAD games features are: </p>
<ul>

View file

@ -4,7 +4,7 @@
</head><body brgcolor="#d6e7c9" bgcolor="#ffffff">
<center>[ <a href="#info">Что это такое?</a> ] [ <a href="#screenshots">Скриншоты</a> ] [ <a href="#download"> Скачать </a> ]</center>
<hr>
<center><h2>INSTEAD 0.9.3 -- интерпретатор простых текстовых приключений для Unix</h2></center>
<center><h2>INSTEAD 1.0.0 -- интерпретатор простых текстовых приключений для Unix</h2></center>
<h1><a name="info">Что это такое?</a></h1>
<p align="justify">Интерпретатор STEAD (Simply Text Adventure) позволяет проигрывать игры, которые по жанру являются
смесью визуальной новеллы, текстового квеста и классических квестов 90-х. Особенности STEAD игры:</p>

View file

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

View file

@ -2072,7 +2072,10 @@ int game_loop(void)
if (game_click(x, y, 1) == -1)
break;
} else if (!is_key(&ev, "escape")) {
menu_toggle();
if (use_xref)
disable_use();
else
menu_toggle();
} else if (!is_key(&ev, "tab")) {
select_frame(shift_pressed);
} /*else if (!is_key(&ev, "home") || !is_key(&ev, "[7]")) {
@ -2124,10 +2127,14 @@ int game_loop(void)
game_menu(old_menu);
}
} else if (ev.type == MOUSE_DOWN) {
game_highlight(-1, -1, 0);
game_click(ev.x, ev.y, 0);
x = ev.x;
y = ev.y;
if (ev.code != 1)
disable_use();
else {
game_highlight(-1, -1, 0);
game_click(ev.x, ev.y, 0);
x = ev.x;
y = ev.y;
}
} else if (ev.type == MOUSE_UP) {
game_highlight(-1, -1, 0);
if (game_click(ev.x, ev.y, 1) == -1)

View file

@ -94,20 +94,21 @@ int input(struct inp_event *inp, int wait)
inp->type = MOUSE_UP;
inp->x = event.button.x;
inp->y = event.button.y;
inp->code = event.button.button;
if (event.button.button == 4)
inp->type = 0;
else if (event.button.button == 5)
inp->type = 0;
inp->type = 0;
break;
case SDL_MOUSEBUTTONDOWN:
inp->type = MOUSE_DOWN;
inp->x = event.button.x;
inp->y = event.button.y;
inp->code = event.button.button;
if (event.button.button == 4)
inp->type = MOUSE_WHEEL_UP;
else if (event.button.button == 5)
inp->type = MOUSE_WHEEL_DOWN;
while (SDL_PeepEvents(&peek, 1, SDL_GETEVENT, SDL_EVENTMASK (SDL_MOUSEBUTTONDOWN)) > 0) {
if (!((event.button.button == 4 &&
inp->type == MOUSE_WHEEL_UP) ||

View file

@ -1,5 +1,5 @@
stead = {
version = "0.9.3",
version = "1.0.0",
table = table,
string = string,
math = math,