Skip to content

Commit

Permalink
fixed color support
Browse files Browse the repository at this point in the history
dummy implementation of color support, resolves #6 and #7
  • Loading branch information
mad4j committed Sep 28, 2014
1 parent 1f68c3c commit 7fc8e88
Show file tree
Hide file tree
Showing 68 changed files with 1,612 additions and 135 deletions.
18 changes: 0 additions & 18 deletions bin/firework.js

This file was deleted.

18 changes: 0 additions & 18 deletions bin/newdemo.js

This file was deleted.

22 changes: 0 additions & 22 deletions bin/ptest.js

This file was deleted.

18 changes: 0 additions & 18 deletions bin/worm.js

This file was deleted.

18 changes: 0 additions & 18 deletions bin/xmas.js

This file was deleted.

23 changes: 14 additions & 9 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ ECHO Removing folders
RD /Q /S out\
MD out\

RD /Q /S lib\
MD lib\
RD /Q /S dist\
MD dist\

RD /Q /S bin\
MD bin\
RD /Q /S demos\
MD demos\

ECHO Copy BMP files in bin\
COPY *.bmp bin\
ECHO Copy BMP files in demos\ folder
COPY *.bmp demos\

ECHO Copy files in dist\ folder
COPY *.bmp dist\
COPY pdcurses34\curses.h dist\
COPY pdcurses34\term.h dist\

ECHO.
ECHO BUILDING pdcurses\
Expand All @@ -41,16 +46,16 @@ FOR /R %%I IN (pdcurses34\sdl1\*.c) DO (
ECHO.
ECHO Building library using...
ECHO %PDCURSES_BINARIES%
CMD /C emcc -O2 %PDCURSES_BINARIES% -o lib\libcurses.o
CMD /C emcc -O2 %PDCURSES_BINARIES% -o dist\libcurses.o

ECHO.
ECHO BUILDING demos\
ECHO ---------------
FOR /R %%I IN (pdcurses34\demos\*.c) DO (
ECHO Building %%~nI%%~xI
CMD /C emcc -O2 pdcurses34\demos\%%~nI%%~xI -o out\%%~nI.bc -I pdcurses34\ -I pdcurses34\pdcurses\ -I pdcurses34\sdl1\ -I pdcurses34\demos\
CD bin/
CMD /C emcc -s ASYNCIFY=1 --emrun -O2 ..\lib\libcurses.o ..\out\%%~nI.bc -o %%~nI.html --preload-file pdcfont.bmp --preload-file pdcicon.bmp
CD demos/
CMD /C emcc -s ASYNCIFY=1 --emrun -O2 ..\dist\libcurses.o ..\out\%%~nI.bc -o %%~nI.html --preload-file pdcfont.bmp --preload-file pdcicon.bmp
CD ..
)

Expand Down
File renamed without changes.
File renamed without changes.
Binary file renamed bin/firework.html.mem → demos/firework.html.mem
Binary file not shown.
18 changes: 18 additions & 0 deletions demos/firework.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/nccolour.html.mem → demos/nccolour.html.mem
Binary file not shown.
10 changes: 5 additions & 5 deletions bin/nccolour.js → demos/nccolour.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/newdemo.html.mem → demos/newdemo.html.mem
Binary file not shown.
18 changes: 18 additions & 0 deletions demos/newdemo.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file renamed bin/ptest.html.mem → demos/ptest.html.mem
Binary file not shown.
22 changes: 22 additions & 0 deletions demos/ptest.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/rain.html.mem → demos/rain.html.mem
Binary file not shown.
10 changes: 5 additions & 5 deletions bin/rain.js → demos/rain.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/sdltest.html.mem → demos/sdltest.html.mem
Binary file not shown.
10 changes: 5 additions & 5 deletions bin/sdltest.js → demos/sdltest.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/testcurs.html.mem → demos/testcurs.html.mem
Binary file not shown.
12 changes: 6 additions & 6 deletions bin/testcurs.js → demos/testcurs.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/tui.js → demos/tui.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/tuidemo.html.mem → demos/tuidemo.html.mem
Binary file not shown.
10 changes: 5 additions & 5 deletions bin/tuidemo.js → demos/tuidemo.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/worm.html.mem → demos/worm.html.mem
Binary file not shown.
18 changes: 18 additions & 0 deletions demos/worm.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Binary file renamed bin/xmas.html.mem → demos/xmas.html.mem
Binary file not shown.
18 changes: 18 additions & 0 deletions demos/xmas.js

Large diffs are not rendered by default.

Loading

0 comments on commit 7fc8e88

Please sign in to comment.