diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-21 18:05:06 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-21 18:05:06 +0000 |
| commit | 9acb3e5e713d1ab6b2312aa4cdc7946f85f875d0 (patch) | |
| tree | 93189cbe6fc70c2ca1b5e374a2114156d55e371a /src/game/client/components/skins.cpp | |
| parent | 142b5ad5143ddcfc9d7fee2563bee753a968f011 (diff) | |
| download | zcatch-9acb3e5e713d1ab6b2312aa4cdc7946f85f875d0.tar.gz zcatch-9acb3e5e713d1ab6b2312aa4cdc7946f85f875d0.zip | |
continued on ban support. cleaned up settings a bit. reworked the datadir autodetection. introduced engine_openfile, engine_getpath and engine_listdir. never use fs_listdir or io_open directly
Diffstat (limited to 'src/game/client/components/skins.cpp')
| -rw-r--r-- | src/game/client/components/skins.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/client/components/skins.cpp b/src/game/client/components/skins.cpp index b12bc1cf..0ce3d952 100644 --- a/src/game/client/components/skins.cpp +++ b/src/game/client/components/skins.cpp @@ -7,6 +7,12 @@ #include <base/math.hpp> #include <engine/e_client_interface.h> + +extern "C" +{ + #include <engine/e_engine.h> +} + #include "skins.hpp" SKINS::SKINS() @@ -119,7 +125,7 @@ void SKINS::init() { // load skins num_skins = 0; - fs_listdir("skins", skinscan, this); + engine_listdir("skins", skinscan, this); } int SKINS::num() |