netpanzer-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netPanzer-CVS] netpanzer/src/NetPanzer/Classes TileSet.cpp


From: Matthias Braun
Subject: [netPanzer-CVS] netpanzer/src/NetPanzer/Classes TileSet.cpp
Date: Sat, 06 Sep 2003 14:18:14 -0400

CVSROOT:        /cvsroot/netpanzer
Module name:    netpanzer
Branch:         
Changes by:     Matthias Braun <address@hidden> 03/09/06 14:18:13

Modified files:
        src/NetPanzer/Classes: TileSet.cpp 

Log message:
        small fix

Patches:
Index: netpanzer/src/NetPanzer/Classes/TileSet.cpp
diff -u netpanzer/src/NetPanzer/Classes/TileSet.cpp:1.2 
netpanzer/src/NetPanzer/Classes/TileSet.cpp:1.3
--- netpanzer/src/NetPanzer/Classes/TileSet.cpp:1.2     Mon Sep  1 16:24:20 2003
+++ netpanzer/src/NetPanzer/Classes/TileSet.cpp Sat Sep  6 14:18:13 2003
@@ -20,6 +20,10 @@
 #include  <fcntl.h>
 #include  <stdio.h>
 #include  <stdlib.h>
+#ifdef UNIX
+// XXX for the read function
+#include <unistd.h>
+#endif
 #include  "Gdatstct.hpp"
 
 TileSet::TileSet( )
@@ -160,7 +164,8 @@
   unsigned long  tile_size;
   int fhandle;
 
-
+  // XXX Why, oh why are't we using normal stdio functions here?       
+  
   //infile = fopen( file_path, "rb" );
   // XXX changed _O_BINARY to 0...
   fhandle = open( file_path, 0 );




reply via email to

[Prev in Thread] Current Thread [Next in Thread]