X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=babel%2Fglulx.c;fp=babel%2Fglulx.c;h=0000000000000000000000000000000000000000;hb=3c59ba5eef5cb4d39c06eb7f523b9c3b026bdc9b;hp=ea1b3c43f7f9c26fd0192a558000a6e05f0dcfec;hpb=ed91d840318ed6ebfe3a5a77fa17114ddbf56640;p=projects%2Fchimara%2Fchimara.git diff --git a/babel/glulx.c b/babel/glulx.c deleted file mode 100644 index ea1b3c4..0000000 --- a/babel/glulx.c +++ /dev/null @@ -1,81 +0,0 @@ -/* glulx.c Treaty of Babel module for Glulx files - * 2006 By L. Ross Raszewski - * - * This file depends on treaty_builder.h - * - * This file is public domain, but note that any changes to this file - * may render it noncompliant with the Treaty of Babel - */ - -#define FORMAT glulx -#define HOME_PAGE "http://eblong.com/zarf/glulx" -#define FORMAT_EXT ".ulx" -#define NO_METADATA -#define NO_COVER - -#include "treaty_builder.h" -#include -#include - -static int32 read_int(unsigned char *mem) -{ - int32 i4 = mem[0], - i3 = mem[1], - i2 = mem[2], - i1 = mem[3]; - return i1 | (i2<<8) | (i3<<16) | (i4<<24); -} - - - -static int32 get_story_file_IFID(void *story_file, int32 extent, char *output, int32 output_extent) -{ - int32 i,j, k; - char ser[7]; - char buffer[32]; - - - if (extent<256) return INVALID_STORY_FILE_RV; - for(i=0;i