OutRun/src/include/cars.h

38 lines
543 B
C
Raw Normal View History

2022-03-11 22:44:47 +01:00
#ifndef CARS_H
#define CARS_H
#include <stdint.h>
#include "camera.h"
class Cars
{
public:
Cars();
Cars( float x, double z, uint8_t s, uint8_t t );
~Cars();
void Project3DFP( camera* c, uint16_t index );
float wX;
double wZ;
int16_t X;
int16_t Y;
2022-03-15 22:02:53 +01:00
//uint8_t S;
2022-03-11 22:44:47 +01:00
uint8_t Speed;
uint8_t Type;
2022-03-26 23:32:26 +01:00
int8_t Turn=0;
2022-03-15 22:02:53 +01:00
//uint8_t DScale;
2022-03-11 22:44:47 +01:00
// for debugging only
2022-03-15 22:02:53 +01:00
//bool visible;
//uint16_t segnum;
2022-03-11 22:44:47 +01:00
};
#endif // CARS_H