Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
push commit from localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
GeneralGuy4872 committed Sep 20, 2019
1 parent 6a6a60f commit 2f1c213
Show file tree
Hide file tree
Showing 7 changed files with 432 additions and 141 deletions.
86 changes: 57 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,64 @@ Iwannafly
=========
*roguelike game with plugin interface written in C useing minimal propagating dependencies*

Prerequisits
------------
Dependencies:
(listed by file to be distro-independent)

Build Deps:
- <CODE>sh</CODE>
- <CODE>cc</CODE>
- <CODE>ld</CODE>
- <CODE>awk</CODE> maybe?
- <CODE>flex</CODE>
- <CODE>byacc</CODE>
- <CODE>make</CODE>

Depends (libraries by header):
- <CODE>\<stdlib.h\></CODE>
- <CODE>\<stdio.h\></CODE>
- <CODE>\<stdbool.h\></CODE>
- <CODE>\<stdint.h\></CODE>
- <CODE>\<math.h\></CODE>
- <CODE>\<limits.h\></CODE>
- <CODE>\<time.h\></CODE>
- <CODE>\<string.h\></CODE>
- <CODE>\<ctype.h\></CODE>
- <CODE>\<uchar.h\></CODE>
- <CODE>\<dlfcn.h\></CODE>
- <CODE>\<unistd.h\></CODE>
- <CODE>\<signal.h\></CODE>
- <CODE>\<locale.h\></CODE>
- <CODE>\<regex.h\></CODE>
- <CODE>\<glob.h\></CODE>
- <CODE>\<sys/types.h\></CODE>
- <CODE>\<sys/ioctl.h\></CODE>
- <CODE>\<fcntl.h\></CODE>
- <CODE>\<sys/stat.h\></CODE>
- <CODE>\<libtar.h\></CODE>
- <CODE>\<zlib.h\></CODE>
- <CODE>\<libbz2.h\></CODE>
- <CODE>\<ncursesw/ncurses.h\></CODE>
- <CODE>\<menu.h\></CODE>
- <CODE>\<forms.h\></CODE>

Recommends:
- <CODE>xterm</CODE>, unicode, color
- <CODE>/usr/share/fonts/X11/misc/6x13.*</CODE>
aka <CODE>-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1</CODE>

Dev Suggests:
- <CODE>m4</CODE>
- <CODE>gpp</CODE>
- <CODE>awk</CODE>
- <CODE>emacs</CODE> || <CODE>vim</CODE>

Doc Depends:
- <CODE>man</CODE>

Libraries:
- <CODE>stdlib.h</CODE>
- <CODE>stdio.h</CODE>
- <CODE>stdbool.h</CODE>
- <CODE>stdint.h</CODE>
- <CODE>math.h</CODE>
- <CODE>limits.h</CODE>
- <CODE>time.h</CODE>
- <CODE>string.h</CODE>
- <CODE>ctype.h</CODE>
- <CODE>uchar.h</CODE>
- <CODE>dlfcn.h</CODE>
- <CODE>unistd.h</CODE>
- <CODE>signal.h</CODE>
- <CODE>locale.h</CODE>
- <CODE>regex.h</CODE>
- <CODE>glob.h</CODE>
- <CODE>sys/types.h</CODE>
- <CODE>sys/ioctl.h</CODE>
- <CODE>fcntl.h</CODE>
- <CODE>sys/stat.h</CODE>
- <CODE>libtar.h</CODE>
- <CODE>zlib.h</CODE>
- <CODE>libbz2.h</CODE>
- <CODE>ncursesw/ncurses.h</CODE>
- <CODE>menu.h</CODE>
- <CODE>forms.h</CODE>
Doc Recommends:
- some browser foo
- some texinfo foo
- <CODE>xdvi</CODE>

Obfuscated C
------------
Expand Down
206 changes: 206 additions & 0 deletions src/dependencies.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
;dependencies that are implicitly fufilled by inheritance are not shown
;cross-calling of source is marked with depends
;calling of shared libraries is marked extern
;#include is marked includes or from
;incompatible headers are marked conflicts

[main.h]
from=main.c
conflicts=dummy.h

[main.c]
output=libiwannafly_ncurses.xso
includes=main.h
includes=util.c
includes=greedy.c
includes=mapgen.c
includes=version_extensionlang.h
includes=version_runcommander.h
includes=version_midibasic.h

[util.c]
from=main.c
depends=main.h

[dummy.h]
from=game_default.h
conflicts=main.h

[astar.c]
from=greedy.c

[dijkstra.c]
from=greedy.c

[greedy.h]
from=greedy.c
depends=main.h

[greedy.c]
from=main.c
depends=util.c
includes=greedy.h
includes=ai.c
includes=dijkstra.c
includes=astar.c

[mapgen.h]
from=mapgen.c
depends=main.h
depends=greedy.h

[mapgen.c]
from=main.h
depends=util.c
includes=mapgen.h
depends=greedy.c

[ai.c]
from=greedy.c

[extensionlang.lex]
from=extensionlang.c
from=extensionlang_wrapper.c

[extensionlang.y]
from=extensionlang.c
from=extensionlang_wrapper.c

[extensionlang.h]
from=extensionlang.c
from=extensionlang_wrapper.c
conflicts=dummy_extensionlang.h
conflicts=version_extensionlang.h

[extensionlang_wrapper.c]
output=libiwannafly_ncurses_extensionlangi.so
includes=extensionlang.lex
includes=extensionlang.y
includes=extensionlang.h

[extensionlang.c]
output=libiwannafly_ncurses_extensionlangc.o
includes=extensionlang.lex
includes=extensionlang.y
includes=extensionlang.h

[dummy_extensionlang.h]
from=game_default_exec.c
from=game_default_new.c
from=game_default_editor.c
conflicts=extensionlang.h
conflicts=version_extensionlang.h

[version_extensionlang.h]
conflicts=extensionlang.h
conflicts=dummy_extensionlang.h

[runcommander.lex]
from=runcommander.c

[runcommander.y]
from=runcommander.c

[runcommander.h]
from=runcommander.c
conflicts=dummy_runcommander.h
conflicts=version_runcommander.h

[runcommander.c]
output=libiwannafly_ncurses_runcommander.so
includes=runcommander.lex
includes=runcommander.y
includes=runcommander.h

[dummy_runcommander.h]
conflicts=runcommander.h
conflicts=version_runcommander.h

[version_runcommander.h]
conflicts=runcommander.h
conflicts=dummy_runcommander.h

[midibasic.lex]

[midibasic.y]

[midibasic.h]
conflicts=version_midibasic.h

[midibasic.c]
output=libiwannafly_midibasic.o
includes=midibasic.lex
includes=midibasic.y
includes=midibasic.h

[version_midibasic.h]
conflicts=midibasic.h

[game_default.c]
includes=game_default.h
extern=libiwannafly_ncurses.so

[game_default.h]
includes=dummy.h

[game_default_exec.c]
output=iwannafly_ncurses_default.o
includes=game_default.c
includes=dummy_extensionlang.h
extern=iwannafly_ncurses_extensionlangi.so

[game_default_new.c]
output=iwannafly_ncurses_default_newgame.o
includes=game_default.c
includes=dummy_runcommander.h
extern=libiwannafly_ncurses_runcommander.so
includes=dummy_extensionlang.h
extern=iwannafly_ncurses_extensionlangi.so

[game_default_editor.c]
output=iwannafly_ncurses_default_editor.o
includes=game_default.c
includes=dummy_extensionlang.h
extern=iwannafly_ncurses_extensionlangi.so



[libiwannafly_ncurses.so]
src=main.c
ld=T
x=NIL

[libiwannafly_ncurses_runcommander.so]
src=runcommander.c
ld=T
x=NIL

[libiwannafly_ncurses_extensionlangi.so]
src=extensionlang_wrapper.c
ld=T
x=NIL

[libiwannafly_ncurses_extensionlangc.o]
src=extensionlang.c
ld=NIL
x=T

[libiwannafly_midibasic.o]
src=midibasic.c
ld=NIL
x=T

[iwannafly_ncurses_default.o]
src=game_default_exec.c
ld=NIL
x=T

[iwannafly_ncurses_default_newgame.o]
src=game_default_new.c
ld=NIL
x=T

[iwannafly_ncurses_default_editor.o]
src=game_default_editor.c
ld=NIL
x=T
1 change: 1 addition & 0 deletions src/game_default_header.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const char* GAMEDIR = "default/"
Loading

1 comment on commit 2f1c213

@GeneralGuy4872
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

COMMIT KANBAN/CONWIP WRITEUP

Uncovers #50 - #51
Progress twords #8 #29 #33 #38 #44 #46 #50 #51
Busywork

Please sign in to comment.