This commit is contained in:
p.kosyh 2009-10-26 15:00:11 +00:00
parent 4c899b89cf
commit 294a447a9e
3 changed files with 13 additions and 5 deletions

View file

@ -16,8 +16,8 @@ LUA_LFLAGS=$(shell pkg-config --libs lua5.1)
# for arch linux, fedora (may be others) use this
#
LUA_CFLAGS=$(shell pkg-config --cflags lua)
LUA_LFLAGS=$(shell pkg-config --libs lua)
# LUA_CFLAGS=$(shell pkg-config --cflags lua)
# LUA_LFLAGS=$(shell pkg-config --libs lua)
#
SDL_CFLAGS=$(shell sdl-config --cflags)

1
debian/changelog vendored
View file

@ -7,6 +7,7 @@ instead (0.9.3) unstable; urgency=low
* new()/delete() (allocator object)
* game:ini() fix
* theme scaling (yahoo!!!)
* scene_use attribute (scene objects using on each other)
-- Peter Kosyh <p.kosyh@gmail.com> Mon, 12 Oct 2009 11:09:19 +0400

View file

@ -72,30 +72,37 @@ function cat(v,...)
end
function img(v)
if type(v) ~= 'string' then return nil; end;
return iface:img(v);
end
function txtem(v)
if type(v) ~= 'string' then return nil; end;
return iface:em(v)
end
function txtr(v)
if type(v) ~= 'string' then return nil; end;
return iface:right(v)
end
function txtl(v)
if type(v) ~= 'string' then return nil; end;
return iface:left(v)
end
function txtc(v)
if type(v) ~= 'string' then return nil; end;
return iface:center(v)
end
function txtb(v)
if type(v) ~= 'string' then return nil; end;
return iface:bold(v)
end
function txtu(v)
if type(v) ~= 'string' then return nil; end;
return iface:under(v)
end
@ -1574,7 +1581,6 @@ iface = {
end
ACTION_TEXT = r; -- here, life methods can redefine this
if st and v ~= false then
local av, pv -- av -- active lifes, pv -- background
pv,av = game:step();
@ -1584,8 +1590,8 @@ iface = {
if isForcedsc(here()) then
l,v = me():look();
end
ACTION_TEXT = iface:em(ACTION_TEXT);
vv = par("^^",iface:em(av), here():look(), iface:em(vv));
ACTION_TEXT = txtem(ACTION_TEXT);
vv = par("^^",txtem(av), here():look(), txtem(vv));
else
vv = par("^^",av, here():look(), vv);
end
@ -1670,6 +1676,7 @@ function ways(w)
end
function xref(str, obj)
if type(str) ~= 'string' then return nil; end;
return iface:xref(str, obj);
end