1. Git conversion.
2. A bit of rebranding. 3. Format module now understands LaTeX-style quotes << and >>. 4. Two automated tests - I'll use them for checking game installations.
|
@ -0,0 +1,6 @@
|
|||
*.o
|
||||
libz.a
|
||||
src/sdl-instead/sdl-instead
|
||||
desktop/instead.desktop
|
||||
Rules.make
|
||||
config.make
|
7
README
|
@ -1,4 +1,4 @@
|
|||
INSTEAD 1.4.6
|
||||
Steed 0.2
|
||||
=============
|
||||
|
||||
WARNING! For successfull building you must install these development packages (names may vary in your distribution):
|
||||
|
@ -70,3 +70,8 @@ If build process has failed check Rules.make.system and make changes if needed.
|
|||
$ sdl-instead
|
||||
|
||||
Enjoy.
|
||||
|
||||
Known problems
|
||||
==============
|
||||
- Does not clears up when Alt+Q _and_ game is unpacked [INSTEAD bug]
|
||||
- Free Software Foundation insists on placing GPL preamble in every file; this is not the case.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "graphics.h"
|
||||
#include "sound.h"
|
||||
|
||||
#define DEFAULT_THEME "default"
|
||||
#define DEFAULT_THEME "steed"
|
||||
#ifndef THEMES_PATH
|
||||
#define THEMES_PATH "./themes"
|
||||
#endif
|
||||
|
|
|
@ -36,6 +36,7 @@ stead.fmt = stead.hook(stead.fmt, function(f, ...)
|
|||
end
|
||||
if stead.call_bool(format, 'quotes') and utf8 then
|
||||
r = r:gsub('_"','«'):gsub('"_',"»");
|
||||
r = r:gsub('<<','«'):gsub('>>',"»");
|
||||
r = r:gsub('"([^"]*)"','«%1»');
|
||||
r = r:gsub(',,','„'):gsub("''",'”');
|
||||
end
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
cd ../games
|
||||
zip -r ../test.zip tutorial*
|
||||
cd ..
|
||||
./sdl-instead test.zip 2>tests/stderr-output.txt &
|
||||
sleep 0.6
|
||||
xdotool key --clearmodifiers alt+q
|
||||
rm -f test.zip
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
cd ../games
|
||||
zip -r ../test.zip tutorial*
|
||||
cd ..
|
||||
./sdl-instead -install test.zip 2>tests/stderr-output.txt &
|
||||
sleep 0.6
|
||||
xdotool key --clearmodifiers alt+q
|
||||
rm -f test.zip
|
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 288 B |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 684 B |
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1,76 @@
|
|||
; $Name: Standard$
|
||||
; $Name(ru): Стандартная$
|
||||
; $Name(ua): Стандартна$
|
||||
; $Name(es): Estándar$
|
||||
; $Name(it): Predefinito$
|
||||
|
||||
scr.w = 1280
|
||||
scr.h = 800
|
||||
scr.gfx.scalable = 1
|
||||
|
||||
scr.gfx.h = -1
|
||||
|
||||
scr.gfx.bg = background.png
|
||||
scr.col.bg = white
|
||||
scr.gfx.cursor.x = 2
|
||||
scr.gfx.cursor.y = 2
|
||||
scr.gfx.cursor.normal = cursor.png
|
||||
scr.gfx.cursor.use = cursor-use.png
|
||||
scr.gfx.pad = 16
|
||||
scr.gfx.mode = embedded
|
||||
|
||||
win.align = justify
|
||||
win.x = 60
|
||||
win.y = 10
|
||||
win.w = 1180
|
||||
win.h = 730
|
||||
|
||||
win.fnt.name = {sans,sans-b,sans-i,sans-bi}.ttf
|
||||
win.fnt.size = 16
|
||||
win.fnt.height = 1.0
|
||||
win.gfx.up = aup.png
|
||||
win.gfx.down = adown.png
|
||||
win.col.fg = black
|
||||
win.col.link = darkred
|
||||
win.col.alink = darkred
|
||||
win.up.x = -1
|
||||
win.up.y = -1
|
||||
win.down.x = -1
|
||||
win.down.y = -1
|
||||
|
||||
inv.x = 0
|
||||
inv.y = 0
|
||||
inv.w = 0
|
||||
inv.h = 0
|
||||
|
||||
inv.fnt.name = sans.ttf
|
||||
inv.fnt.size = 16
|
||||
inv.fnt.height = 1.0
|
||||
inv.gfx.up = aup.png
|
||||
inv.gfx.down = adown.png
|
||||
inv.col.fg = #CCCCCC
|
||||
inv.col.link = #CCCCCC
|
||||
inv.col.alink = goldenrod
|
||||
inv.mode = vertical-left
|
||||
inv.up.x = -1
|
||||
inv.up.y = -1
|
||||
inv.down.x = -1
|
||||
inv.down.y = -1
|
||||
|
||||
menu.col.bg = white
|
||||
menu.col.fg = black
|
||||
menu.col.link = blue
|
||||
menu.col.alink = red
|
||||
menu.col.alpha = 220
|
||||
menu.col.border = black
|
||||
menu.bw = 1
|
||||
menu.fnt.name = {sans,,sans-i}.ttf
|
||||
menu.fnt.size = 15
|
||||
menu.fnt.height = 1.0
|
||||
menu.gfx.button = menu.png
|
||||
menu.button.x = 1210
|
||||
menu.button.y = 740
|
||||
|
||||
|
||||
snd.click = click.wav ; click.ogg
|
||||
|
After Width: | Height: | Size: 1.5 KiB |