right,
lets take a slightly different approach too this. lets work our way through the problem slowly. take it a step at a time and get you feeling the buzz of accomplishment for your hard work.
before adding the code i put up there. lets decide where a good place too add it might be.. as a first step i would like you too look very carefully at your code and tell me a few places where you think that snippet could go. ideally its going too go some where in the rendering phase.. then we can move on too actually adding it and making it work.
Umm...I think it should be inside DrawGLScene..
Like this maybe?

int DrawGLScene(GLvoid)
{
void draw_chip(float x, float y, float z){
glMatrixMode(GL_MODELVIEW)
glPushMatrix();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
glTranslatef( 0.0, 0.0f, -6.0f );
glBegin(GL_TRIANGLES);
glColor3f(1.0f,0.0f,0.0f);
glVertex3f(0.0f,0.1f,0.0f);
glVertex3f(-0.1f,-0.1f,0.0f);
glVertex3f(0.1f,-0.1f,0.0f);
glEnd();
glPopMatrix();
}
int zsin=0;
void draw_chip_grid(void){
int Grid_SizeY = 10;
int Grid_SizeX = 10;
for (int y = 0; y<Grid_SizeY; Y+=1 ){
for (int x = 0; x<Grid_SizeX; X+= 1 ){
zsin += 0.2;
draw_chip(x+tilesize_x,y+tilesize_y,2.0f*sin(zsin/180.0*3.14159));
}
}
}
}