~ubuntu-branches/ubuntu/lucid/warzone2100/lucid

« back to all changes in this revision

Viewing changes to src/movedef.h

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger, Paul Wise, Christoph Egger
  • Date: 2009-06-29 17:12:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090629171252-5ddnlfg3zfchrega
Tags: 2.2.1+dfsg1-1
[ Paul Wise ]
* New upstream release (Closes: #534962)
* Adjust the flex build-depends to take account of the conflict
  with all the versions of flex 2.5.34 (LP: #372872)
* Make the -music Recommends more strict, 2.1 music doesn't work
  with 2.2.
* Upstream moved the downloads to sourceforge, update the watch file
* Bump Standards-Version, no changes needed
* Drop use of dh_desktop since it no longer does anything
* Recommend the new warzone2100-video package, version 2.2 or similar
* Mention the warzone2100 crash reports in the -dbg package description

[ Christoph Egger ]
* Replace CC-2.0 graphic from cybersphinx, create a new tarball
* Add myself to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
        This file is part of Warzone 2100.
3
3
        Copyright (C) 1999-2004  Eidos Interactive
4
 
        Copyright (C) 2005-2007  Warzone Resurrection Project
 
4
        Copyright (C) 2005-2009  Warzone Resurrection Project
5
5
 
6
6
        Warzone 2100 is free software; you can redistribute it and/or modify
7
7
        it under the terms of the GNU General Public License as published by
24
24
#ifndef __INCLUDED_MOVEDEF_H__
25
25
#define __INCLUDED_MOVEDEF_H__
26
26
 
27
 
#define TRAVELSIZE                      100
28
 
 
29
27
//Watermelon:num of VTOL weapons should be same as DROID_MAXWEAPS
30
28
#define VTOL_MAXWEAPS           3
31
29
 
32
 
typedef struct _path_point
33
 
{
34
 
        UBYTE           x,y;
35
 
} PATH_POINT;
36
 
 
37
30
typedef struct _move_control
38
31
{
39
32
        UBYTE   Status;                                         // Inactive, Navigating or moving point to point status
40
33
        UBYTE   Position;                                       // Position in asPath
41
34
        UBYTE   numPoints;                                      // number of points in asPath
42
 
        PATH_POINT      asPath[TRAVELSIZE];             // Pointer to list of block X,Y coordinates.
43
 
        SDWORD  DestinationX;                           // DestinationX,Y should match objects current X,Y
44
 
        SDWORD  DestinationY;                           //              location for this movement to be complete.
 
35
        Vector2i *asPath;                                       // Pointer to list of block X,Y map coordinates.
 
36
        SDWORD  DestinationX, DestinationY;                     // World coordinates of movement destination
45
37
        SDWORD  srcX,srcY,targetX,targetY;
46
38
 
47
39
        /* Stuff for John's movement update */