Skip to content

Commit 569011c

Browse files
author
Peter Kosyh
committed
own tiny.lua
1 parent 7a76fb1 commit 569011c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ install: all
3636

3737
$(INSTALL) instead/src/tiny/tiny2.lua $(DESTDIR)/$(STEADPATH)/stead2/
3838
$(INSTALL) instead/src/tiny/tiny3.lua $(DESTDIR)/$(STEADPATH)/stead3/
39-
$(INSTALL) instead/src/tiny/tiny.lua $(DESTDIR)/$(STEADPATH)/
39+
$(INSTALL) tiny.lua $(DESTDIR)/$(STEADPATH)/

tiny.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-- some stubs for tiny-instead
2+
-- fake game.gui
3+
-- stat, menu
4+
-- fake audio
5+
-- fake input
6+
7+
if API == 'stead3' then
8+
require 'tiny3'
9+
return
10+
end
11+
12+
require 'tiny2'

0 commit comments

Comments
 (0)