//========== Top of hud_card class member definitions =============
//begin suma
-#include<GL/glut.h>
#include<math.h>
#include <stdlib.h>
#include <stdio.h>
if(type=="gauge") {
float x,y;
float i;
- int decimal, sign;
y=(float)(scrn_rect.top);
x=(float)(scrn_rect.left);
glEnable(GL_POINT_SMOOTH);
//type-fixed & zoom=1, behaviour to be defined
// Code for Moving Type Pointer included by suma.
float ycentre, ypoint,xpoint;
- int range,wth;
+ int range;
if(cur_value > maxValue)
cur_value = maxValue;
i = (int)vmin; // N
if(zoom ==1) {
- zoomed_scale(vmin,vmax); //suma
+ zoomed_scale((int)vmin,(int)vmax); //suma
} else {
for( ; i <last ; i++ ) {
condition = true;
// i = FloatToInt(vmin);
if(zoom ==1) {
- zoomed_scale(vmin,vmax); //suma
+ zoomed_scale((int)vmin,(int)vmax); //suma
} else {
//default to zoom=0
last = (int)vmax + 1;
RECT scrn_rect = get_location();
UINT options = get_options();
char TextScale[80];
- int disp_val = 0;
+ // int disp_val = 0;
int data[80];
float x,y,w,h,bottom;