///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////
int xx=20;//<-your int value inside structure
var yy;//<-temp var that will be displayed inside panel
PANEL* my_panel =
{
pos_x = 100;
pos_y = 50;
digits(0,0,"%.0f",*,1,yy);//<-- seems to only take a variable
flags = SHOW | OUTLINE;
}
function main()
{
vec_set(screen_size,vector(800,400,0));
vec_set(screen_color,vector(50,1,1)); // dark blue
vec_set(sky_color,vector(50,1,1)); // dark blue
video_window(NULL,NULL,0,"My New Game");
d3d_antialias = 1;
shadow_stencil = 3;
level_load("");
vec_set(camera.x,vector(-250,0,50));
vec_set(camera.pan,vector(0,-15,0));
while(1)
{
xx+=1;
yy=(int)xx;//<-converted into var just for displaying purpose
//but xx is stil int value
wait(1);
}
}