Wrapped the SCI engine in the Sci namespace.

svn-id: r38676
This commit is contained in:
Oystein Eftevaag 2009-02-21 10:23:36 +00:00
parent 44ea796610
commit 25f7c37171
158 changed files with 592 additions and 14 deletions

View file

@ -29,6 +29,8 @@
#include "sci/include/engine.h"
#include "sci/engine/message.h"
namespace Sci {
#define CHECK_OVERFLOW1(pt, size, rv) \
if (((pt) - (str_base)) + (size) > maxsize) { \
error("String expansion exceeded heap boundaries\n"); \
@ -779,3 +781,5 @@ kMessage(state_t *s, int funct_nr, int argc, reg_t *argv) {
return NULL_REG;
}
} // End of namespace Sci