Changeset 56
- Timestamp:
- Mar 2, 2008, 3:03:36 PM (14 years ago)
- Location:
- abuse/trunk/src
- Files:
-
- 290 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/ability.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "ability.hpp" 2 13 #include "chars.hpp" -
abuse/trunk/src/ant.cpp
r16 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <ctype.h> 13 1 14 #include "ant.hpp" 2 15 #include "lisp.hpp" … … 9 22 #include "clisp.hpp" 10 23 #include "dev.hpp" 11 #include <ctype.h>12 24 13 25 enum { ANT_need_to_dodge, // ant vars -
abuse/trunk/src/automap.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "automap.hpp" 2 13 #include "game.hpp" -
abuse/trunk/src/cache.cpp
r41 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #include "config.h" 2 11 3 12 #if (defined(__MACH__) || !defined(__APPLE__)) 4 # include <sys/stat.h>13 # include <sys/stat.h> 5 14 #endif 6 15 -
abuse/trunk/src/calctrig.cpp
r43 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <math.h> 2 13 -
abuse/trunk/src/chars.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "chars.hpp" 2 13 #include "game.hpp" -
abuse/trunk/src/chat.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "chat.hpp" 2 13 #include "dev.hpp" -
abuse/trunk/src/chmorph.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "chmorph.hpp" 2 13 -
abuse/trunk/src/client.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "client.hpp" 2 13 #include "server2.hpp" … … 8 19 #include "nfserver.hpp" 9 20 10 11 12 -
abuse/trunk/src/clisp.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "ant.hpp" 2 13 #include "lisp.hpp" -
abuse/trunk/src/collide.cpp
r16 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "level.hpp" 2 13 #include "intsect.hpp" -
abuse/trunk/src/compiled.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <string.h> 13 1 14 #include "lisp.hpp" 2 15 #include "macs.hpp" 3 16 #include "jmalloc.hpp" 4 #include <string.h>5 17 6 18 extern int total_objects; -
abuse/trunk/src/config.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <ctype.h> 13 1 14 #include "keys.hpp" 2 15 #include "lisp.hpp" 3 #include <ctype.h>4 16 #include "joy.hpp" 5 17 #include "jwindow.hpp" -
abuse/trunk/src/console.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <ctype.h> 13 #include <stdarg.h> 14 1 15 #include "linked.hpp" 2 16 #include "console.hpp" 3 17 #include "jmalloc.hpp" 4 #include <ctype.h>5 #include <stdarg.h>6 18 7 19 extern window_manager *eh; -
abuse/trunk/src/control.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "game.hpp" 2 13 #include "control.hpp" -
abuse/trunk/src/cop.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "lisp.hpp" 2 13 #include "lisp_gc.hpp" -
abuse/trunk/src/crc.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "crc.hpp" 2 13 -
abuse/trunk/src/demo.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "demo.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/dev.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <ctype.h> 2 13 -
abuse/trunk/src/devsel.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "devsel.hpp" 2 13 #include "scroller.hpp" -
abuse/trunk/src/director.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "director.hpp" 2 13 #include "game.hpp" -
abuse/trunk/src/dosnfc.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 1 9 10 #include "config.h" 2 11 3 12 void hi() { ; } -
abuse/trunk/src/endgame.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 1 14 #include "menu.hpp" 2 15 #include "lisp.hpp" … … 13 26 #include "jrand.hpp" 14 27 #include "director.hpp" 15 #include <math.h>16 28 #include "lisp_gc.hpp" 17 29 -
abuse/trunk/src/extend.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include "extend.hpp" 13 #include "view.hpp" 14 #include "objects.hpp" 15 #include "lisp.hpp" 16 1 17 /* 2 18 … … 31 47 32 48 */ 33 #include "extend.hpp"34 #include "view.hpp"35 #include "objects.hpp"36 #include "lisp.hpp"37 38 49 39 50 void simple_object::add_light(light_source *ls) -
abuse/trunk/src/fnt6x13.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 /* File produced by Satan Paint (c) 1994 Jonathan Clark */ 2 11 -
abuse/trunk/src/game.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 //#ifdef __POWERPC__ 13 //#include <profiler.h> //prof 14 //#endif 15 16 #include <ctype.h> 17 #include <setjmp.h> 18 19 #ifdef __APPLE__ 20 // SDL for OSX needs to override main() 21 # include <SDL.h> 22 #endif 23 1 24 #include "game.hpp" 2 25 #include "dev.hpp" … … 34 57 #include "demo.hpp" 35 58 #include "netcfg.hpp" 36 37 //#ifdef __POWERPC__38 //#include <profiler.h> //prof39 //#endif40 41 #include <ctype.h>42 #include <setjmp.h>43 44 #ifdef __APPLE__45 // SDL for OSX needs to override main()46 #include <SDL.h>47 #endif48 59 49 60 #define SHIFT_RIGHT_DEFAULT 0 -
abuse/trunk/src/gamma.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <math.h> 2 13 -
abuse/trunk/src/go.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "go.hpp" 2 13 #include "level.hpp" -
abuse/trunk/src/gui.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "cache.hpp" 2 13 #include "gui.hpp" -
abuse/trunk/src/help.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "help.hpp" 2 13 #include "game.hpp" -
abuse/trunk/src/human.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "human.hpp" 2 13 #include "game.hpp" -
abuse/trunk/src/imlib/convert.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdio.h> 13 1 14 /* Jonathan Clark April 5, 93 Converts Unix file for to DOS & vice versa. */ 2 #include <stdio.h>3 15 4 16 #define STReq(x,y) (!strcmp(x,y)) -
abuse/trunk/src/imlib/dprint.cpp
r4 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <stdlib.h> 2 13 #include <stdarg.h> 3 14 #include <stdio.h> 15 4 16 #include "macs.hpp" 5 17 -
abuse/trunk/src/imlib/filesel.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #ifdef __WATCOMC__ 13 # include <direct.h> 14 #endif 15 1 16 #include "filesel.hpp" 2 17 #include "input.hpp" 3 18 #include "scroller.hpp" 4 19 #include "jdir.hpp" 5 6 #ifdef __WATCOMC__7 #include <direct.h>8 #endif9 20 10 21 class file_picker : public spicker -
abuse/trunk/src/imlib/filter.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "image.hpp" 2 13 #include "macs.hpp" -
abuse/trunk/src/imlib/fonts.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <ctype.h> 13 1 14 #include "fonts.hpp" 2 #include <ctype.h>3 15 4 16 texture_font::texture_font(image *letters, image *font_pattern) -
abuse/trunk/src/imlib/gifread.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 #include <string.h> 14 #include <stdio.h> 15 1 16 #include "gifread.hpp" 2 17 #include "palette.hpp" … … 7 22 #include "system.h" 8 23 #include "dos.h" 9 #include <math.h>10 #include <string.h>11 #include <stdio.h>12 24 #include "dir.h" 13 25 #include "macs.hpp" -
abuse/trunk/src/imlib/globals.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 unsigned xres,yres; 2 13 -
abuse/trunk/src/imlib/glread.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdio.h> 13 1 14 #include "macs.hpp" 2 15 #include "image.hpp" … … 4 17 #include "video.hpp" 5 18 #include "system.h" 6 #include <stdio.h>7 19 8 20 image *read_glfont(char *fn) -
abuse/trunk/src/imlib/glview.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 1 14 #include "macs.hpp" 2 15 #include "mdlread.hpp" … … 5 18 #include "palette.hpp" 6 19 #include "linked.hpp" 7 #include <math.h>8 20 9 21 #include "glread.hpp" -
abuse/trunk/src/imlib/guistat.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "status.hpp" 2 13 #include "timing.hpp" -
abuse/trunk/src/imlib/image-24.cpp
r2 r56 1 /* image-24.cpp : a 24-bit implementation of the image class */ 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 2 11 3 12 #include "image.hpp" 13 14 /* image-24.cpp : a 24-bit implementation of the image class */ 4 15 5 16 // -
abuse/trunk/src/imlib/image.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 #ifdef __DOS 14 # include <dir.h> 15 #else 16 # include <unistd.h> 17 #endif 18 #include <stdlib.h> 19 1 20 #include "image.hpp" 2 21 #include "macs.hpp" 3 22 #include "system.h" 4 23 #include "system.h" 5 6 #include <math.h>7 #ifdef __DOS8 #include <dir.h>9 #else10 #include <unistd.h>11 #endif12 #include <stdlib.h>13 24 14 25 extern uint8_t current_background; -
abuse/trunk/src/imlib/image24.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "image24.hpp" 2 13 #include "image.hpp" -
abuse/trunk/src/imlib/include.cpp
r4 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "include.hpp" 2 13 #include "ctype.h" -
abuse/trunk/src/imlib/include/bitmap.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #define bitmap_width 16 2 11 #define bitmap_height 16 -
abuse/trunk/src/imlib/include/conio.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #include "system.h" 2 11 #ifdef __DOS -
abuse/trunk/src/imlib/include/dir.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #include "system.h" 2 11 #ifdef __DOS -
abuse/trunk/src/imlib/include/dos.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #include "system.h" 2 11 #ifdef __DOS -
abuse/trunk/src/imlib/include/doscall.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #include "macs.hpp" 2 11 -
abuse/trunk/src/imlib/include/dprint.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef DPRINT_HPP_ 2 11 #define DPRINT_HPP_ -
abuse/trunk/src/imlib/include/emm.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __EMM_H_ 2 11 #define __EMM_H_ -
abuse/trunk/src/imlib/include/errs.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 /* Various error codes used by decoder 2 11 * and my own routines... It's okay -
abuse/trunk/src/imlib/include/event.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __EVENT_HPP_ 2 11 #define __EVENT_HPP_ -
abuse/trunk/src/imlib/include/exitproc.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __EXITPROC_HPP_ 2 11 #define __EXITPROC_HPP_ -
abuse/trunk/src/imlib/include/filesel.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __FSELECT_HPP_ 2 11 #define __FSELECT_HPP_ -
abuse/trunk/src/imlib/include/filter.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _FILTER_HPP 2 11 #define _FILTER_HPP -
abuse/trunk/src/imlib/include/fonts.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __FONTS_HPP_ 2 11 #define __FONTS_HPP_ -
abuse/trunk/src/imlib/include/gifdecod.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GIFDECOD__ 2 11 #define __GIFDECOD__ -
abuse/trunk/src/imlib/include/gifread.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _GIF_READ_H_ 2 11 #define _GIF_READ_H_ -
abuse/trunk/src/imlib/include/globals.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GLOBALS_HPP__ 2 11 #define __GLOBALS_HPP__ -
abuse/trunk/src/imlib/include/glread.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GLREAD_HPP_ 2 11 #define __GLREAD_HPP_ -
abuse/trunk/src/imlib/include/guistat.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GU_STAT_HPP 2 11 #define __GU_STAT_HPP -
abuse/trunk/src/imlib/include/image.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _IMGAE_HPP_ 2 11 #define _IMGAE_HPP_ -
abuse/trunk/src/imlib/include/image24.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __IMAGE_24__ 2 11 #define __IMAGE_24__ -
abuse/trunk/src/imlib/include/include.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __INCLUDE_HPP_ 2 11 #define __INCLUDE_HPP_ -
abuse/trunk/src/imlib/include/input.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __INPUT_HPP_ 2 11 #define __INPUT_HPP_ -
abuse/trunk/src/imlib/include/jdir.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _JDIR_HPP_ 2 11 #define _JDIR_HPP_ -
abuse/trunk/src/imlib/include/jmalloc.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __jmalloc_hpp_ 2 11 #define __jmalloc_hpp_ -
abuse/trunk/src/imlib/include/jnet.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __NET_HPP_ 2 11 #define __NET_HPP_ -
abuse/trunk/src/imlib/include/joy.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __JOYSTICK_HPP_ 2 11 #define __JOYSTICK_HPP_ -
abuse/trunk/src/imlib/include/jrand.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __JRAND_HPP_ 2 11 #define __JRAND_HPP_ -
abuse/trunk/src/imlib/include/jwindow.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __JWIN__ 2 11 #define __JWIN__ -
abuse/trunk/src/imlib/include/keys.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __KEYS_HPP_ 2 11 #define __KEYS_HPP_ -
abuse/trunk/src/imlib/include/lbmread.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _LBMREAD_HPP_ 2 11 #define _LBMREAD_HPP_ -
abuse/trunk/src/imlib/include/linked.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 // linked.hpp - linked list and linked list node classes 2 11 // written June 2, 1992 by Jonathan Clark (at home) -
abuse/trunk/src/imlib/include/loader.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LOADER_HPP_ 2 11 #define __LOADER_HPP_ -
abuse/trunk/src/imlib/include/macs.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef MACS__ 2 11 #define MACS__ -
abuse/trunk/src/imlib/include/main.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __MAIN_HPP 2 11 #define __MAIN_HPP -
abuse/trunk/src/imlib/include/mdlread.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _MDL_READ_HPP_ 2 11 #define _MDL_READ_HPP_ -
abuse/trunk/src/imlib/include/monoprnt.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __MONOPRNT 2 11 #define __MONOPRNT -
abuse/trunk/src/imlib/include/morph.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __MORPH_H_ 2 11 #define __MORPH_H_ -
abuse/trunk/src/imlib/include/morph.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __MORPH_HPP_ 2 11 #define __MORPH_HPP_ -
abuse/trunk/src/imlib/include/mouse.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __MOUSE_HPP_ 2 11 #define __MOUSE_HPP_ -
abuse/trunk/src/imlib/include/packet.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __PACKET_HPP_ 2 11 #define __PACKET_HPP_ -
abuse/trunk/src/imlib/include/palette.hpp
r15 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _PALETTE_H_ 2 11 #define _PALETTE_H_ -
abuse/trunk/src/imlib/include/pcxread.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __PCX_READ_HPP__ 2 11 #define __PCX_READ_HPP__ -
abuse/trunk/src/imlib/include/pmenu.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __PMENU_HPP_ 2 11 #define __PMENU_HPP_ -
abuse/trunk/src/imlib/include/ppmread.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __PPMREAD__ 2 11 #define __PPMREAD__ -
abuse/trunk/src/imlib/include/readwav.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __READ_WAV_HPP_ 2 11 #define __READ_WAV_HPP_ -
abuse/trunk/src/imlib/include/scroller.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _SCROLLER_HPP_ 2 11 #define _SCROLLER_HPP_ -
abuse/trunk/src/imlib/include/sdriver.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SDRIVER_HPP_ 2 11 #define __SDRIVER_HPP_ -
abuse/trunk/src/imlib/include/sound.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SOUND_HPP_ 2 11 #define __SOUND_HPP_ -
abuse/trunk/src/imlib/include/specs.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SPECS_HPP_ 2 11 #define __SPECS_HPP_ -
abuse/trunk/src/imlib/include/sprite.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SPRITE_HPP 2 11 #define __SPRITE_HPP -
abuse/trunk/src/imlib/include/status.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __STATUS_HPP_ 2 11 #define __STATUS_HPP_ -
abuse/trunk/src/imlib/include/std.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 /* STD.H - My own standard header file... 2 11 */ -
abuse/trunk/src/imlib/include/supmorph.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SUPER_MORPH_HPP__ 2 11 #define __SUPER_MORPH_HPP__ -
abuse/trunk/src/imlib/include/system.h
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SYS__ 2 11 #define __SYS__ -
abuse/trunk/src/imlib/include/targa.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef TARGA_HPP_ 2 11 #define TARGA_HPP_ -
abuse/trunk/src/imlib/include/texture.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __TEXTURE_HPP_ 2 11 #define __TEXTURE_HPP_ -
abuse/trunk/src/imlib/include/timage.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __TIMAGE_HPP_ 2 11 #define __TIMAGE_HPP_ -
abuse/trunk/src/imlib/include/timer.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __TIMER_HPP_ 2 11 #define __TIMER_HPP_ -
abuse/trunk/src/imlib/include/timing.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __TIMING_HPP_ 2 11 #define __TIMING_HPP_ -
abuse/trunk/src/imlib/include/tools.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __TOOLS_HPP_ 2 11 #define __TOOLS_HPP_ -
abuse/trunk/src/imlib/include/video.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _VIDEO_HPP_ 2 11 #define _VIDEO_HPP_ -
abuse/trunk/src/imlib/include/visobj.hpp
r14 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef VIS_OBJECT_HPP 2 11 #define VIS_OBJECT_HPP -
abuse/trunk/src/imlib/include/xinclude.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #include "system.h" 2 11 #include <X11/Xlib.h> -
abuse/trunk/src/imlib/include/xwdread.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __READXWD_HPP 2 11 #define __READXWD_HPP -
abuse/trunk/src/imlib/input.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "input.hpp" 2 13 #include "macs.hpp" -
abuse/trunk/src/imlib/jmalloc.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <stdlib.h> 2 13 #include <string.h> -
abuse/trunk/src/imlib/jrand.cpp
r2 r56 1 #include "jrand.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 2 12 #include <time.h> 3 13 #include <stdio.h> 14 15 #include "jrand.hpp" 4 16 5 17 unsigned short rtable[RAND_TABLE_SIZE]; -
abuse/trunk/src/imlib/jwindow.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "video.hpp" 2 13 #include "image.hpp" -
abuse/trunk/src/imlib/keys.cpp
r39 r56 1 #include "keys.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 2 12 #include <string.h> 3 13 #include <ctype.h> 14 15 #include "keys.hpp" 4 16 5 17 char const *jk_key_names[]= -
abuse/trunk/src/imlib/lbmread.cpp
r17 r56 1 #include "lbmread.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 2 12 #include <stdio.h> 3 13 #include <stdlib.h> 14 15 #include "lbmread.hpp" 4 16 #include "system.h" 5 6 7 17 8 18 image *read_lbm(char *filename, palette *&pal) -
abuse/trunk/src/imlib/linked.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <stdio.h> 2 13 #include <stdlib.h> -
abuse/trunk/src/imlib/loader.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "loader.hpp" 2 13 #include "image.hpp" -
abuse/trunk/src/imlib/mdlread.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdio.h> 13 1 14 #include "mdlread.hpp" 2 15 #include "macs.hpp" 3 16 #include "linked.hpp" 4 17 #include "system.h" 5 #include <stdio.h>6 18 7 19 -
abuse/trunk/src/imlib/morph.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "morph.hpp" 2 13 -
abuse/trunk/src/imlib/packet.cpp
r17 r56 1 #include "packet.hpp" 2 #include "jmalloc.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 3 12 #include <stdlib.h> 4 13 #include <string.h> 5 14 15 #include "packet.hpp" 16 #include "jmalloc.hpp" 6 17 7 18 int packet::advance(int32_t offset) -
abuse/trunk/src/imlib/palette.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 1 14 #include "palette.hpp" 2 15 #include "image.hpp" … … 6 19 #include "filter.hpp" 7 20 #include "jmalloc.hpp" 8 #include <math.h>9 21 10 22 palette *lastl=NULL; -
abuse/trunk/src/imlib/pcxread.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "pcxread.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/imlib/pmenu.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "pmenu.hpp" 2 13 -
abuse/trunk/src/imlib/ppmread.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdio.h> 13 1 14 #include "image.hpp" 2 15 #include "palette.hpp" 3 #include <stdio.h>4 16 #include "macs.hpp" 5 17 #include "ppmread.hpp" -
abuse/trunk/src/imlib/readwav.cpp
r19 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "readwav.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/imlib/readxwd.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "image.hpp" 2 13 #include "palette.hpp" -
abuse/trunk/src/imlib/scroller.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "scroller.hpp" 2 13 #define HS_ICON_W 10 -
abuse/trunk/src/imlib/specs.cpp
r39 r56 1 #include "image.hpp" 2 #include "palette.hpp" 3 #include "specs.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 4 12 #include <stdio.h> 5 13 #include <stdlib.h> … … 7 15 #include <ctype.h> 8 16 #include <fcntl.h> 17 #include <math.h> 18 #if (defined(__MACH__) || !defined(__APPLE__)) 19 # include <sys/types.h> 20 # include <sys/stat.h> 21 #endif 22 23 #include "image.hpp" 24 #include "palette.hpp" 25 #include "specs.hpp" 9 26 #include "system.h" 10 27 #include "jmalloc.hpp" 11 #include <math.h>12 28 #include "dprint.hpp" 13 #if (defined(__MACH__) || !defined(__APPLE__))14 #include <sys/types.h>15 #include <sys/stat.h>16 #endif17 29 18 30 #if (defined(__APPLE__) && !defined(__MACH__)) -
abuse/trunk/src/imlib/sprite.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 1 14 #include "macs.hpp" 2 15 #include "mdlread.hpp" … … 5 18 #include "palette.hpp" 6 19 #include "linked.hpp" 7 #include <math.h>8 20 #include "glread.hpp" 9 21 #include "gifread.hpp" -
abuse/trunk/src/imlib/status.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "macs.hpp" 2 13 #include "status.hpp" -
abuse/trunk/src/imlib/supmorph.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "supmorph.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/imlib/targa.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "image.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/imlib/texture.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 1 14 #include "image.hpp" 2 15 #include "video.hpp" 3 16 #include "macs.hpp" 4 17 #include "event.hpp" 5 #include <math.h>6 18 7 19 #define SHB 7 -
abuse/trunk/src/imlib/timage.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "timage.hpp" 2 13 -
abuse/trunk/src/imlib/timer.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "system.h" 2 13 -
abuse/trunk/src/imlib/tools.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "tools.hpp" 2 13 -
abuse/trunk/src/imlib/tree.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <stdio.h> 2 13 #include <stdlib.h> -
abuse/trunk/src/imlib/unpackgl.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdio.h> 13 #include <ctype.h> 14 1 15 #include "system.h" 2 16 #include "jmalloc.hpp" 3 17 #include "macs.hpp" 4 #include <stdio.h>5 #include <ctype.h>6 18 7 19 void unpackgl(char *fn, int pict_only) -
abuse/trunk/src/imlib/visobj.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "visobj.hpp" 2 13 -
abuse/trunk/src/imlib/wildargv.cpp
r2 r56 1 1 /* 2 3 2 *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 4 5 3 *% Copyright (C) 1989, by WATCOM Systems Inc. All rights % 6 7 4 *% reserved. No part of this software may be reproduced % 8 9 5 *% in any form or by any means - graphic, electronic or % 10 11 6 *% mechanical, including photocopying, recording, taping % 12 13 7 *% or information storage and retrieval systems - except % 14 15 8 *% with the written permission of WATCOM Systems Inc. % 16 17 9 *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 18 19 10 WILDARGV - split DOS command line into individual arguments expanding 20 21 11 those that contain ? or *. 22 23 12 This module is a substitute for the "initargv" module contained in the 24 25 13 library. 26 14 27 28 29 15 Modified: By: Reason: 30 31 16 --------- --- ------- 32 33 17 23-aug-89 John Dahms was ignoring files with Archive or 34 35 18 read only attributes turned on. (Bug fix) 36 37 19 15-sep-91 F.W.Crigger Use _LpCmdLine, _LpPgmName, _argc, _argv, 38 39 20 ___Argc, ___Argv 40 41 21 02-nov-93 A.F.Scian updated so that source will compile as C++ 42 43 22 */ 44 45 23 #include <stdio.h> 46 47 24 #include <stdlib.h> 48 49 25 #include <string.h> 50 51 26 #include <io.h> 52 53 27 #include <direct.h> 54 55 28 #include <malloc.h> 56 29 30 #ifdef __cplusplus 31 extern "C" { 32 #endif 57 33 34 extern void _Not_Enough_Memory(); 35 extern char *_LpCmdLine; 36 extern char *_LpPgmName; 37 extern int _argc; /* argument count */ 38 extern char **_argv; /* argument vector */ 39 extern int ___Argc; /* argument count */ 40 extern char **___Argv; /* argument vector */ 58 41 59 42 #ifdef __cplusplus 60 61 extern "C" { 62 43 }; 63 44 #endif 64 45 46 static void *_allocate( unsigned amount ) 47 { 48 void *p; 65 49 50 #if defined(__386__) 51 p = malloc( amount ); 52 #else 53 p = _nmalloc( amount ); 54 #if defined(__COMPACT__) || defined(__LARGE__) || defined(__HUGE__) 55 if( (void near *) p == NULL ) p = malloc( amount ); 56 #endif 57 #endif 58 if( p == NULL ) _Not_Enough_Memory(); 59 return( p ); 60 } 66 61 67 extern void _Not_Enough_Memory(); 62 static int _make_argv( char *p, char ***argv ) 63 { 64 int argc; 65 char *start; 66 char *new_arg; 67 char wildcard; 68 char lastchar; 69 DIR * dir; 70 struct dirent *dirent; 71 char drive[_MAX_DRIVE]; 72 char directory[_MAX_DIR]; 73 char name[_MAX_FNAME]; 74 char extin[_MAX_EXT]; 75 char pathin[_MAX_PATH]; 68 76 69 extern char *_LpCmdLine; 70 71 extern char *_LpPgmName; 72 73 extern int _argc; /* argument count */ 74 75 extern char **_argv; /* argument vector */ 76 77 extern int ___Argc; /* argument count */ 78 79 extern char **___Argv; /* argument vector */ 80 81 77 argc = 1; 78 for(;;) { 79 while( *p == ' ' ) ++p; /* skip over blanks */ 80 if( *p == '\0' ) break; 81 /* we are at the start of a parm */ 82 wildcard = 0; 83 if( *p == '\"' ) { 84 p++; 85 new_arg = start = p; 86 for(;;) { 87 /* end of parm: NULLCHAR or quote */ 88 if( *p == '\"' ) break; 89 if( *p == '\0' ) break; 90 if( *p == '\\' ) { 91 if( p[1] == '\"' || p[1] == '\\' ) ++p; 92 } 93 *new_arg++ = *p++; 94 } 95 } else { 96 new_arg = start = p; 97 for(;;) { 98 /* end of parm: NULLCHAR or blank */ 99 if( *p == '\0' ) break; 100 if( *p == ' ' ) break; 101 if(( *p == '\\' )&&( p[1] == '\"' )) { 102 ++p; 103 } else if( *p == '?' || *p == '*' ) { 104 wildcard = 1; 105 } 106 *new_arg++ = *p++; 107 } 108 } 109 *argv = (char **) realloc( *argv, (argc+2) * sizeof( char * ) ); 110 if( *argv == NULL ) _Not_Enough_Memory(); 111 (*argv)[ argc ] = start; 112 ++argc; 113 lastchar = *p; 114 *new_arg = '\0'; 115 ++p; 116 if( wildcard ) { 117 /* expand file names */ 118 dir = opendir( start ); 119 if( dir != NULL ) { 120 --argc; 121 _splitpath( start, drive, directory, name, extin ); 122 for(;;) { 123 dirent = readdir( dir ); 124 if( dirent == NULL ) break; 125 if( dirent->d_attr & 126 (_A_HIDDEN+_A_SYSTEM+_A_VOLID+_A_SUBDIR) ) continue; 127 _splitpath( dirent->d_name, NULL, NULL, name, extin ); 128 _makepath( pathin, drive, directory, name, extin ); 129 *argv = (char **) realloc( *argv, (argc+2) * sizeof( char * ) ); 130 if( *argv == NULL ) _Not_Enough_Memory(); 131 new_arg = (char *) _allocate( strlen( pathin ) + 1 ); 132 strcpy( new_arg, pathin ); 133 (*argv)[argc++] = new_arg; 134 } 135 closedir( dir ); 136 } 137 } 138 if( lastchar == '\0' ) break; 139 } 140 return( argc ); 141 } 82 142 83 143 #ifdef __cplusplus 84 85 }; 86 144 extern "C" 87 145 #endif 88 89 90 91 static void *_allocate( unsigned amount ) 92 93 { 94 95 void *p; 96 97 98 99 #if defined(__386__) 100 101 p = malloc( amount ); 102 103 #else 104 105 p = _nmalloc( amount ); 106 107 #if defined(__COMPACT__) || defined(__LARGE__) || defined(__HUGE__) 108 109 if( (void near *) p == NULL ) p = malloc( amount ); 110 111 #endif 112 113 #endif 114 115 if( p == NULL ) _Not_Enough_Memory(); 116 117 return( p ); 118 119 } 120 121 122 123 static int _make_argv( char *p, char ***argv ) 124 125 { 126 127 int argc; 128 129 char *start; 130 131 char *new_arg; 132 133 char wildcard; 134 135 char lastchar; 136 137 DIR * dir; 138 139 struct dirent *dirent; 140 141 char drive[_MAX_DRIVE]; 142 143 char directory[_MAX_DIR]; 144 145 char name[_MAX_FNAME]; 146 147 char extin[_MAX_EXT]; 148 149 char pathin[_MAX_PATH]; 150 151 152 153 argc = 1; 154 155 for(;;) { 156 157 while( *p == ' ' ) ++p; /* skip over blanks */ 158 159 if( *p == '\0' ) break; 160 161 /* we are at the start of a parm */ 162 163 wildcard = 0; 164 165 if( *p == '\"' ) { 166 167 p++; 168 169 new_arg = start = p; 170 171 for(;;) { 172 173 /* end of parm: NULLCHAR or quote */ 174 175 if( *p == '\"' ) break; 176 177 if( *p == '\0' ) break; 178 179 if( *p == '\\' ) { 180 181 if( p[1] == '\"' || p[1] == '\\' ) ++p; 182 183 } 184 185 *new_arg++ = *p++; 186 187 } 188 189 } else { 190 191 new_arg = start = p; 192 193 for(;;) { 194 195 /* end of parm: NULLCHAR or blank */ 196 197 if( *p == '\0' ) break; 198 199 if( *p == ' ' ) break; 200 201 if(( *p == '\\' )&&( p[1] == '\"' )) { 202 203 ++p; 204 205 } else if( *p == '?' || *p == '*' ) { 206 207 wildcard = 1; 208 209 } 210 211 *new_arg++ = *p++; 212 213 } 214 215 } 216 217 *argv = (char **) realloc( *argv, (argc+2) * sizeof( char * ) ); 218 219 if( *argv == NULL ) _Not_Enough_Memory(); 220 221 (*argv)[ argc ] = start; 222 223 ++argc; 224 225 lastchar = *p; 226 227 *new_arg = '\0'; 228 229 ++p; 230 231 if( wildcard ) { 232 233 /* expand file names */ 234 235 dir = opendir( start ); 236 237 if( dir != NULL ) { 238 239 --argc; 240 241 _splitpath( start, drive, directory, name, extin ); 242 243 for(;;) { 244 245 dirent = readdir( dir ); 246 247 if( dirent == NULL ) break; 248 249 if( dirent->d_attr & 250 251 (_A_HIDDEN+_A_SYSTEM+_A_VOLID+_A_SUBDIR) ) continue; 252 253 _splitpath( dirent->d_name, NULL, NULL, name, extin ); 254 255 _makepath( pathin, drive, directory, name, extin ); 256 257 *argv = (char **) realloc( *argv, (argc+2) * sizeof( char * ) ); 258 259 if( *argv == NULL ) _Not_Enough_Memory(); 260 261 new_arg = (char *) _allocate( strlen( pathin ) + 1 ); 262 263 strcpy( new_arg, pathin ); 264 265 (*argv)[argc++] = new_arg; 266 267 } 268 269 closedir( dir ); 270 271 } 272 273 } 274 275 if( lastchar == '\0' ) break; 276 146 void __Init_Argv() 147 { 148 _argv = (char **) _allocate( 2 * sizeof( char * ) ); 149 _argv[0] = _LpPgmName; /* fill in program name */ 150 _argc = _make_argv( _LpCmdLine, &_argv ); 151 _argv[_argc] = NULL; 152 ___Argc = _argc; 153 ___Argv = _argv; 277 154 } 278 279 return( argc );280 281 }282 283 284 285 #ifdef __cplusplus286 287 extern "C"288 289 #endif290 291 void __Init_Argv()292 293 {294 295 _argv = (char **) _allocate( 2 * sizeof( char * ) );296 297 _argv[0] = _LpPgmName; /* fill in program name */298 299 _argc = _make_argv( _LpCmdLine, &_argv );300 301 _argv[_argc] = NULL;302 303 ___Argc = _argc;304 305 ___Argv = _argv;306 307 }308 -
abuse/trunk/src/imlib/xwdread.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdio.h> 13 1 14 /* readxwd.c */ 2 15 /* This program is limited to X11 format XWD files */ … … 9 22 #include "dos.h" 10 23 #include "main.hpp" 11 #include <stdio.h>12 24 #include "macs.hpp" 13 25 #include "image24.hpp" -
abuse/trunk/src/include/ability.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef ABILITIES_HPP_ 2 11 #define ABILITIES_HPP_ -
abuse/trunk/src/include/ant.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __ANT_HPP_ 2 11 #define __ANT_HPP_ -
abuse/trunk/src/include/automap.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __AUTOMAP_HPP_ 2 11 #define __AUTOMAP_HPP_ -
abuse/trunk/src/include/bus_type.hpp
r19 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef BUS_TYPE_HPP 2 11 #define BUS_TYPE_HPP -
abuse/trunk/src/include/cache.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __CASHE_HPP_ 2 11 #define __CASHE_HPP_ -
abuse/trunk/src/include/chars.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __CHARACTERZ_HPP_ 2 11 #define __CHARACTERZ_HPP_ -
abuse/trunk/src/include/chat.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef CHAT_HPP_ 2 11 #define CHAT_HPP_ -
abuse/trunk/src/include/chmorph.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __chmorph_hpp_ 2 11 #define __chmorph_hpp_ -
abuse/trunk/src/include/client.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __CLIENT_HPP_ 2 11 #define __CLIENT_HPP_ -
abuse/trunk/src/include/clisp.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __CLISP_HPP_ 2 11 #ifndef SCADALISP -
abuse/trunk/src/include/compiled.hpp
r28 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __COMPILED_HPP_ 2 11 #define __COMPILED_HPP_ -
abuse/trunk/src/include/config.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __CONFIG_HPP_ 2 11 #define __CONFIG_HPP_ -
abuse/trunk/src/include/console.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __CONSOLE_HPP_ 2 11 #define __CONSOLE_HPP_ -
abuse/trunk/src/include/control.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __CONTROLLED_HPP_ 2 11 #define __CONTROLLED_HPP_ -
abuse/trunk/src/include/cop.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __COP_HPP_ 2 11 #define __COP_HPP_ -
abuse/trunk/src/include/crc.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _CRC_HPP_ 2 11 #define _CRC_HPP_ -
abuse/trunk/src/include/demo.hpp
r16 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __DEMO_HPP_ 2 11 #define __DEMO_HPP_ -
abuse/trunk/src/include/dev.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __DEV_HPP_ 2 11 #define __DEV_HPP_ -
abuse/trunk/src/include/devsel.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __DEVSCROLL_HPP_ 2 11 #define __DEVSCROLL_HPP_ -
abuse/trunk/src/include/director.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __DIRECTOR_HPP_ 2 11 #define __DIRECTOR_HPP_ -
abuse/trunk/src/include/extend.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef EXTEND_HPP_ 2 11 #define EXTEND_HPP_ -
abuse/trunk/src/include/fakelib.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __FAKELIB_HPP_ 2 11 #define __FAKELIB_HPP_ -
abuse/trunk/src/include/game.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GAME_HPP_ 2 11 #define __GAME_HPP_ -
abuse/trunk/src/include/gamma.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GAMMA_HPP_ 2 11 #define __GAMMA_HPP_ -
abuse/trunk/src/include/go.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GO_HPP_ 2 11 #define __GO_HPP_ -
abuse/trunk/src/include/gui.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __GUI_HPP_ 2 11 #define __GUI_HPP_ -
abuse/trunk/src/include/help.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __HELP_HPP_ 2 11 #define __HELP_HPP_ -
abuse/trunk/src/include/human.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __HUMAN_HPP_ 2 11 #define __HUMAN_HPP_ -
abuse/trunk/src/include/id.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __ID_HPP_ 2 11 #define __ID_HPP_ -
abuse/trunk/src/include/intsect.hpp
r16 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __INTSECT_HPP_ 2 11 #define __INTSECT_HPP_ -
abuse/trunk/src/include/isllist.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef ISLLIST_HH 2 11 #define ISLLIST_HH -
abuse/trunk/src/include/isllist_bak.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef ISLLIST_HH 2 11 #define ISLLIST_HH -
abuse/trunk/src/include/items.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __ITEMS_HPP__ 2 11 #define __ITEMS_HPP__ -
abuse/trunk/src/include/language.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 char const *lang_string(char const *symbol); -
abuse/trunk/src/include/laser.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LASER_HPP_ 2 11 #define __LASER_HPP_ -
abuse/trunk/src/include/lcache.hpp
r20 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LCACHE_HPP_ 2 11 #define __LCACHE_HPP_ -
abuse/trunk/src/include/lcaller.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LCALLER_HPP_ 2 11 #define __LCALLER_HPP_ -
abuse/trunk/src/include/level.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 2 11 #ifndef __LEVEL_HPP_ -
abuse/trunk/src/include/light.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef LIGHT_HPP 2 11 #define LIGHT_HPP -
abuse/trunk/src/include/lisp.hpp
r43 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LISP_HPP_ 2 11 #define __LISP_HPP_ -
abuse/trunk/src/include/lisp2.hpp
r43 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _LISP_HPP_INCLUDED_ 2 11 #define _LISP_HPP_INCLUDED_ -
abuse/trunk/src/include/lisp_gc.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #include "stack.hpp" 2 11 #ifndef __LISP_GC_HPP_ -
abuse/trunk/src/include/lisp_opt.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LISP_OPT_HPP_ 2 11 #define __LISP_OPT_HPP_ -
abuse/trunk/src/include/lmenu.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LMENU_HPP_ 2 11 #define __LMENU_HPP_ -
abuse/trunk/src/include/loader2.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LOADER_HPP_ 2 11 #define __LOADER_HPP_ -
abuse/trunk/src/include/loadgame.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __LOADGAME_HPP__ 2 11 #define __LOADGAME_HPP__ -
abuse/trunk/src/include/menu.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef GRUE_MENU_HPP 2 11 #define GRUE_MENU_HPP -
abuse/trunk/src/include/morpher.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __MORPHER_HPP_ 2 11 #define __MORPHER_HPP_ -
abuse/trunk/src/include/netcfg.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __NETCFG_HPP_ 2 11 #define __NETCFG_HPP_ -
abuse/trunk/src/include/netface.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 // structure used to comminicate with the engine 2 11 -
abuse/trunk/src/include/nfclient.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __NFCLIENT_HPP_ 2 11 #define __NFCLIENT_HPP_ -
abuse/trunk/src/include/nfserver.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __NFSERVER_HPP_ 2 11 #define __NFSERVER_HPP_ -
abuse/trunk/src/include/objects.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _OBJECTS_HPP_ 2 11 #define _OBJECTS_HPP_ -
abuse/trunk/src/include/parse.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __PARSE_HPP_ 2 11 #define __PARSE_HPP_ -
abuse/trunk/src/include/particle.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __PARTICLE_HPP_ 2 11 #define __PARTICLE_HPP_ -
abuse/trunk/src/include/points.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __POINTS_HPP_ 2 11 #define __POINTS_HPP_ -
abuse/trunk/src/include/profile.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __JPROF_HPP_ 2 11 #define __JPROF_HPP_ -
abuse/trunk/src/include/property.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __PROPERTY_HPP_ 2 11 #define __PROPERTY_HPP_ -
abuse/trunk/src/include/ramfile.hpp
r2 r56 1 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 2 9 3 10 #ifndef __RAM_FILE_HPP_ -
abuse/trunk/src/include/sbar.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __STAT_BAR_H_ 2 11 #define __STAT_BAR_H_ -
abuse/trunk/src/include/scene.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SCENE_HPP_ 2 11 #define __SCENE_HPP_ -
abuse/trunk/src/include/seq.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SEQUENCE_HPP_ 2 11 #define __SEQUENCE_HPP_ -
abuse/trunk/src/include/server2.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SERVER2_HPP_ 2 11 #define __SERVER2_HPP_ -
abuse/trunk/src/include/specache.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __SPECACHE_HPP_ 2 11 #define __SPECACHE_HPP_ -
abuse/trunk/src/include/stack.hpp
r30 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __STACK_HPP_ 2 11 #define __STACK_HPP_ -
abuse/trunk/src/include/text_gui.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 int change_dir(char *path); 2 11 long K_avail(char *path); -
abuse/trunk/src/include/tiles.hpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 class tile 2 11 { -
abuse/trunk/src/include/transp.hpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef __TRANSP_HPP_ 2 11 #define __TRANSP_HPP_ -
abuse/trunk/src/include/view.hpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _VIEW_HPP_ 2 11 #define _VIEW_HPP_ -
abuse/trunk/src/innet.cpp
r39 r56 1 1 /* 2 3 This file is a combination of : 4 src/net/unix/unixnfc.c 5 src/net/unix/netdrv.c 6 src/net/unix/undrv.c 7 8 netdrv & undrv compile to a stand-alone program with talk with unixnfc 9 via a FIFO in /tmp, using a RPC-like scheme. This versions runs inside 10 of a abuse and therefore is a bit simpler. 11 12 13 */ 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 14 12 #include <stdio.h> 15 13 … … 28 26 #include "dprint.hpp" 29 27 #include "netcfg.hpp" 28 29 /* 30 31 This file is a combination of : 32 src/net/unix/unixnfc.c 33 src/net/unix/netdrv.c 34 src/net/unix/undrv.c 35 36 netdrv & undrv compile to a stand-alone program with talk with unixnfc 37 via a FIFO in /tmp, using a RPC-like scheme. This versions runs inside 38 of a abuse and therefore is a bit simpler. 39 */ 30 40 31 41 #ifdef __WATCOMC__ -
abuse/trunk/src/install.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #define NO_LIBS 1 2 13 #include "lisp.c" -
abuse/trunk/src/intsect.cpp
r16 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdlib.h> 13 1 14 #include "macs.hpp" 2 #include <stdlib.h>3 15 4 16 void pushback(int32_t x1,int32_t y1,int32_t &x2,int32_t &y2, -
abuse/trunk/src/items.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "items.hpp" 2 13 #include "lisp.hpp" -
abuse/trunk/src/keydrv.cpp
r2 r56 1 /* Key driver, by Jonathan Clark 2 (portions from showkey.c) 3 */ 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <linux/keyboard.h> 13 #include <sys/ioctl.h> 14 #include <stdlib.h> 15 #include <string.h> 4 16 5 17 #include <stdio.h> … … 14 26 #include <sys/stat.h> 15 27 16 28 /* Key driver, by Jonathan Clark 29 (portions from showkey.c) 30 */ 17 31 18 32 unsigned char keyboard_buf[16]; 19 20 #include <linux/keyboard.h>21 #include <sys/ioctl.h>22 #include <stdlib.h>23 #include <string.h>24 33 25 34 int fd,my_console=-1; -
abuse/trunk/src/keytest.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <fcntl.h> 2 13 #include <sys/types.h> -
abuse/trunk/src/language.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "lisp.hpp" 2 13 -
abuse/trunk/src/lcache.cpp
r19 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "lisp.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/lcache2.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "lisp.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/letters.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 /* File produced by Satan Paint (c) 1994 Jonathan Clark */ 2 11 -
abuse/trunk/src/level.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #if (defined(__MACH__) || !defined(__APPLE__)) 13 #include <sys/stat.h> 14 #endif 15 16 #include <limits.h> 17 #include <time.h> 18 1 19 #include "light.hpp" 2 20 #include "level.hpp" … … 19 37 #include "nfserver.hpp" 20 38 #include "lisp_gc.hpp" 21 22 #if (defined(__MACH__) || !defined(__APPLE__))23 #include <sys/stat.h>24 #endif25 26 #include <limits.h>27 #include <time.h>28 39 29 40 level *current_level; -
abuse/trunk/src/light.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdlib.h> 13 1 14 #include "light.hpp" 2 #include <stdlib.h>3 15 #include "image.hpp" 4 16 #include "macs.hpp" -
abuse/trunk/src/lisp.cpp
r43 r56 1 #define TYPE_CHECKING 1 2 #include "bus_type.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 3 11 4 12 #include <stdio.h> … … 7 15 #include <string.h> 8 16 #include <stdarg.h> 17 18 #define TYPE_CHECKING 1 19 #include "bus_type.hpp" 9 20 10 21 #include "lisp.hpp" -
abuse/trunk/src/lisp_gc.cpp
r20 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdlib.h> 13 #include <string.h> 14 15 #include "lisp.hpp" 16 #ifdef NO_LIBS 17 #include "fakelib.hpp" 18 #else 19 #include "jmalloc.hpp" 20 #include "macs.hpp" 21 #endif 22 23 #include "stack.hpp" 24 1 25 /* Lisp garbage collections : uses copy/free algorithm 2 26 Places to check : … … 6 30 names 7 31 stack 8 9 10 11 12 32 */ 13 #include <stdlib.h>14 #include "lisp.hpp"15 16 #ifdef NO_LIBS17 #include "fakelib.hpp"18 #else19 #include "jmalloc.hpp"20 #include "macs.hpp"21 #endif22 23 #include "stack.hpp"24 #include <string.h>25 26 33 27 34 grow_stack<void> l_user_stack(600); // stack user progs can push data and have it GCed -
abuse/trunk/src/lisp_mac.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 char *mac_replace[]={"(if $cond (progn $list) nil)" 2 13 "(if-1progn $cond $list)", -
abuse/trunk/src/lisp_opt.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #ifdef NO_LIBS 2 13 #include "fakelib.hpp" -
abuse/trunk/src/loader2.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 1 14 #include "timing.hpp" 2 15 #include "loader2.hpp" … … 13 26 #include "light.hpp" 14 27 #include "morph.hpp" 15 #include <math.h>16 28 #include "dprint.hpp" 17 29 #include "particle.hpp" -
abuse/trunk/src/loadgame.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <string.h> 2 13 -
abuse/trunk/src/ltree.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 1 11 2 12 lisp_symbol *find_symbol(char *name) -
abuse/trunk/src/maker.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <unistd.h> 13 14 #include <stdio.h> 15 #include <string.h> 16 #include <stdlib.h> 17 #ifdef __WATCOMC__ 18 # include <sys\types.h> 19 # include <direct.h> 20 # define make_dir(dir) mkdir(dir) 21 #else 22 # include <sys/stat.h> 23 # define make_dir(dir) mkdir(dir,511) 24 #endif 25 1 26 #define NO_LIBS 1 2 #include <unistd.h>3 27 #include "lisp.c" 4 28 #include "trig.c" 5 29 #include "lisp_gc.c" 6 30 #include "lisp_opt.c" 7 8 9 #include <stdio.h>10 #include <string.h>11 #include <stdlib.h>12 #ifdef __WATCOMC__13 #include <sys\types.h>14 #include <direct.h>15 #define make_dir(dir) mkdir(dir)16 #else17 18 #include <sys/stat.h>19 #define make_dir(dir) mkdir(dir,511)20 #endif21 22 23 31 24 32 enum { LINUX, WATCOM, AIX, SUN, SGI }; -
abuse/trunk/src/menu.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <math.h> 2 13 -
abuse/trunk/src/morpher.cpp
r16 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "morpher.hpp" 2 13 #include "game.hpp" -
abuse/trunk/src/net/engine.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "indian.hpp" 2 13 #include "../inc/netface.hpp" // net interface structures to the engine will use -
abuse/trunk/src/net/fileman.cpp
r39 r56 1 #include "macs.hpp" 2 3 #include "fileman.hpp" 4 #include "netface.hpp" 5 #include "ghandler.hpp" 6 #include "specache.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 7 11 8 12 #include <stdio.h> … … 13 17 #include <signal.h> 14 18 19 #ifndef __WATCOMC__ 20 # include <sys/stat.h> 21 #endif 22 23 #include "macs.hpp" 24 25 #include "fileman.hpp" 26 #include "netface.hpp" 27 #include "ghandler.hpp" 28 #include "specache.hpp" 29 15 30 extern net_protocol *prot; 16 31 17 18 #ifndef __WATCOMC__19 #include <sys/stat.h>20 #endif21 32 22 33 file_manager *fman=NULL; -
abuse/trunk/src/net/gclient.cpp
r17 r56 1 #include "netcfg.hpp" 2 #include "gclient.hpp" 3 #include "netface.hpp" 4 #include "undrv.hpp" 5 #include "timing.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 6 9 10 #include "config.h" 7 11 8 12 #include <stdio.h> … … 14 18 #include <string.h> 15 19 #include <signal.h> 20 21 #include "netcfg.hpp" 22 #include "gclient.hpp" 23 #include "netface.hpp" 24 #include "undrv.hpp" 25 #include "timing.hpp" 16 26 17 27 extern base_memory_struct *base; -
abuse/trunk/src/net/gserver.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdio.h> 13 #include <stdlib.h> 14 #include <fcntl.h> 15 #include <unistd.h> 16 #include <sys/stat.h> 17 #include <sys/types.h> 18 #include <string.h> 19 #include <signal.h> 20 1 21 #include "system.h" 2 22 #include "macs.hpp" … … 18 38 extern window_manager *eh; 19 39 extern void service_net_request(); 20 21 #include <stdio.h>22 #include <stdlib.h>23 #include <fcntl.h>24 #include <unistd.h>25 #include <sys/stat.h>26 #include <sys/types.h>27 #include <string.h>28 #include <signal.h>29 30 40 31 41 game_server::game_server() -
abuse/trunk/src/net/netdrv.cpp
r17 r56 1 #include "fileman.hpp" 2 #include "netdrv.hpp" 3 #include "gserver.hpp" 4 #include "gclient.hpp" 5 #include "undrv.hpp" 6 #include "tcpip.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 7 11 8 12 #include <stdio.h> … … 23 27 #include <bstring.h> 24 28 #include <netdb.h> 29 30 #include "fileman.hpp" 31 #include "netdrv.hpp" 32 #include "gserver.hpp" 33 #include "gclient.hpp" 34 #include "undrv.hpp" 35 #include "tcpip.hpp" 25 36 26 37 #define real2shm(type,ptr) (ptr==NULL ? NULL : ((type *)((uint8_t *)(ptr)-(uint8_t *)base))) -
abuse/trunk/src/net/netfile.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "indian.hpp" 2 13 #include "netfile.hpp" -
abuse/trunk/src/net/sock.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdlib.h> 13 1 14 #include "sock.hpp" 2 #include <stdlib.h>3 15 4 16 const char notify_signature[] = "I wanna play ABUSE!"; -
abuse/trunk/src/net/tcpip.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #ifdef _AIX 2 13 #include <strings.h> 3 14 #endif 15 #include <ctype.h> 4 16 5 17 #if (defined(__APPLE__) && !defined(__MACH__)) 6 # include "GUSI.h"18 # include "GUSI.h" 7 19 #endif 8 20 #include "tcpip.hpp" 9 #include <ctype.h>10 21 11 22 extern tcpip_protocol tcpip; -
abuse/trunk/src/net/undrv.cpp
r2 r56 1 #include "indian.hpp" 2 #include "undrv.hpp" 3 #include "../include/netface.hpp" // net interface structures to the engine will use 4 5 #include "../include/netface.hpp" 6 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 7 11 8 12 #include <stdio.h> … … 23 27 #include <netdb.h> 24 28 29 #include "indian.hpp" 30 #include "undrv.hpp" 31 #include "../include/netface.hpp" // net interface structures to the engine will use 32 33 #include "../include/netface.hpp" 34 25 35 //#include "netdrv.hpp" 26 36 #include "gserver.hpp" -
abuse/trunk/src/netcfg.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "netcfg.hpp" 2 13 #include "input.hpp" -
abuse/trunk/src/newlight.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdlib.h> 13 1 14 #include "light.hpp" 2 #include <stdlib.h>3 15 #include "image.hpp" 4 16 #include "macs.hpp" -
abuse/trunk/src/nfclient.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #if (defined(__MACH__) || !defined(__APPLE__)) 13 # include <sys/types.h> 14 #endif 15 #include <fcntl.h> 16 #include <unistd.h> 17 #include <ctype.h> 18 1 19 #include "system.h" 2 20 #include "netface.hpp" … … 9 27 10 28 #include "gserver.hpp" 11 12 #if (defined(__MACH__) || !defined(__APPLE__))13 #include <sys/types.h>14 #endif15 16 #include <fcntl.h>17 #include <unistd.h>18 #include <ctype.h>19 29 20 30 void remove_client(int client_number) { ; } -
abuse/trunk/src/objects.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "timage.hpp" 2 13 #include "objects.hpp" -
abuse/trunk/src/old.nfclient.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <sys/types.h> 13 #include <fcntl.h> 14 #include <unistd.h> 15 1 16 #include "specs.hpp" 2 17 #include "nfserver.hpp" … … 4 19 #include "crc.hpp" 5 20 #include "cache.hpp" 6 #include <sys/types.h>7 #include <fcntl.h>8 #include <unistd.h>9 21 10 22 class nfs_file : public bFILE -
abuse/trunk/src/old.nfserver.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "jnet.hpp" 2 13 #include "specs.hpp" -
abuse/trunk/src/old_earth_menu.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <math.h> 13 1 14 #include "menu.hpp" 2 15 #include "lisp.hpp" … … 14 27 #include "dprint.hpp" 15 28 #include "demo.hpp" 16 #include <math.h>17 29 18 30 jwindow *volume_window=NULL; -
abuse/trunk/src/old_server.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #ifdef __WATCOMC__ 13 # define getlogin() "DOS user" 14 # include <dos.h> 15 #else 16 # include <unistd.h> 17 #endif 18 19 #include "nfserver.hpp" 20 1 21 #include "server.hpp" 2 22 #include "view.hpp" … … 9 29 //#include "nfserver.hpp" 10 30 //#include "nfclient.hpp" 11 12 #ifdef __WATCOMC__13 #define getlogin() "DOS user"14 #include <dos.h>15 #else16 #include <unistd.h>17 #endif18 19 #include "nfserver.hpp"20 21 31 22 32 //nfs_server *file_server=NULL; -
abuse/trunk/src/oldhelp.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "help.hpp" 2 13 #include "game.hpp" -
abuse/trunk/src/parse.cpp
r2 r56 1 #include "parse.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 2 12 #include <stdio.h> 3 13 #include <stdlib.h> 4 14 #include <ctype.h> 15 16 #include "parse.hpp" 5 17 6 18 char *ttype[]={"END","NUMBER","STRING","WORD","OPERATOR","LEFT BRACE","RIGHT BRACE", -
abuse/trunk/src/particle.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "macs.hpp" 2 13 #include "particle.hpp" -
abuse/trunk/src/pcxscale.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 12 #include <stdlib.h> 13 1 14 #include "pcxread.hpp" 2 15 #include "palette.hpp" 3 16 #include "image.hpp" 4 #include <stdlib.h>5 17 6 18 main(int argc, char **argv) -
abuse/trunk/src/points.cpp
r2 r56 1 #include "points.hpp" 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 2 12 #include <string.h> 3 13 14 #include "points.hpp" 4 15 #include "dev.hpp" 5 6 16 7 17 point_list::point_list(unsigned char how_many, unsigned char *Data) -
abuse/trunk/src/profile.cpp
r17 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include "profile.hpp" 2 13 #include "jwindow.hpp" -
abuse/trunk/src/property.cpp
r40 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <stdio.h> 2 13 #include <string.h> -
abuse/trunk/src/ramfile.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 ram_file::ram_file() 2 13 { -
abuse/trunk/src/remap.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <stdio.h> 2 3 13 #include <stdlib.h> 4 14 5 6 7 15 extern "C" { 8 9 16 void remap_line_asm(void *scr, void *remap, void *seq, int seqlen); 10 11 17 } 12 18 19 main() 20 { 21 unsigned char *s = (unsigned char *) malloc(320*200); 22 unsigned char *r, *seq; 23 int i,j; 13 24 25 r = (unsigned char *) malloc(256*256*2); 26 r = (unsigned char *) (((unsigned) r + (256*256-1)) & ~(256*256-1)); 27 seq = (unsigned char *) malloc(40); 14 28 15 main() 29 for (j=0 ; j<64 ; j++) 30 for (i=0 ; i<256; i++) 31 r[j*256+i] = i+j; 32 for (i=0 ; i<320*200 ; i++) s[i] = i&0xff; 33 for (i=0 ; i<40 ; i++) seq[i] = i; 16 34 17 { 18 19 20 21 unsigned char *s = (unsigned char *) malloc(320*200); 22 23 unsigned char *r, *seq; 24 25 int i,j; 26 27 28 29 r = (unsigned char *) malloc(256*256*2); 30 31 r = (unsigned char *) (((unsigned) r + (256*256-1)) & ~(256*256-1)); 32 33 seq = (unsigned char *) malloc(40); 34 35 36 37 for (j=0 ; j<64 ; j++) 38 39 for (i=0 ; i<256; i++) 40 41 r[j*256+i] = i+j; 42 43 for (i=0 ; i<320*200 ; i++) s[i] = i&0xff; 44 45 for (i=0 ; i<40 ; i++) seq[i] = i; 46 47 48 49 for (j=0 ; j<200 ; j++) 50 35 for (j=0 ; j<200 ; j++) 51 36 remap_line_asm(s+j*320, r, seq, 40); 52 53 54 55 56 57 37 } 58 38 59 60 -
abuse/trunk/src/scene.cpp
r39 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 10 #include "config.h" 11 1 12 #include <stdio.h> 2 13 #include <stdlib.h> 3 14 #include <ctype.h> 15 #include <fcntl.h> 16 4 17 #include "specs.hpp" 5 18 #include "timage.hpp" … … 11 24 #include "parse.hpp" 12 25 #include "cache.hpp" 13 #include <fcntl.h>14 26 15 27 -
abuse/trunk/src/sdlport/event.cpp
r39 r56 1 /************************ 2 * event.c 3 * SDL port for Abuse 4 * by Anthony Kruize 5 ************************/ 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 18 */ 19 20 #include "config.h" 6 21 7 22 #include <SDL.h> -
abuse/trunk/src/sdlport/jdir.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 18 */ 19 20 #include "config.h" 21 1 22 #include <sys/types.h> 2 23 #include <stdio.h> … … 5 26 #include <string.h> 6 27 #include <unistd.h> 28 7 29 #include "jmalloc.hpp" 8 30 -
abuse/trunk/src/sdlport/jnet.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 18 */ 19 20 #include "config.h" 21 1 22 #include <stdio.h> 2 23 #include <stdlib.h> -
abuse/trunk/src/sdlport/joystick.cpp
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 18 */ 19 20 #include "config.h" 21 1 22 #include "joy.hpp" 2 23 -
abuse/trunk/src/sdlport/mouse.cpp
r2 r56 1 /************************ 2 * mouse.c 3 * SDL port for Abuse 4 * by Anthony Kruize 5 ************************/ 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 18 */ 19 20 #include "config.h" 6 21 7 22 #include <SDL.h> -
abuse/trunk/src/sdlport/setup.cpp
r41 r56 1 /************************ 2 * setup.c 3 * SDL port for Abuse 4 * by Anthony Kruize 5 ************************/ 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 18 */ 6 19 7 20 #include "config.h" -
abuse/trunk/src/sdlport/setup.h
r2 r56 1 /* 2 * Abuse - dark 2D side-scrolling platform game 3 * Copyright (c) 1995 Crack dot Com 4 * 5 * This software was released into the Public Domain. As with most public 6 * domain software, no warranty is made or implied by Crack dot Com or 7 * Jonathan Clark. 8 */ 9 1 10 #ifndef _SETUP_H_ 2 11 #define _SETUP_H_