1.2.0, savespath and SDL vs gtk hack
This commit is contained in:
parent
67d1e12433
commit
029f951efa
|
@ -1,4 +1,4 @@
|
||||||
VERSION := 1.2
|
VERSION := 1.2.0
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
BIN=
|
BIN=
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
VERSION := 1.2
|
VERSION := 1.2.0
|
||||||
|
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
VERSION := 1.2
|
VERSION := 1.2.0
|
||||||
|
|
||||||
PREFIX=./
|
PREFIX=./
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
VERSION := 1.2
|
VERSION := 1.2.0
|
||||||
|
|
||||||
PREFIX=
|
PREFIX=
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,4 +1,4 @@
|
||||||
instead (1.2) unstable; urgency=low
|
instead (1.2.0) unstable; urgency=low
|
||||||
|
|
||||||
* unpack/install feature;
|
* unpack/install feature;
|
||||||
* browse feature (win32 and gtk);
|
* browse feature (win32 and gtk);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Version=1.2
|
Version=1.2.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=INSTEAD
|
Name=INSTEAD
|
||||||
Name[ru]=INSTEAD
|
Name[ru]=INSTEAD
|
||||||
|
|
|
@ -13,7 +13,7 @@ body { font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
</style>
|
</style>
|
||||||
<title>INSTEAD -- interpreter of simple text adventures for Unix and Windows</title>
|
<title>INSTEAD -- interpreter of simple text adventures for Unix and Windows</title>
|
||||||
</head><body bgcolor="#f0f0f0">
|
</head><body bgcolor="#f0f0f0">
|
||||||
<h2>INSTEAD 1.2</h2>
|
<h2>INSTEAD 1.2.0</h2>
|
||||||
<p>INSTEAD -- interpreter of simple text adventures for Unix and Windows.<br>
|
<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>
|
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.2" Instead GAMES
|
.TH INSTEAD 6 "Version 1.2.0" Instead GAMES
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
INSTEAD 1.2
|
INSTEAD 1.2.0
|
||||||
===========
|
=============
|
||||||
|
|
||||||
WARNING! For successfull building you must install these development packages (names may vary in your distribution):
|
WARNING! For successfull building you must install these development packages (names may vary in your distribution):
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
[Setup]
|
[Setup]
|
||||||
AppName=INSTEAD
|
AppName=INSTEAD
|
||||||
AppVerName=INSTEAD 1.2
|
AppVerName=INSTEAD 1.2.0
|
||||||
DefaultDirName={pf}\Pinebrush games\INSTEAD
|
DefaultDirName={pf}\Pinebrush games\INSTEAD
|
||||||
DefaultGroupName=Pinebrush games
|
DefaultGroupName=Pinebrush games
|
||||||
UninstallDisplayIcon={app}\sdl-instead.exe
|
UninstallDisplayIcon={app}\sdl-instead.exe
|
||||||
OutputDir=.
|
OutputDir=.
|
||||||
OutputBaseFilename=instead-1.2
|
OutputBaseFilename=instead-1.2.0
|
||||||
AllowNoIcons=true
|
AllowNoIcons=true
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
|
|
|
@ -349,7 +349,7 @@ static int luaB_is_sound(lua_State *L) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int luaB_savespath(lua_State *L) {
|
static int luaB_get_savepath(lua_State *L) {
|
||||||
lua_pushstring(L, dirname(game_save_path(0, 0)));
|
lua_pushstring(L, dirname(game_save_path(0, 0)));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -406,7 +406,7 @@ static const luaL_Reg base_funcs[] = {
|
||||||
{"doencfile", luaB_doencfile},
|
{"doencfile", luaB_doencfile},
|
||||||
{"print", luaB_print}, /* for some mystic, it is needed in win version (with -debug) */
|
{"print", luaB_print}, /* for some mystic, it is needed in win version (with -debug) */
|
||||||
{"is_sound", luaB_is_sound},
|
{"is_sound", luaB_is_sound},
|
||||||
{"savespath", luaB_savespath},
|
{"savespath", luaB_get_savepath},
|
||||||
{"set_timer", luaB_set_timer},
|
{"set_timer", luaB_set_timer},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
|
@ -128,7 +128,7 @@ char *open_file_dialog(void)
|
||||||
while ((input(&ev, 0)) == AGAIN);
|
while ((input(&ev, 0)) == AGAIN);
|
||||||
}
|
}
|
||||||
while ((input(&ev, 0)) == AGAIN);
|
while ((input(&ev, 0)) == AGAIN);
|
||||||
nsleep(100);
|
nsleep(HZ*100);
|
||||||
}
|
}
|
||||||
if (gtk_response == GTK_RESPONSE_ACCEPT) {
|
if (gtk_response == GTK_RESPONSE_ACCEPT) {
|
||||||
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_dialog));
|
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_dialog));
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
stead = {
|
stead = {
|
||||||
version = "1.2",
|
version = "1.2.0",
|
||||||
table = table,
|
table = table,
|
||||||
string = string,
|
string = string,
|
||||||
math = math,
|
math = math,
|
||||||
|
|
Loading…
Reference in a new issue