Znalazłem błąd przy uruchamianiu. W ładowaniu piszę GroundInit jeszcze dwie inne następne linijki. A następnie zamyka się i to koniec.
Log.txt
Starting MaSzyna rail vehicle simulator.
Compilation 2012-03-13, release 1.7.530.325.
Online documentation and additional files on http://eu07.pl
Authors: Marcin_EU, McZapkie, ABu, Winger, Tolaris, nbmx_EU, OLO_EU, Bart, Quark-t, ShaXbee, Oli_EU, youBy, Ra, hunter and others
Renderer:
GDI Generic
Vendor:
Microsoft Corporation
OpenGL Version:
1.1.0
Supported extensions:
GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
Ra: No VBO found - Display Lists used. Upgrade drivers or buy a newer graphics card!
Max texture size: 1024
glFogfv(GL_FOG_COLOR, FogColor);
glClearDepth(1.0f);
glEnable(GL_TEXTURE_2D);
glShadeModel(GL_SMOOTH);
glEnable(GL_DEPTH_TEST);
glEnable(GL_BLEND);
glEnable(GL_ALPHA_TEST);
glAlphaFunc(GL_GREATER,0.04);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDepthFunc(GL_LEQUAL);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
glPolygonMode(GL_FRONT, GL_FILL);
glFrontFace(GL_CCW);
glEnable(GL_CULL_FACE);
glLineWidth(1.0f);
glPointSize(2.0f);
glLightModelfv(GL_LIGHT_MODEL_AMBIENT,darkLight);
glLightfv(GL_LIGHT0,GL_AMBIENT,ambientLight);
glLightfv(GL_LIGHT0,GL_DIFFUSE,diffuseLight);
glLightfv(GL_LIGHT0,GL_SPECULAR,specularLight);
glLightfv(GL_LIGHT0,GL_POSITION,lightPos);
glEnable(GL_LIGHT0);
glEnable(GL_COLOR_MATERIAL);
glColorMaterial(GL_FRONT, GL_AMBIENT_AND_DIFFUSE);
glMaterialfv( GL_FRONT, GL_AMBIENT_AND_DIFFUSE, whiteLight );
glEnable(GL_LIGHTING);
glFogi(GL_FOG_MODE, GL_LINEAR);
glFogfv(GL_FOG_COLOR, FogColor);
glFogf(GL_FOG_START, 1000.0f);
glFogf(GL_FOG_END, 2000.0f);
glEnable(GL_FOG);
Font init
Display Lists font used.
Font init OK
Sound Init
textures\logo.bmp
OK
Sound Init OK
Textures init
Textures init OK
Models init
Models init OK
Ground init
Loading scenery from td.scn
textures\rail_screw_used1.dds
Poprawiono wklejony kod.
ABu