X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=babel%2Fhugo.c;fp=babel%2Fhugo.c;h=0000000000000000000000000000000000000000;hb=3c59ba5eef5cb4d39c06eb7f523b9c3b026bdc9b;hp=42ad4f3a70d6e9c68f936cd385267b7f5f492062;hpb=ed91d840318ed6ebfe3a5a77fa17114ddbf56640;p=projects%2Fchimara%2Fchimara.git diff --git a/babel/hugo.c b/babel/hugo.c deleted file mode 100644 index 42ad4f3..0000000 --- a/babel/hugo.c +++ /dev/null @@ -1,79 +0,0 @@ -/* hugo.c Treaty of Babel module for hugo 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 hugo -#define HOME_PAGE "http://www.generalcoffee.com" -#define FORMAT_EXT ".hex" -#define NO_METADATA -#define NO_COVER - -#include "treaty_builder.h" -#include -#include - -static int32 get_story_file_IFID(void *s_file, int32 extent, char *output, int32 output_extent) -{ - - int32 i,j; - char ser[9]; - char buffer[32]; - char *story_file = (char *) s_file; - - - if (extent<0x0B) return INVALID_STORY_FILE_RV; - - for(i=0;i0x7e) return INVALID_STORY_FILE_RV; - for(i=0x0b;i<0x18;i+=2) - if (read_hugo_addx(sf+i) * scale > extent) return INVALID_STORY_FILE_RV; - - return VALID_STORY_FILE_RV; -}