Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

mapscale.cc File Reference

#include <sys/types.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <player.h>
#include <drivertable.h>
#include <devicetable.h>
#include <error.h>

Defines

#define MAP_IDX(mf, i, j)   ((mf->size_x) * (j) + (i))
#define NEW_MAP_IDX(mf, i, j)   ((mf->new_size_x) * (j) + (i))
#define MAP_VALID(mf, i, j)   ((i >= 0) && (i < mf->size_x) && (j >= 0) && (j < mf->size_y))
#define NEW_MAP_VALID(mf, i, j)   ((i >= 0) && (i < mf->new_size_x) && (j >= 0) && (j < mf->new_size_y))

Functions

Driver * MapScale_Init (ConfigFile *cf, int section)
void MapScale_Register (DriverTable *table)

Variables

int global_playerport


Define Documentation

#define MAP_IDX (  mf,
i,
j   )     ((mf->size_x) * (j) + (i))
 

#define NEW_MAP_IDX (  mf,
i,
j   )     ((mf->new_size_x) * (j) + (i))
 

#define MAP_VALID (  mf,
i,
j   )     ((i >= 0) && (i < mf->size_x) && (j >= 0) && (j < mf->size_y))
 

#define NEW_MAP_VALID (  mf,
i,
j   )     ((i >= 0) && (i < mf->new_size_x) && (j >= 0) && (j < mf->new_size_y))
 


Function Documentation

Driver* MapScale_Init (  ConfigFile *  cf,
int  section
) 
 

void MapScale_Register (  DriverTable *  table  ) 
 


Variable Documentation

int global_playerport
 


Generated on Tue May 3 14:15:41 2005 for Player by doxygen 1.3.6