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= DESTDIR=
BIN= BIN=

View file

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

View file

@ -1,4 +1,4 @@
VERSION := \"0.9.3\" VERSION := \"1.0.0\"
PREFIX= PREFIX=
DESTDIR= 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 instead (0.9.3) unstable; urgency=low
* have and seen fixes * have and seen fixes

View file

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

View file

@ -4,7 +4,7 @@
</head><body brgcolor="#d6e7c9" bgcolor="#ffffff"> </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> <center>[ <a href="#info">What is it?</a> ] [ <a href="#screenshots">Screenshots</a> ] [ <a href="#download"> Download </a> ]</center>
<hr> <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> <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> <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> <ul>

View file

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

View file

@ -2072,7 +2072,10 @@ int game_loop(void)
if (game_click(x, y, 1) == -1) if (game_click(x, y, 1) == -1)
break; break;
} else if (!is_key(&ev, "escape")) { } else if (!is_key(&ev, "escape")) {
menu_toggle(); if (use_xref)
disable_use();
else
menu_toggle();
} else if (!is_key(&ev, "tab")) { } else if (!is_key(&ev, "tab")) {
select_frame(shift_pressed); select_frame(shift_pressed);
} /*else if (!is_key(&ev, "home") || !is_key(&ev, "[7]")) { } /*else if (!is_key(&ev, "home") || !is_key(&ev, "[7]")) {
@ -2124,10 +2127,14 @@ int game_loop(void)
game_menu(old_menu); game_menu(old_menu);
} }
} else if (ev.type == MOUSE_DOWN) { } else if (ev.type == MOUSE_DOWN) {
game_highlight(-1, -1, 0); if (ev.code != 1)
game_click(ev.x, ev.y, 0); disable_use();
x = ev.x; else {
y = ev.y; game_highlight(-1, -1, 0);
game_click(ev.x, ev.y, 0);
x = ev.x;
y = ev.y;
}
} else if (ev.type == MOUSE_UP) { } else if (ev.type == MOUSE_UP) {
game_highlight(-1, -1, 0); game_highlight(-1, -1, 0);
if (game_click(ev.x, ev.y, 1) == -1) 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->type = MOUSE_UP;
inp->x = event.button.x; inp->x = event.button.x;
inp->y = event.button.y; inp->y = event.button.y;
inp->code = event.button.button;
if (event.button.button == 4) if (event.button.button == 4)
inp->type = 0; inp->type = 0;
else if (event.button.button == 5) else if (event.button.button == 5)
inp->type = 0; inp->type = 0;
break; break;
case SDL_MOUSEBUTTONDOWN: case SDL_MOUSEBUTTONDOWN:
inp->type = MOUSE_DOWN; inp->type = MOUSE_DOWN;
inp->x = event.button.x; inp->x = event.button.x;
inp->y = event.button.y; inp->y = event.button.y;
inp->code = event.button.button;
if (event.button.button == 4) if (event.button.button == 4)
inp->type = MOUSE_WHEEL_UP; inp->type = MOUSE_WHEEL_UP;
else if (event.button.button == 5) else if (event.button.button == 5)
inp->type = MOUSE_WHEEL_DOWN; inp->type = MOUSE_WHEEL_DOWN;
while (SDL_PeepEvents(&peek, 1, SDL_GETEVENT, SDL_EVENTMASK (SDL_MOUSEBUTTONDOWN)) > 0) { while (SDL_PeepEvents(&peek, 1, SDL_GETEVENT, SDL_EVENTMASK (SDL_MOUSEBUTTONDOWN)) > 0) {
if (!((event.button.button == 4 && if (!((event.button.button == 4 &&
inp->type == MOUSE_WHEEL_UP) || inp->type == MOUSE_WHEEL_UP) ||

View file

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