Changeset 080ef6eb120d94ba7ceaa89dffe9cd284d9a3975 for bor/openbor.c
- Timestamp:
- 05/02/06 06:35:49 (6 years ago)
- Children:
- 22b42454812c85824c87192deee05abca95400c4
- Parents:
- 857a6261c268f3b5b020553a4ba51d93d916a9f7
- git-committer:
- flupke <flupke@…> (05/02/06 06:35:49)
- File:
-
- 1 edited
-
bor/openbor.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bor/openbor.c
rb6049a8 r080ef6e 4 4 */ 5 5 6 #include "defs.h" 6 7 7 8 #include <malloc.h> 8 9 #include <stdarg.h> 9 10 #include <string.h> 10 #include <io.h> 11 #ifdef __linux__ 12 # include <asm/io.h> 13 # include <dirent.h> 14 #else 15 # include <io.h> 16 # include <conio.h> 17 # include <direct.h> 18 #endif 11 19 #include <fcntl.h> 12 20 #include <stdio.h> 13 21 #include <stdlib.h> 14 #include <conio.h> 15 #include <direct.h> 16 17 #include "gamelib3\types.h" 18 #include "gamelib3\video.h" 19 #include "gamelib3\vga.h" 20 #include "gamelib3\screen.h" 21 #include "gamelib3\loadimg.h" 22 #include "gamelib3\bitmap.h" 23 #include "gamelib3\sprite.h" 24 #include "gamelib3\spriteq.h" 25 #include "gamelib3\font.h" 26 #include "gamelib3\timer.h" 27 #include "gamelib3\savepcx.h" 28 #include "gamelib3\rand32.h" 29 #include "gamelib3\soundmix.h" 30 #include "gamelib3\sblaster.h" 31 #include "gamelib3\keyboard.h" 32 #include "gamelib3\joy.h" 33 #include "gamelib3\control.h" 34 #include "gamelib3\draw.h" 35 #include "gamelib3\packfile.h" 36 #include "gamelib3\palette.h" 37 #include "gamelib3\anigif.h" 38 #include "gamelib3\texture.h" 22 23 #include "gamelib3/types.h" 24 #include "gamelib3/video.h" 25 #include "gamelib3/vga.h" 26 #include "gamelib3/screen.h" 27 #include "gamelib3/loadimg.h" 28 #include "gamelib3/bitmap.h" 29 #include "gamelib3/sprite.h" 30 #include "gamelib3/spriteq.h" 31 #include "gamelib3/font.h" 32 #include "gamelib3/timer.h" 33 #include "gamelib3/savepcx.h" 34 #include "gamelib3/rand32.h" 35 #include "gamelib3/soundmix.h" 36 #include "gamelib3/sblaster.h" 37 #include "gamelib3/keyboard.h" 38 #include "gamelib3/joy.h" 39 #include "gamelib3/control.h" 40 #include "gamelib3/draw.h" 41 #include "gamelib3/packfile.h" 42 #include "gamelib3/palette.h" 43 #include "gamelib3/anigif.h" 44 #include "gamelib3/texture.h" 39 45 40 46 … … 784 790 785 791 while(direntp = readdir(dirp)){ 786 792 793 #ifdef __linux__ 794 if(direntp->d_type == DT_REG){ 795 #else 787 796 if(!(direntp->d_attr & (_A_SUBDIR | _A_VOLID | _A_SUBDIR))){ 797 #endif 788 798 789 799 // This is a file. Is it a PAK file? … … 3194 3204 3195 3205 level = NULL; 3196 free( holesprite);3206 free((void*)holesprite); 3197 3207 3198 3208 levelpos = 0; … … 10687 10697 // ---------------------------------------------------------------------------- 10688 10698 10689 voidmain(int argc, char **argv){10699 int main(int argc, char **argv){ 10690 10700 10691 10701 int quit = 0; … … 10999 11009 VERSION&0xFFFF 11000 11010 ); 11001 } 11002 11003 11004 11005 11006 11007 11011 11012 return 0; 11013 } 11014 11015 11016 11017 11018 11019
Note: See TracChangeset
for help on using the changeset viewer.
