adonthell-commits
[Top][All Lists]
Advanced

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

[Adonthell-commits] CVS: adonthell/doc/devel newmap.dxt,1.3,1.4 referenc


From: Kai Sterker <address@hidden>
Subject: [Adonthell-commits] CVS: adonthell/doc/devel newmap.dxt,1.3,1.4 reference.cfg,1.3,1.4
Date: Sun, 07 Apr 2002 05:51:30 -0400

Update of /cvsroot/adonthell/adonthell/doc/devel
In directory subversions:/tmp/cvs-serv32214/doc/devel

Modified Files:
        newmap.dxt reference.cfg 
Log Message:
PREPARED code for i18n and ttf support
CHANGED game class and initialization
ADDED new dlgedit


Index: newmap.dxt
===================================================================
RCS file: /cvsroot/adonthell/adonthell/doc/devel/newmap.dxt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** newmap.dxt  20 Oct 2001 18:05:32 -0000      1.3
--- newmap.dxt  7 Apr 2002 09:51:28 -0000       1.4
***************
*** 21,25 ****
  
  /*! 
! \page page10 Specifications for the new mapengine.
  
  This document will precisely describe the specifications/internals of
--- 21,25 ----
  
  /*! 
! \page newmap Specifications for the new mapengine.
  
  This document will precisely describe the specifications/internals of
***************
*** 65,68 ****
--- 65,93 ----
  whole. That's why this section is highly hierarchised. We'll try to
  describe the implementation from the higher layer to the lowest one.
+ 
+ \subsection mapcoord_class The mapcoordinates class
+ Not much to say about this one. It represents the position of any
+ object on the map, with the tile it is on and an offset from this tile:
+ 
+ \verbatim
+ class mapcoordinates
+ {
+ public:
+     u_int16 x, y;
+     u_int16 ox, oy;
+ 
+     bool operator < (const mapcoords & mc); 
+     bool operator <= (const mapcoords & mc); 
+     bool operator > (const mapcoords & mc); 
+     bool operator >= (const mapcoords & mc); 
+ }; 
+ \endverbatim
+ 
+ The operators let you easily compare two coordinates. A coordinate is
+ superior to another if it's \e y is superior, \b or it's \e x, \b or
+ it's \e oy, \b or it's \e ox (in this order). They should be mostly
+ used when you need to sort lists of objects - rendering, for example,
+ will need the objects to be sorted by coordinates in order to have a
+ good and fast result.
  
  \subsection p10landmap The landmap class

Index: reference.cfg
===================================================================
RCS file: /cvsroot/adonthell/adonthell/doc/devel/reference.cfg,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** reference.cfg       26 Dec 2001 12:55:45 -0000      1.3
--- reference.cfg       7 Apr 2002 09:51:28 -0000       1.4
***************
*** 4,8 ****
  #---------------------------------------------------------------------------
  PROJECT_NAME           = Adonthell
! PROJECT_NUMBER         = 0.3
  OUTPUT_DIRECTORY       = 
  OUTPUT_LANGUAGE        = English
--- 4,8 ----
  #---------------------------------------------------------------------------
  PROJECT_NAME           = Adonthell
! PROJECT_NUMBER         = 0.4
  OUTPUT_DIRECTORY       = 
  OUTPUT_LANGUAGE        = English




reply via email to

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