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=
|
||||
BIN=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.2
|
||||
VERSION := 1.2.0
|
||||
|
||||
PREFIX=/usr/local
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.2
|
||||
VERSION := 1.2.0
|
||||
|
||||
PREFIX=./
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.2
|
||||
VERSION := 1.2.0
|
||||
|
||||
PREFIX=
|
||||
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;
|
||||
* browse feature (win32 and gtk);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Version=1.2
|
||||
Version=1.2.0
|
||||
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.2</h2>
|
||||
<h2>INSTEAD 1.2.0</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.2" Instead GAMES
|
||||
.TH INSTEAD 6 "Version 1.2.0" Instead GAMES
|
||||
|
||||
.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):
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[Setup]
|
||||
AppName=INSTEAD
|
||||
AppVerName=INSTEAD 1.2
|
||||
AppVerName=INSTEAD 1.2.0
|
||||
DefaultDirName={pf}\Pinebrush games\INSTEAD
|
||||
DefaultGroupName=Pinebrush games
|
||||
UninstallDisplayIcon={app}\sdl-instead.exe
|
||||
OutputDir=.
|
||||
OutputBaseFilename=instead-1.2
|
||||
OutputBaseFilename=instead-1.2.0
|
||||
AllowNoIcons=true
|
||||
|
||||
[Languages]
|
||||
|
|
|
@ -349,7 +349,7 @@ static int luaB_is_sound(lua_State *L) {
|
|||
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)));
|
||||
return 1;
|
||||
}
|
||||
|
@ -406,7 +406,7 @@ static const luaL_Reg base_funcs[] = {
|
|||
{"doencfile", luaB_doencfile},
|
||||
{"print", luaB_print}, /* for some mystic, it is needed in win version (with -debug) */
|
||||
{"is_sound", luaB_is_sound},
|
||||
{"savespath", luaB_savespath},
|
||||
{"savespath", luaB_get_savepath},
|
||||
{"set_timer", luaB_set_timer},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
|
|
@ -128,7 +128,7 @@ char *open_file_dialog(void)
|
|||
while ((input(&ev, 0)) == AGAIN);
|
||||
}
|
||||
while ((input(&ev, 0)) == AGAIN);
|
||||
nsleep(100);
|
||||
nsleep(HZ*100);
|
||||
}
|
||||
if (gtk_response == GTK_RESPONSE_ACCEPT) {
|
||||
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_dialog));
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
stead = {
|
||||
version = "1.2",
|
||||
version = "1.2.0",
|
||||
table = table,
|
||||
string = string,
|
||||
math = math,
|
||||
|
|
Loading…
Reference in a new issue