Changeset 724
- Timestamp:
- Sep 26, 2013, 5:28:08 PM (9 years ago)
- Location:
- abuse/branches/lol/src
- Files:
-
- 4 deleted
- 115 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/branches/lol/src/Makefile.am
r716 r724 2 2 include $(top_srcdir)/build/autotools/common.am 3 3 4 SUBDIRS = lisp net imlib sdlport 4 bin_PROGRAMS = abuse abuse-tool 5 5 6 bin_PROGRAMS = abuse abuse-tool 6 noinst_LIBRARIES = libabuse.a 7 7 8 8 abuse_SOURCES = \ … … 64 64 ui/volumewindow.cpp ui/volumewindow.h \ 65 65 $(NULL) 66 67 EXTRALIBS = lisp/liblisp.a sdlport/libsdlport.a imlib/libimlib.a net/libnet.a 68 EXTRAINCLUDES = -I$(srcdir) -I$(srcdir)/lisp -I$(srcdir)/imlib -I$(srcdir)/net 69 70 abuse_CPPFLAGS = $(EXTRAINCLUDES) $(AM_CPPFLAGS) 71 abuse_LDFLAGS = $(EXTRALIBS) $(AM_LDFLAGS) 66 abuse_CPPFLAGS = $(AM_CPPFLAGS) 67 abuse_LDFLAGS = libabuse.a $(AM_LDFLAGS) 72 68 abuse_LDADD = @LOL_LIBS@ 73 abuse_DEPENDENCIES = $(EXTRALIBS)@LOL_DEPS@69 abuse_DEPENDENCIES = libabuse.a @LOL_DEPS@ 74 70 75 71 abuse_tool_SOURCES = \ 76 72 tool/abuse-tool.cpp \ 77 73 crc.cpp crc.h 78 abuse_tool_CPPFLAGS = $( EXTRAINCLUDES) $(AM_CPPFLAGS)79 abuse_tool_LDFLAGS = $(EXTRALIBS)$(AM_LDFLAGS)74 abuse_tool_CPPFLAGS = $(AM_CPPFLAGS) 75 abuse_tool_LDFLAGS = libabuse.a $(AM_LDFLAGS) 80 76 abuse_tool_LDADD = @LOL_LIBS@ 81 abuse_tool_DEPENDENCIES = $(EXTRALIBS)@LOL_DEPS@77 abuse_tool_DEPENDENCIES = libabuse.a @LOL_DEPS@ 82 78 79 libabuse_a_SOURCES = \ 80 imlib/filter.cpp imlib/filter.h \ 81 imlib/image.cpp imlib/image.h \ 82 imlib/transimage.cpp imlib/transimage.h \ 83 imlib/input.cpp imlib/input.h \ 84 imlib/palette.cpp imlib/palette.h \ 85 imlib/include.cpp imlib/include.h \ 86 imlib/fonts.cpp imlib/fonts.h \ 87 imlib/specs.cpp imlib/specs.h \ 88 imlib/supmorph.cpp imlib/supmorph.h \ 89 imlib/pcxread.cpp imlib/pcxread.h \ 90 imlib/keys.cpp imlib/keys.h \ 91 imlib/dprint.cpp imlib/dprint.h \ 92 imlib/status.cpp imlib/status.h \ 93 imlib/pmenu.cpp imlib/pmenu.h \ 94 imlib/scroller.cpp imlib/scroller.h \ 95 imlib/filesel.cpp imlib/filesel.h \ 96 imlib/tools.cpp imlib/tools.h \ 97 imlib/guistat.cpp imlib/guistat.h \ 98 imlib/sprite.cpp imlib/sprite.h \ 99 imlib/window.cpp imlib/window.h \ 100 imlib/video.cpp imlib/video.h \ 101 imlib/event.cpp imlib/event.h \ 102 imlib/jdir.h imlib/visobj.h \ 103 \ 104 lisp/lisp.cpp lisp/lisp.h \ 105 lisp/lisp_opt.cpp lisp/lisp_opt.h \ 106 lisp/lisp_gc.cpp lisp/lisp_gc.h \ 107 lisp/trig.cpp \ 108 lisp/stack.h lisp/symbols.h \ 109 \ 110 net/gserver.cpp net/gserver.h \ 111 net/gclient.cpp net/gclient.h \ 112 net/fileman.cpp net/fileman.h \ 113 net/sock.cpp net/sock.h \ 114 net/tcpip.cpp net/tcpip.h \ 115 net/ghandler.h net/undrv.h \ 116 \ 117 sdlport/video.cpp \ 118 sdlport/event.cpp \ 119 sdlport/sound.cpp sdlport/sound.h \ 120 sdlport/jdir.cpp \ 121 sdlport/joystick.cpp sdlport/joy.h \ 122 sdlport/setup.cpp sdlport/setup.h \ 123 sdlport/hmi.cpp sdlport/hmi.h \ 124 $(NULL) 125 libabuse_a_CPPFLAGS = -I$(srcdir) -I$(srcdir)/.. $(AM_CPPFLAGS) -DASSETDIR=\"$(assetdir)\" 126 -
abuse/branches/lol/src/automap.h
r715 r724 12 12 #define __AUTOMAP_HPP_ 13 13 14 #include "window.h" 14 #include "imlib/window.h" 15 15 16 #include "level.h" 16 17 … … 21 22 int tick,w,h; // used to draw your position as a blinking spot 22 23 long old_dx,old_dy; 23 public : 24 25 public: 24 26 automap(Level *l, int width, int height); 25 27 void toggle_window(); … … 27 29 void draw(); 28 30 ~automap() { if (automap_window) toggle_window(); } 29 } 31 }; 30 32 31 33 extern automap *current_automap; … … 33 35 #endif 34 36 35 -
abuse/branches/lol/src/cache.cpp
r715 r724 22 22 #include "common.h" 23 23 24 #include "lisp/lisp.h" 25 #include "lisp/lisp_gc.h" 26 27 #include "imlib/video.h" 28 #include "imlib/dprint.h" 29 #include "imlib/status.h" 30 31 #include "lcache.h" 24 32 #include "cache.h" 25 #include "lisp.h"26 #include "video.h"27 #include "dprint.h"28 #include "lcache.h"29 #include "status.h"30 33 #include "game.h" 31 #include "lisp_gc.h"32 34 #include "level.h" 33 #include "status.h"34 35 #include "crc.h" 35 36 #include "dev.h" -
abuse/branches/lol/src/cache.h
r713 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 9 9 */ 10 10 11 #ifndef __CA SHE_HPP_12 #define __CA SHE_HPP_11 #ifndef __CACHE_HPP_ 12 #define __CACHE_HPP_ 13 13 14 14 #include <stdlib.h> 15 15 16 16 #include "lisp/lisp.h" 17 18 #include "imlib/specs.h" 19 17 20 #include "sdlport/sound.h" 18 21 19 #include "specs.h"20 22 #include "items.h" 21 23 #include "particle.h" -
abuse/branches/lol/src/chars.cpp
r715 r724 15 15 #include "common.h" 16 16 17 #include "lisp/lisp.h" 18 #include "lisp/lisp_gc.h" 19 20 #include "imlib/window.h" 21 #include "imlib/input.h" 22 #include "imlib/dprint.h" 23 17 24 #include "chars.h" 18 25 #include "game.h" 19 26 #include "intsect.h" 20 #include "lisp.h"21 #include "window.h"22 #include "input.h"23 27 #include "id.h" 24 28 #include "clisp.h" 25 #include "dprint.h"26 #include "lisp_gc.h"27 29 28 30 #define FADING_FRAMES 26 -
abuse/branches/lol/src/chars.h
r719 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 13 13 14 14 #include <string.h> 15 16 #include "seq.h"17 //#include "sound.h"18 #include "ability.h"19 #include "event.h"20 15 #include <stdarg.h> 21 16 #include <time.h> 22 17 18 #include "imlib/event.h" 19 20 #include "seq.h" 21 #include "ability.h" 23 22 24 23 enum character_state -
abuse/branches/lol/src/clisp.cpp
r723 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include <string.h> 16 16 17 #if defined HAVE_UNISTD_H 18 # include <unistd.h> /* for getcwd */ 19 #endif 20 17 21 #include "common.h" 18 22 23 #include "lisp/lisp.h" 24 #include "lisp/lisp_gc.h" 25 26 #include "imlib/pcxread.h" 27 #include "imlib/dprint.h" 28 #include "imlib/jdir.h" 29 19 30 #include "sdlport/joy.h" 20 31 21 32 #include "ant.h" 22 #include "lisp/lisp.h"23 33 #include "game.h" 24 34 #include "dev.h" 25 #include "imlib/pcxread.h"26 35 #include "menu.h" 27 #include "lisp/dprint.h"28 #include "lisp/lisp_gc.h"29 36 #include "clisp.h" 30 37 #include "chars.h" … … 34 41 #include "demo.h" 35 42 #include "chat.h" 36 #include "imlib/jdir.h"37 43 #include "netcfg.h" 38 44 … … 939 945 case 54 : 940 946 { 941 #if defined __CELLOS_LV2__ 942 /* FIXME: retrieve the PS3 account name */ 943 char const *cd = "Player"; 944 #else 947 #if defined HAVE_UNISTD_H 945 948 char cd[150]; 946 949 getcwd(cd, 100); 950 #else 951 /* FIXME: maybe retrieve the PS3 account name etc.? */ 952 char const *cd = "Player"; 947 953 #endif 948 954 return LString::Create(cd); -
abuse/branches/lol/src/configuration.cpp
r715 r724 17 17 #include "common.h" 18 18 19 #include "lisp/lisp.h" 20 21 #include "imlib/keys.h" 22 #include "imlib/window.h" 23 19 24 #include "sdlport/joy.h" 25 20 26 #include "game.h" 21 22 #include "keys.h"23 #include "lisp.h"24 #include "window.h"25 27 #include "configuration.h" 26 28 -
abuse/branches/lol/src/control.cpp
r691 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 13 13 #endif 14 14 15 #include "imlib/specs.h" 16 15 17 #include "game.h" 16 18 #include "control.h" 17 #include "specs.h"18 19 #include "hpoint.h" 19 20 #include "ability.h" -
abuse/branches/lol/src/cop.cpp
r719 r724 15 15 #include "common.h" 16 16 17 #include "lisp.h" 18 #include "lisp_gc.h" 17 #include "lisp/lisp.h" 18 #include "lisp/lisp_gc.h" 19 19 20 #include "compiled.h" 20 21 #include "objects.h" -
abuse/branches/lol/src/crc.h
r690 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define _CRC_HPP_ 13 13 14 #include " specs.h"14 #include "imlib/specs.h" 15 15 16 16 class Crc -
abuse/branches/lol/src/demo.cpp
r716 r724 15 15 #include "common.h" 16 16 17 #include " game.h"18 19 #include " demo.h"20 #include " specs.h"21 #include " window.h"22 #include "dprint.h" 17 #include "lisp/lisp.h" 18 19 #include "imlib/specs.h" 20 #include "imlib/window.h" 21 #include "imlib/dprint.h" 22 23 23 #include "dev.h" 24 #include "lisp.h"25 24 #include "clisp.h" 26 25 #include "netface.h" 27 26 #include "game.h" 27 #include "demo.h" 28 28 29 29 demo_manager demo_man; -
abuse/branches/lol/src/demo.h
r716 r724 12 12 #define __DEMO_HPP_ 13 13 14 #include "lisp.h" 15 #include "window.h" 14 #include "lisp/lisp.h" 15 16 #include "imlib/window.h" 16 17 17 18 class demo_manager -
abuse/branches/lol/src/dev.cpp
r716 r724 18 18 #include "common.h" 19 19 20 #include "lisp/lisp.h" 21 #include "lisp/lisp_gc.h" 22 23 #include "imlib/input.h" 24 #include "imlib/dprint.h" 25 #include "imlib/pmenu.h" 26 #include "imlib/filesel.h" 27 #include "imlib/tools.h" 28 #include "imlib/pcxread.h" 29 20 30 #include "dev.h" 21 #include "input.h"22 31 #include "objects.h" 23 32 #include "id.h" 24 #include "lisp.h"25 33 #include "light.h" 26 34 #include "devsel.h" 27 #include "dprint.h"28 35 #include "property.h" 29 #include "pmenu.h"30 #include "filesel.h"31 #include "tools.h"32 36 #include "game.h" 33 #include "pcxread.h"34 #include "lisp_gc.h"35 37 #include "demo.h" 36 38 #include "profile.h" -
abuse/branches/lol/src/devsel.cpp
r715 r724 15 15 #include "common.h" 16 16 17 #include "imlib/scroller.h" 18 17 19 #include "devsel.h" 18 #include "scroller.h"19 20 #include "cache.h" 20 21 #include "game.h" -
abuse/branches/lol/src/devsel.h
r716 r724 12 12 #define __DEVSCROLL_HPP_ 13 13 14 #include " scroller.h"14 #include "imlib/scroller.h" 15 15 16 16 class ATilePicker : public AScroller -
abuse/branches/lol/src/director.cpp
r706 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "lisp/lisp.h" 18 19 #include "imlib/fonts.h" 20 17 21 #include "director.h" 18 22 #include "game.h" 19 #include "lisp.h"20 #include "fonts.h"21 23 22 24 director scene_director; -
abuse/branches/lol/src/endgame.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 17 17 #include "common.h" 18 18 19 #include "lisp/lisp.h" 20 #include "lisp/lisp_gc.h" 21 22 #include "imlib/pmenu.h" 23 #include "imlib/dprint.h" 24 19 25 #include "menu.h" 20 #include "lisp.h"21 26 #include "game.h" 22 27 #include "game.h" 23 28 #include "id.h" 24 #include "pmenu.h"25 29 #include "gui.h" 26 30 #include "property.h" 27 31 #include "dev.h" 28 32 #include "clisp.h" 29 #include "dprint.h"30 33 #include "director.h" 31 #include "lisp_gc.h"32 34 33 35 extern Palette *old_pal; -
abuse/branches/lol/src/extend.cpp
r695 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "lisp/lisp.h" 18 17 19 #include "extend.h" 18 20 #include "view.h" 19 21 #include "objects.h" 20 #include "lisp.h"21 22 22 23 /* -
abuse/branches/lol/src/game.cpp
r719 r724 25 25 #include "loldebug.h" 26 26 27 #include "lisp/lisp.h" 28 #include "lisp/lisp_gc.h" 29 30 #include "imlib/scroller.h" 31 #include "imlib/dprint.h" 32 #include "imlib/video.h" 33 #include "imlib/guistat.h" 34 #include "imlib/pmenu.h" 35 27 36 #include "sdlport/joy.h" 28 37 29 38 #include "dev.h" 30 39 #include "game.h" 31 32 40 #include "id.h" 33 41 #include "automap.h" … … 35 43 #include "ability.h" 36 44 #include "cache.h" 37 #include "lisp.h"38 45 #include "configuration.h" 39 46 #include "light.h" 40 #include "scroller.h"41 #include "dprint.h"42 47 #include "nfserver.h" 43 #include "video.h"44 48 #include "transp.h" 45 49 #include "clisp.h" 46 #include "guistat.h"47 50 #include "menu.h" 48 51 #include "gamma.h" 49 #include "lisp_gc.h"50 52 #include "demo.h" 51 53 #include "statbar.h" 52 54 #include "profile.h" 53 55 #include "compiled.h" 54 #include "lisp_gc.h"55 #include "pmenu.h"56 56 #include "chat.h" 57 57 #include "demo.h" -
abuse/branches/lol/src/game.h
r715 r724 12 12 #define __GAME_HPP_ 13 13 14 #include "imlib/image.h" 15 #include "imlib/video.h" 16 #include "imlib/event.h" 17 #include "imlib/fonts.h" 18 #include "imlib/window.h" 19 #include "imlib/filter.h" 20 14 21 #include "loader2.h" 15 16 #include "image.h"17 #include "video.h"18 #include "event.h"19 #include "fonts.h"20 22 #include "items.h" 21 #include "window.h"22 #include "filter.h"23 23 #include "level.h" 24 24 #include "cache.h" -
abuse/branches/lol/src/gamma.cpp
r715 r724 17 17 #include "common.h" 18 18 19 #include "lisp/lisp.h" 20 21 #include "imlib/window.h" 22 #include "imlib/scroller.h" 23 #include "imlib/dprint.h" 24 19 25 #include "game.h" 20 21 #include "window.h"22 #include "lisp.h"23 #include "scroller.h"24 26 #include "id.h" 25 27 #include "cache.h" 26 #include "dprint.h"27 28 #include "loader2.h" 28 29 -
abuse/branches/lol/src/gamma.h
r694 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __GAMMA_HPP_ 13 13 14 #include "palette.h" 14 #include "imlib/palette.h" 15 15 16 void gamma_correct(Palette *&pal, int force_menu = 0); 16 17 -
abuse/branches/lol/src/gui.h
r716 r724 12 12 #define __GUI_HPP_ 13 13 14 #include " window.h"14 #include "imlib/window.h" 15 15 16 16 class AIconButton : public AWidget -
abuse/branches/lol/src/help.h
r643 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __HELP_HPP_ 13 13 14 #include " event.h"14 #include "imlib/event.h" 15 15 16 16 extern int total_help_screens; -
abuse/branches/lol/src/imlib/event.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This program is free software; you can redistribute it and/or modify … … 25 25 #include "common.h" 26 26 27 #include " event.h"28 #include " video.h"29 #include " filter.h"27 #include "imlib/event.h" 28 #include "imlib/video.h" 29 #include "imlib/filter.h" 30 30 31 31 // -
abuse/branches/lol/src/imlib/event.h
r715 r724 27 27 #define MIDDLE_BUTTON 4 28 28 29 #include "keys.h" 29 #include "imlib/keys.h" 30 30 31 #include "sprite.h" 31 32 -
abuse/branches/lol/src/imlib/filesel.cpp
r719 r724 13 13 #endif 14 14 15 #include <unistd.h> 15 #if defined HAVE_UNISTD_H 16 # include <unistd.h> 17 #endif 16 18 17 19 #include "common.h" 18 20 19 #include "filesel.h" 20 #include "input.h" 21 #include "scroller.h" 21 #include "imlib/filesel.h" 22 #include "imlib/input.h" 23 #include "imlib/scroller.h" 24 22 25 #include "jdir.h" 23 26 -
abuse/branches/lol/src/imlib/filesel.h
r715 r724 12 12 #define __FSELECT_HPP_ 13 13 14 #include " window.h"14 #include "imlib/window.h" 15 15 16 16 AWindow *file_dialog(char const *prompt, char const *def, 17 int ok_id, char const *ok_name, int cancel_id,17 int ok_id, char const *ok_name, int cancel_id, 18 18 char const *cancel_name, char const *FILENAME_str, 19 int filename_id);19 int filename_id); 20 20 21 21 #endif -
abuse/branches/lol/src/imlib/filter.cpp
r719 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "im age.h"18 #include " filter.h"17 #include "imlib/image.h" 18 #include "imlib/filter.h" 19 19 20 20 Filter::Filter(int colors) -
abuse/branches/lol/src/imlib/filter.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define _FILTER_HPP 13 13 14 #include "im age.h"15 #include " palette.h"16 #include " specs.h"14 #include "imlib/image.h" 15 #include "imlib/palette.h" 16 #include "imlib/specs.h" 17 17 18 18 class Filter -
abuse/branches/lol/src/imlib/fonts.cpp
r719 r724 17 17 #include "common.h" 18 18 19 #include " fonts.h"19 #include "imlib/fonts.h" 20 20 21 21 void JCFont::PutString(AImage *screen, ivec2 pos, String const &st, int color) -
abuse/branches/lol/src/imlib/fonts.h
r715 r724 12 12 #define __FONTS_HPP_ 13 13 14 #include "im age.h"15 #include " transimage.h"14 #include "imlib/image.h" 15 #include "imlib/transimage.h" 16 16 17 17 class JCFont -
abuse/branches/lol/src/imlib/guistat.cpp
r715 r724 17 17 #include "common.h" 18 18 19 #include "i nput.h"20 #include " status.h"21 #include " guistat.h"19 #include "imlib/input.h" 20 #include "imlib/status.h" 21 #include "imlib/guistat.h" 22 22 23 23 class gui_status_node -
abuse/branches/lol/src/imlib/guistat.h
r715 r724 14 14 #include <string.h> 15 15 16 #include " status.h"17 #include " window.h"16 #include "imlib/status.h" 17 #include "imlib/window.h" 18 18 19 19 class gui_status_node; -
abuse/branches/lol/src/imlib/image.cpp
r719 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 18 18 #include "common.h" 19 19 20 #include "im age.h"20 #include "imlib/image.h" 21 21 22 22 Array<AImage *> image_list; // FIXME: only jwindow.cpp needs this -
abuse/branches/lol/src/imlib/image.h
r711 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 13 13 14 14 #include <stdlib.h> 15 #include "palette.h" 16 #include "specs.h" 15 16 #include "imlib/palette.h" 17 #include "imlib/specs.h" 18 17 19 #define MAX_DIRTY 200 18 20 -
abuse/branches/lol/src/imlib/include.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 11 11 #ifndef __INCLUDE_HPP_ 12 12 #define __INCLUDE_HPP_ 13 #include "image.h" 14 #include "palette.h" 13 14 #include "imlib/image.h" 15 #include "imlib/palette.h" 15 16 16 17 void write_include(AImage *im, Palette *pal, char *filename, char *name); -
abuse/branches/lol/src/imlib/input.cpp
r717 r724 17 17 #include "common.h" 18 18 19 #include "i nput.h"19 #include "imlib/input.h" 20 20 21 21 void AButton::remap(Filter *f) -
abuse/branches/lol/src/imlib/input.h
r717 r724 12 12 #define __INPUT_HPP_ 13 13 14 #include " window.h"15 #include " filter.h"14 #include "imlib/window.h" 15 #include "imlib/filter.h" 16 16 17 17 extern WindowManager *wm; /* FIXME: get rid of this if possible */ -
abuse/branches/lol/src/imlib/keys.cpp
r555 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 16 16 #include <ctype.h> 17 17 18 #include " keys.h"18 #include "imlib/keys.h" 19 19 20 20 char const *jk_key_names[]= -
abuse/branches/lol/src/imlib/palette.cpp
r719 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 17 17 #include "common.h" 18 18 19 #include " palette.h"20 #include "im age.h"21 #include " video.h"22 #include " filter.h"19 #include "imlib/palette.h" 20 #include "imlib/image.h" 21 #include "imlib/video.h" 22 #include "imlib/filter.h" 23 23 24 24 Palette *lastl = NULL; -
abuse/branches/lol/src/imlib/palette.h
r711 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define _PALETTE_H_ 13 13 14 #include " specs.h"14 #include "imlib/specs.h" 15 15 16 16 class Palette -
abuse/branches/lol/src/imlib/pcxread.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include " pcxread.h"18 #include " specs.h"17 #include "imlib/pcxread.h" 18 #include "imlib/specs.h" 19 19 20 20 enum PCX_type { not_PCX, PCX_8, PCX_24 }; -
abuse/branches/lol/src/imlib/pcxread.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __PCX_READ_HPP__ 13 13 14 #include "im age.h"15 #include " palette.h"14 #include "imlib/image.h" 15 #include "imlib/palette.h" 16 16 17 17 void write_PCX(AImage *im, Palette *pal, char const *filename); -
abuse/branches/lol/src/imlib/pmenu.cpp
r715 r724 17 17 #include "common.h" 18 18 19 #include " pmenu.h"19 #include "imlib/pmenu.h" 20 20 21 21 void pmenu::move(int new_x, int new_y) -
abuse/branches/lol/src/imlib/pmenu.h
r715 r724 12 12 #define __PMENU_HPP_ 13 13 14 #include "i nput.h"14 #include "imlib/input.h" 15 15 16 16 class psub_menu; -
abuse/branches/lol/src/imlib/scroller.cpp
r716 r724 15 15 #include "common.h" 16 16 17 #include "scroller.h" 17 #include "imlib/scroller.h" 18 18 19 #define HS_ICON_W 10 19 20 #define HS_ICON_H 8 20 21 21 22 22 uint8_t const hs_left_arrow[10*8]={ -
abuse/branches/lol/src/imlib/scroller.h
r716 r724 12 12 #define _SCROLLER_HPP_ 13 13 14 #include "i nput.h"14 #include "imlib/input.h" 15 15 16 16 class AScroller : public AWidget -
abuse/branches/lol/src/imlib/specs.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 19 19 #include <fcntl.h> 20 20 #include <math.h> 21 #include <unistd.h> 21 22 #if defined HAVE_UNISTD_H 23 # include <unistd.h> 24 #endif 25 22 26 #include <sys/types.h> 23 27 #include <sys/stat.h> … … 25 29 #include "common.h" 26 30 27 #include "im age.h"28 #include " palette.h"29 #include " specs.h"30 #include " dprint.h"31 #include "imlib/image.h" 32 #include "imlib/palette.h" 33 #include "imlib/specs.h" 34 #include "imlib/dprint.h" 31 35 32 36 char const *spec_types[] = -
abuse/branches/lol/src/imlib/sprite.cpp
r719 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 17 17 #include "common.h" 18 18 19 #include "video.h" 20 #include "image.h" 21 #include "palette.h" 19 #include "imlib/video.h" 20 #include "imlib/image.h" 21 #include "imlib/palette.h" 22 22 23 #include "sprite.h" 23 24 -
abuse/branches/lol/src/imlib/sprite.h
r711 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __SPRITE_HPP 13 13 14 #include "im age.h"14 #include "imlib/image.h" 15 15 16 16 class ASprite -
abuse/branches/lol/src/imlib/status.cpp
r715 r724 17 17 #include "common.h" 18 18 19 #include " status.h"20 #include " dprint.h"19 #include "imlib/status.h" 20 #include "imlib/dprint.h" 21 21 22 22 status_manager *stat_man=NULL; -
abuse/branches/lol/src/imlib/supmorph.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include " supmorph.h"18 #include " specs.h"19 #include " transimage.h"20 #include " filter.h"21 #include " video.h"17 #include "imlib/supmorph.h" 18 #include "imlib/specs.h" 19 #include "imlib/transimage.h" 20 #include "imlib/filter.h" 21 #include "imlib/video.h" 22 22 23 23 #define p_swap(x,y) { x^=y; y^=x; x^=y; } -
abuse/branches/lol/src/imlib/supmorph.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __SUPER_MORPH_HPP__ 13 13 14 #include " transimage.h"14 #include "imlib/transimage.h" 15 15 16 16 class super_morph -
abuse/branches/lol/src/imlib/tools.cpp
r715 r724 15 15 #include "common.h" 16 16 17 #include " tools.h"17 #include "imlib/tools.h" 18 18 19 19 AToolPicker::AToolPicker(ivec2 pos, int id, -
abuse/branches/lol/src/imlib/tools.h
r715 r724 12 12 #define __TOOLS_HPP_ 13 13 14 #include "window.h" 15 #include "input.h" 16 #include "specs.h" 17 #include "scroller.h" 14 #include "imlib/window.h" 15 #include "imlib/input.h" 16 #include "imlib/specs.h" 17 #include "imlib/scroller.h" 18 18 19 #include "visobj.h" 19 20 … … 50 51 #endif 51 52 52 53 54 55 56 57 -
abuse/branches/lol/src/imlib/transimage.cpp
r719 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 18 18 #include "common.h" 19 19 20 #include " transimage.h"20 #include "imlib/transimage.h" 21 21 22 22 TransImage::TransImage(AImage *im, char const *name) -
abuse/branches/lol/src/imlib/transimage.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __TIMAGE_HPP__ 13 13 14 #include "im age.h"15 #include " palette.h"16 #include " filter.h"14 #include "imlib/image.h" 15 #include "imlib/palette.h" 16 #include "imlib/filter.h" 17 17 18 18 /* Data is stored in the following format: -
abuse/branches/lol/src/imlib/video.cpp
r710 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 17 17 #include "common.h" 18 18 19 #include "im age.h"20 #include " video.h"19 #include "imlib/image.h" 20 #include "imlib/video.h" 21 21 22 22 void update_dirty(AImage *im, int xoff, int yoff) -
abuse/branches/lol/src/imlib/video.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define _VIDEO_HPP_ 13 13 14 #include "imlib/image.h" 15 14 16 #define TRI_1024x768x256 0x62 15 17 #define TRI_800x600x256 0x5e … … 19 21 #define XWINDOWS_256 256 20 22 #define XWINDOWS_2 2 21 22 #include "image.h"23 23 24 24 class AbuseVideo -
abuse/branches/lol/src/imlib/visobj.h
r715 r724 12 12 #define VIS_OBJECT_HPP 13 13 14 #include " window.h"15 #include " filter.h"14 #include "imlib/window.h" 15 #include "imlib/filter.h" 16 16 17 17 class AVisualObject -
abuse/branches/lol/src/imlib/window.cpp
r719 r724 17 17 #include "common.h" 18 18 19 #include " video.h"20 #include "im age.h"21 #include "i nput.h"22 #include " event.h"23 #include " filter.h"24 #include " window.h"19 #include "imlib/video.h" 20 #include "imlib/image.h" 21 #include "imlib/input.h" 22 #include "imlib/event.h" 23 #include "imlib/filter.h" 24 #include "imlib/window.h" 25 25 26 26 static int jw_left = 3, jw_right = 3, jw_top = 2, jw_bottom = 3; -
abuse/branches/lol/src/imlib/window.h
r716 r724 14 14 #include <stdarg.h> 15 15 16 #include " video.h"17 #include "im age.h"18 #include " event.h"19 #include " filter.h"20 #include " fonts.h"16 #include "imlib/video.h" 17 #include "imlib/image.h" 18 #include "imlib/event.h" 19 #include "imlib/filter.h" 20 #include "imlib/fonts.h" 21 21 22 22 class WindowManager; -
abuse/branches/lol/src/innet.cpp
r715 r724 17 17 #include "common.h" 18 18 19 #include "demo.h" 20 #include "specs.h" 21 #include "level.h" 22 #include "game.h" 23 #include "dev.h" 24 #include "netface.h" 25 26 #if HAVE_NETWORK 27 # include "fileman.h" 28 #endif 19 #include "imlib/specs.h" 20 #include "imlib/dprint.h" 21 29 22 #include "net/sock.h" 30 23 #include "net/ghandler.h" 31 24 #include "net/gserver.h" 32 25 #include "net/gclient.h" 33 #include "dprint.h" 26 27 #include "demo.h" 28 #include "level.h" 29 #include "game.h" 30 #include "dev.h" 31 #if HAVE_NETWORK 32 # include "fileman.h" 33 #endif 34 #include "netface.h" 34 35 #include "netcfg.h" 35 36 -
abuse/branches/lol/src/items.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "lisp/lisp.h" 18 17 19 #include "items.h" 18 #include "lisp.h"19 20 #include "dev.h" 20 21 21 22 22 extern Palette *g_palette; -
abuse/branches/lol/src/items.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 11 11 #ifndef __ITEMS_HPP__ 12 12 #define __ITEMS_HPP__ 13 #include "image.h" 14 #include "transimage.h" 15 #include "specs.h" 16 #include "points.h" 13 17 14 #include <stdio.h> 18 15 #include <stdlib.h> 16 17 #include "imlib/image.h" 18 #include "imlib/transimage.h" 19 #include "imlib/specs.h" 20 21 #include "points.h" 19 22 20 23 #define AUTOTILE_WIDTH 6 -
abuse/branches/lol/src/lcache.cpp
r686 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 21 21 #include "common.h" 22 22 23 #include "lisp.h" 24 #include "specs.h" 23 #include "lisp/lisp.h" 24 25 #include "imlib/specs.h" 25 26 26 27 size_t block_size(LObject *level) // return size needed to recreate this block -
abuse/branches/lol/src/lcache.h
r555 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 11 11 #ifndef __LCACHE_HPP_ 12 12 #define __LCACHE_HPP_ 13 #include "lisp.h" 13 14 #include "lisp/lisp.h" 14 15 15 16 // return number of bytes to save this block of code -
abuse/branches/lol/src/level.cpp
r716 r724 24 24 #include "common.h" 25 25 26 #include "lisp/lisp.h" 27 #include "lisp/lisp_gc.h" 28 29 #include "imlib/dprint.h" 30 #include "imlib/status.h" 31 #include "imlib/pcxread.h" 32 26 33 #include "light.h" 27 34 #include "level.h" 28 35 #include "game.h" 29 36 #include "intsect.h" 30 #include "lisp.h"31 #include "dprint.h"32 37 #include "particle.h" 33 38 #include "objects.h" 34 39 #include "clisp.h" 35 #include "status.h"36 40 #include "dev.h" 37 41 #include "demo.h" 38 #include "pcxread.h"39 42 #include "profile.h" 40 43 #include "statbar.h" 41 44 #include "cop.h" 42 45 #include "nfserver.h" 43 #include "lisp_gc.h"44 46 45 47 Level *g_current_level; -
abuse/branches/lol/src/level.h
r712 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 13 13 #define __LEVEL_HPP_ 14 14 15 #include "specs.h" 15 #include "imlib/specs.h" 16 16 17 #include "objects.h" 17 18 #include "view.h" -
abuse/branches/lol/src/light.cpp
r719 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 17 17 #include "common.h" 18 18 19 #include "imlib/image.h" 20 #include "imlib/video.h" 21 #include "imlib/palette.h" 22 #include "imlib/specs.h" 23 #include "imlib/dprint.h" 24 #include "imlib/filter.h" 25 #include "imlib/status.h" 26 19 27 #include "light.h" 20 #include "image.h"21 #include "video.h"22 #include "palette.h"23 #include "specs.h"24 #include "dprint.h"25 #include "filter.h"26 #include "status.h"27 28 #include "dev.h" 28 29 -
abuse/branches/lol/src/light.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define LIGHT_HPP 13 13 14 #include "image.h" 15 #include "palette.h" 14 #include "imlib/image.h" 15 #include "imlib/palette.h" 16 16 17 #include "configuration.h" 17 18 #include "crc.h" -
abuse/branches/lol/src/lisp/lisp.cpp
r713 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 23 23 #define TYPE_CHECKING 1 24 24 25 #include "lisp.h" 26 #include "lisp_gc.h" 25 #include "lisp/lisp.h" 26 #include "lisp/lisp_gc.h" 27 27 28 #include "symbols.h" 28 29 29 #ifdef NO_LIBS 30 30 # include "fakelib.h" 31 31 #else 32 # include " status.h"33 # include " specs.h"34 # include " dprint.h"32 # include "imlib/status.h" 33 # include "imlib/specs.h" 34 # include "imlib/dprint.h" 35 35 # include "cache.h" 36 36 # include "dev.h" -
abuse/branches/lol/src/lisp/lisp_gc.cpp
r687 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 18 18 #include "common.h" 19 19 20 #include "lisp .h"21 #include "lisp _gc.h"20 #include "lisp/lisp.h" 21 #include "lisp/lisp_gc.h" 22 22 23 23 #include "stack.h" -
abuse/branches/lol/src/lisp/lisp_opt.cpp
r636 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 14 14 15 15 #ifdef NO_LIBS 16 # include "fakelib.h"16 # include "fakelib.h" 17 17 #endif 18 18 19 #include "lisp .h"20 #include "lisp _gc.h"19 #include "lisp/lisp.h" 20 #include "lisp/lisp_gc.h" 21 21 22 22 LObject *l_undefined; -
abuse/branches/lol/src/lisp/lisp_opt.h
r555 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __LISP_OPT_HPP_ 13 13 14 #include "lisp .h"14 #include "lisp/lisp.h" 15 15 16 16 extern LObject *l_undefined; -
abuse/branches/lol/src/loader2.cpp
r716 r724 17 17 #include "common.h" 18 18 19 #include "imlib/specs.h" 20 #include "lisp/lisp.h" 21 #include "imlib/dprint.h" 22 19 23 #include "loader2.h" 20 24 #include "chars.h" 21 #include "specs.h"22 #include "lisp.h"23 25 #include "menu.h" 24 26 #include "dev.h" 25 27 #include "director.h" 26 27 28 #include "dev.h" 28 29 #include "light.h" 29 #include "dprint.h"30 30 #include "particle.h" 31 31 #include "clisp.h" -
abuse/branches/lol/src/loader2.h
r715 r724 13 13 14 14 #include "lisp/lisp.h" 15 16 #include "imlib/window.h" 17 15 18 #include "sdlport/sound.h" 16 17 #include "window.h"18 19 19 20 extern class APropertyManager *g_prop; -
abuse/branches/lol/src/loadgame.cpp
r719 r724 17 17 #include "common.h" 18 18 19 #include "lisp/lisp.h" 20 21 #include "imlib/specs.h" 22 #include "imlib/window.h" 23 #include "imlib/input.h" 24 #include "imlib/fonts.h" 25 #include "imlib/dprint.h" 26 19 27 #include "game.h" 20 21 #include "specs.h"22 #include "window.h"23 28 #include "id.h" 24 #include "input.h"25 #include "fonts.h"26 #include "lisp.h"27 #include "dprint.h"28 29 #include "cache.h" 29 30 #include "gui.h" -
abuse/branches/lol/src/menu.cpp
r719 r724 17 17 #include "common.h" 18 18 19 #include "lisp/lisp.h" 20 21 #include "imlib/pmenu.h" 22 #include "imlib/dprint.h" 23 #include "imlib/scroller.h" 24 25 #include "net/sock.h" 26 27 #include "ui/volumewindow.h" 28 19 29 #include "dev.h" 20 21 #include "ui/volumewindow.h"22 23 30 #include "menu.h" 24 #include "lisp.h"25 31 #include "game.h" 26 32 #include "game.h" 27 33 #include "id.h" 28 #include "pmenu.h"29 34 #include "gui.h" 30 35 #include "property.h" 31 36 #include "clisp.h" 32 37 #include "gamma.h" 33 #include "dprint.h"34 38 #include "demo.h" 35 39 #include "loadgame.h" 36 #include "scroller.h"37 40 #include "netcfg.h" 38 39 #include "net/sock.h"40 41 41 42 extern net_protocol *prot; -
abuse/branches/lol/src/menu.h
r555 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 11 11 #ifndef GRUE_MENU_HPP 12 12 #define GRUE_MENU_HPP 13 #include "fonts.h" 13 14 #include "imlib/fonts.h" 14 15 15 16 int menu(void *args, JCFont *font); // reurns -1 on esc -
abuse/branches/lol/src/morpher.h
r691 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 11 11 #ifndef __MORPHER_HPP_ 12 12 #define __MORPHER_HPP_ 13 #include "supmorph.h" 13 14 #include "imlib/supmorph.h" 15 14 16 #include "configuration.h" 15 17 -
abuse/branches/lol/src/net/gserver.cpp
r715 r724 16 16 #include <stdlib.h> 17 17 #include <fcntl.h> 18 #include <unistd.h> 18 #if defined HAVE_UNISTD_H 19 # include <unistd.h> 20 #endif 19 21 #include <sys/stat.h> 20 22 #include <sys/types.h> … … 22 24 23 25 #include "common.h" 26 27 #include "imlib/window.h" 28 #include "imlib/input.h" 24 29 25 30 #include "gserver.h" … … 27 32 #include "netcfg.h" 28 33 #include "id.h" 29 #include "window.h"30 #include "input.h"31 34 #include "dev.h" 32 35 #include "game.h" -
abuse/branches/lol/src/netcfg.cpp
r716 r724 15 15 #include "common.h" 16 16 17 #include "imlib/input.h" 18 19 #include "net/sock.h" 20 17 21 #include "game.h" 18 19 22 #include "netcfg.h" 20 #include "input.h"21 23 #include "cache.h" 22 24 #include "light.h" 23 24 25 #include "dev.h" 25 26 #include "net/sock.h"27 26 28 27 extern char *get_login(); -
abuse/branches/lol/src/netcfg.h
r715 r724 12 12 #define __NETCFG_HPP_ 13 13 14 #include " window.h"14 #include "imlib/window.h" 15 15 16 16 class net_configuration -
abuse/branches/lol/src/nfclient.cpp
r713 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 17 17 #endif 18 18 #include <fcntl.h> 19 #include <unistd.h> 19 #if defined HAVE_UNISTD_H 20 # include <unistd.h> 21 #endif 20 22 #include <ctype.h> 21 23 22 24 #include "common.h" 23 25 26 #include "imlib/specs.h" 27 #include "imlib/dprint.h" 28 29 #include "net/gserver.h" 30 24 31 #include "netface.h" 25 26 #include "specs.h"27 32 #include "nfserver.h" 28 #include "dprint.h"29 33 #include "crc.h" 30 34 #include "cache.h" 31 32 #include "net/gserver.h"33 35 34 36 void remove_client(int client_number) { ; } -
abuse/branches/lol/src/nfserver.h
r651 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __NFSERVER_HPP_ 13 13 14 #include "specs.h" 14 #include "imlib/specs.h" 15 16 #include "net/sock.h" 17 15 18 #include "netface.h" 16 #include "net/sock.h"17 19 18 20 int net_init(int argc, char **argv); -
abuse/branches/lol/src/objects.cpp
r706 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "transimage.h" 17 #include "lisp/lisp.h" 18 #include "lisp/lisp_gc.h" 19 20 #include "imlib/transimage.h" 21 #include "imlib/dprint.h" 22 18 23 #include "objects.h" 19 24 #include "chars.h" 20 21 25 #include "game.h" 22 26 #include "intsect.h" 23 27 #include "ability.h" 24 #include "lisp.h"25 28 #include "light.h" 26 #include "dprint.h"27 29 #include "clisp.h" 28 #include "lisp_gc.h"29 30 #include "profile.h" 30 31 -
abuse/branches/lol/src/objects.h
r715 r724 11 11 #ifndef _OBJECTS_HPP_ 12 12 #define _OBJECTS_HPP_ 13 #include "input.h" 13 14 #include "imlib/input.h" 15 14 16 #include "chars.h" 15 17 //#include "sound.h" -
abuse/branches/lol/src/old.nfclient.cpp
r690 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include <sys/types.h> 16 16 #include <fcntl.h> 17 #include <unistd.h> 18 19 #include "specs.h" 17 #if defined HAVE_UNISTD_H 18 # include <unistd.h> 19 #endif 20 21 #include "imlib/specs.h" 22 #include "imlib/dprint.h" 23 20 24 #include "nfserver.h" 21 #include "dprint.h"22 25 #include "crc.h" 23 26 #include "cache.h" -
abuse/branches/lol/src/old.nfserver.cpp
r706 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 13 13 #endif 14 14 15 #include "imlib/specs.h" 16 #include "imlib/dprint.h" 17 15 18 #include "jnet.h" 16 #include "specs.h"17 19 #include "nfserver.h" 18 #include "dprint.h"19 20 #include "cache.h" 20 21 #include "crc.h" -
abuse/branches/lol/src/old_server.cpp
r706 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 13 13 #endif 14 14 15 #include <unistd.h> 15 #if defined HAVE_UNISTD_H 16 # include <unistd.h> 17 #endif 18 19 #include "imlib/dprint.h" 16 20 17 21 #include "nfserver.h" 18 19 22 #include "server.h" 20 23 #include "view.h" 21 #include "dprint.h"22 24 #include "jnet.h" 23 25 #include "level.h" 24 26 #include "game.h" 25 //#include "nfserver.h"26 //#include "nfclient.h"27 27 28 28 //nfs_server *file_server=NULL; -
abuse/branches/lol/src/particle.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "lisp/lisp.h" 18 17 19 #include "particle.h" 18 20 #include "view.h" 19 #include "lisp.h"20 21 #include "cache.h" 21 22 22 23 23 static int total_pseqs=0; -
abuse/branches/lol/src/particle.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __PARTICLE_HPP_ 13 13 14 #include " specs.h"15 #include "im age.h"14 #include "imlib/specs.h" 15 #include "imlib/image.h" 16 16 17 17 class view; -
abuse/branches/lol/src/points.h
r555 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include <stdlib.h> 16 16 17 #include " specs.h"17 #include "imlib/specs.h" 18 18 19 19 class point_list -
abuse/branches/lol/src/profile.cpp
r715 r724 15 15 #include "common.h" 16 16 17 #include "imlib/window.h" 18 17 19 #include "game.h" 18 19 20 #include "profile.h" 20 #include "window.h"21 21 #include "property.h" 22 22 #include "objects.h" -
abuse/branches/lol/src/profile.h
r643 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 12 12 #define __JPROF_HPP_ 13 13 14 #include " event.h"14 #include "imlib/event.h" 15 15 16 16 void profile_init(); … … 23 23 int profiling(); 24 24 25 #endif 25 26 26 #endif -
abuse/branches/lol/src/property.cpp
r714 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 18 18 #include "common.h" 19 19 20 #include "imlib/dprint.h" 21 20 22 #include "property.h" 21 #include "dprint.h"22 23 #include "game.h" 23 24 -
abuse/branches/lol/src/sdlport/event.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This program is free software; you can redistribute it and/or modify … … 27 27 #include "common.h" 28 28 29 #include "image.h" 30 #include "palette.h" 31 #include "video.h" 32 #include "event.h" 29 #include "imlib/image.h" 30 #include "imlib/palette.h" 31 #include "imlib/video.h" 32 #include "imlib/event.h" 33 33 34 #include "sprite.h" 34 35 #include "game.h" -
abuse/branches/lol/src/sdlport/setup.cpp
r703 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This program is free software; you can redistribute it and/or modify … … 27 27 #include <sys/stat.h> 28 28 #include <signal.h> 29 29 30 #include <SDL.h> 30 #ifdef __APPLE__31 # include <Carbon/Carbon.h>32 # include <OpenGL/gl.h>33 # include <OpenGL/glu.h>34 #else35 # include <GL/gl.h>36 # include <GL/glu.h>37 #endif /* __APPLE__ */38 31 39 32 #include "common.h" 40 33 41 #include "specs.h" 42 #include "keys.h" 34 #include "imlib/specs.h" 35 #include "imlib/keys.h" 36 43 37 #include "setup.h" 44 38 … … 67 61 printf( " -datadir <arg> Set the location of the game data to <arg>\n" ); 68 62 printf( " -fullscreen Enable fullscreen mode\n" ); 69 printf( " -antialias Enable anti-aliasing\n" );70 63 printf( " -h, --help Display this text\n" ); 71 64 printf( " -mono Disable stereo sound\n" ); … … 94 87 fputs( "; Use mono audio only\nmono=0\n\n", fd ); 95 88 fputs( "; Grab the mouse to the window\ngrabmouse=0\n\n", fd ); 96 fputs( "; Use anti-aliasing\nantialias=1\n\n", fd );97 89 fputs( "; Disable the SDL parachute in the case of a crash\nnosdlparachute=0\n\n", fd ); 98 90 fputs( "; Key mappings\n", fd ); … … 139 131 flags.grabmouse = atoi( result ); 140 132 } 141 else if( strcasecmp( result, "antialias" ) == 0 )142 {143 result = strtok( NULL, "\n" );144 if( atoi( result ) )145 {146 flags.antialias = GL_LINEAR;147 }148 }149 133 else if( strcasecmp( result, "nosdlparachute" ) == 0 ) 150 134 { … … 233 217 { 234 218 flags.nosound = 1; 235 }236 else if( !strcasecmp( argv[ii], "-antialias" ) )237 {238 flags.antialias = GL_LINEAR;239 219 } 240 220 else if( !strcasecmp( argv[ii], "-mono" ) ) … … 271 251 flags.xres = xres = 320; // Default window width 272 252 flags.yres = yres = 200; // Default window height 273 flags.antialias = GL_NEAREST; // Don't anti-alias274 253 keys.up = key_value( "UP" ); 275 254 keys.down = key_value( "DOWN" ); -
abuse/branches/lol/src/sdlport/setup.h
r702 r724 22 22 short yres; 23 23 short overlay; 24 int antialias;25 24 }; 26 25 -
abuse/branches/lol/src/sdlport/sound.cpp
r722 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This program is free software; you can redistribute it and/or modify … … 25 25 #include <cstring> 26 26 27 #include "common.h"28 29 27 #include <SDL.h> 30 28 #include <SDL/SDL_mixer.h> 31 29 30 #include "common.h" 31 32 #include "imlib/specs.h" 33 32 34 #include "sound.h" 33 35 #include "hmi.h" 34 #include "specs.h"35 36 #include "setup.h" 36 37 -
abuse/branches/lol/src/sdlport/video.cpp
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This program is free software; you can redistribute it and/or modify … … 23 23 #endif 24 24 25 #include <SDL.h>26 27 #ifdef __APPLE__28 # include <OpenGL/gl.h>29 # include <OpenGL/glu.h>30 #else31 # include <GL/gl.h>32 # include <GL/glu.h>33 #endif /* __APPLE__ */34 35 25 #include "common.h" 36 26 37 #include "filter.h" 38 #include "video.h" 39 #include "image.h" 27 #include "imlib/filter.h" 28 #include "imlib/video.h" 29 #include "imlib/image.h" 30 40 31 #include "setup.h" 41 32 -
abuse/branches/lol/src/sensor.cpp
r695 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "lisp.h" 18 #include "lisp_gc.h" 17 #include "lisp/lisp.h" 18 #include "lisp/lisp_gc.h" 19 19 20 #include "compiled.h" 20 21 #include "objects.h" -
abuse/branches/lol/src/seq.cpp
r555 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 15 15 #include "common.h" 16 16 17 #include "lisp/lisp.h" 18 17 19 #include "seq.h" 18 #include "lisp.h"19 20 20 21 size_t sequence::MemUsage() -
abuse/branches/lol/src/server2.cpp
r693 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 13 13 #endif 14 14 15 #include "imlib/dprint.h" 16 15 17 #include "server2.h" 16 18 #include "nfserver.h" 17 19 #include "nfclient.h" 18 #include "dprint.h"19 20 #include "view.h" 20 21 #include "objects.h" -
abuse/branches/lol/src/specache.h
r689 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 14 14 #include "common.h" 15 15 16 #include " specs.h"16 #include "imlib/specs.h" 17 17 18 18 class SpecDirCache -
abuse/branches/lol/src/statbar.cpp
r716 r724 15 15 #include "common.h" 16 16 17 #include "lisp/lisp.h" 18 17 19 #include "statbar.h" 18 20 #include "view.h" 19 #include "lisp.h"20 21 #include "cache.h" 21 22 #include "demo.h" -
abuse/branches/lol/src/statbar.h
r716 r724 12 12 #define __STAT_BAR_H_ 13 13 14 #include "imlib/image.h" 14 15 15 16 class view; 16 17 17 18 #define TOTAL_WEAPONS 8 18 #include "image.h"19 19 20 20 class status_bar -
abuse/branches/lol/src/tool/abuse-tool.cpp
r709 r724 2 2 // Abuse Tool - package manager for Abuse format 3 3 // 4 // Copyright: (c) 2011 Sam Hocevar <sam@hocevar.net>4 // Copyright: (c) 2011-2013 Sam Hocevar <sam@hocevar.net> 5 5 // This program is free software; you can redistribute it and/or 6 6 // modify it under the terms of the Do What The Fuck You Want To … … 17 17 18 18 #include "common.h" 19 #include "specs.h" 20 #include "image.h" 21 #include "pcxread.h" 19 20 #include "imlib/specs.h" 21 #include "imlib/image.h" 22 #include "imlib/pcxread.h" 23 22 24 #include "crc.h" 23 25 -
abuse/branches/lol/src/transp.h
r709 r724 2 2 * Abuse - dark 2D side-scrolling platform game 3 3 * Copyright (c) 1995 Crack dot Com 4 * Copyright (c) 2005-201 1Sam Hocevar <sam@hocevar.net>4 * Copyright (c) 2005-2013 Sam Hocevar <sam@hocevar.net> 5 5 * 6 6 * This software was released into the Public Domain. As with most public … … 11 11 #ifndef __TRANSP_HPP_ 12 12 #define __TRANSP_HPP_ 13 #include "image.h" 13 14 #include "imlib/image.h" 15 14 16 void transp_put(AImage *im, AImage *screen, uint8_t *table, int x, int y); 15 17 16 18 #endif 19 -
abuse/branches/lol/src/unixnfc.cpp
r715 r724 20 20 #include <stdlib.h> 21 21 #include <signal.h> 22 #include <unistd.h> 22 #if defined HAVE_UNISTD_H 23 # include <unistd.h> 24 #endif 23 25 #include <sys/fcntl.h> 24 26 #include <fcntl.h> 27 28 #include "imlib/window.h" 25 29 26 30 #include "netface.h" … … 31 35 #include "server2.h" 32 36 #include "game.h" 33 #include "window.h"34 37 35 38 extern char lsf[256]; -
abuse/branches/lol/src/view.cpp
r719 r724 13 13 #endif 14 14 15 #include <unistd.h> 15 #if defined HAVE_UNISTD_H 16 # include <unistd.h> 17 #endif 16 18 17 19 #include "common.h" 18 20 21 #include "lisp/lisp.h" 22 23 #include "imlib/window.h" 24 #include "imlib/scroller.h" 25 #include "imlib/dprint.h" 26 19 27 #include "game.h" 20 21 28 #include "view.h" 22 #include "lisp.h"23 #include "window.h"24 29 #include "configuration.h" 25 #include "scroller.h"26 30 #include "id.h" 27 31 #include "dev.h" 28 #include "dprint.h"29 32 #include "transp.h" 30 33 #include "clisp.h" -
abuse/branches/lol/src/view.h
r715 r724 12 12 #define _VIEW_HPP_ 13 13 14 #include "imlib/window.h" 15 14 16 #include "light.h" 15 #include "window.h"16 17 17 18 class object_node;
Note: See TracChangeset
for help on using the changeset viewer.