]> git.pond.sub.org Git - empserver/commit
Move selector code from src/lib/global to src/lib/common
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 6 Sep 2008 17:56:08 +0000 (13:56 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 9 Sep 2008 01:30:36 +0000 (21:30 -0400)
commit011274515c545bc3f728078fe85795f783827378
tree7015e2518a60f5622ddac6be4ad64136f69c7a57
parent136132773b88f2ed776d33a17a4e8565fbdbc1f1
Move selector code from src/lib/global to src/lib/common

Future virtual selectors will need to access game state.  This depends
on common/file.c, which can't be used from global without creating a
cyclic dependency between libglobal.a and libcommon.a.

Move nsc.c to src/lib/common.  file.c depends on it, so move it as
well, renamed to filetable.c so it doesn't clash with the existing
file.c.
src/lib/common/filetable.c [new file with mode: 0644]
src/lib/common/nsc.c [new file with mode: 0644]
src/lib/global/file.c [deleted file]
src/lib/global/nsc.c [deleted file]