0ad/source/lib/res/res.h
janwas 871cdb6ef9 # SwEng (reduce full recompiles by splitting up master error header)
- error codes now accessed as ERR::NO_MEM, INFO::OK etc.
- no more X-macros => the above are now recognized by visual assist
- error codes are defined by the module originating them (lib_errors has
some generic ones)
  => no full rebuild when adding some
- error descriptions are now in C++ files => can be changed without full
rebuild

added AT_STARTUP in lib.h.

This was SVN commit r4374.
2006-09-22 13:19:40 +00:00

19 lines
328 B
C++

#ifndef INCLUDED_RES
#define INCLUDED_RES
// common headers needed by lib/res code
#include "h_mgr.h"
#include "lib/res/file/vfs.h"
#include "lib/path_util.h"
#include "mem.h"
namespace ERR
{
const LibError RES_UNKNOWN_FORMAT = -120000;
const LibError RES_INCOMPLETE_HEADER = -120001;
}
#endif // #ifndef INCLUDED_RES