File download
- File size:
- 11 584 461 bytes (11.05M)
- File date:
- 2017-09-06 05:18:06
- Download count:
- all-time: 201
file_id.diz
YEAR 21XX.
AFTER THE SECOND DESTRUCTION OF THE
CIVILIZATION WORLD SUPERPOWERS HAD TO
RECONSIDER THE RULES OF WAR.
IT WAS DECIDED THAT INSTEAD OF BUILDING
MASSIVE ARMIES A SINGLE CHAMPION WOULD BE
CHOSEN AMONG HIGHLY TRAINED SPECIAL FORCES.
THEY WERE CALLED
THE FIGHTERS
EVERY YEAR THESE FIGHTERS FACE EACH OTHER
IN AN ULTIMATE CHAMPIONSHIP, AND THE WINNER
IS CROWNED AS
THE RULER OF THE FREE WORLD!
uniform sampler2D texture;
uniform float time = 1.0;
void main()
{
float t = time;
vec2 uv = gl_TexCoord[0].xy;
uv.x += step(uv.x, 0.5) * (0.5-uv.x) * 2.0;
uv.y += step(uv.y, 0.5) * (0.5-uv.y) * 2.0;
uv.x -= cos(t/20.0) * 0.5; //step(sin(t),0.2);
uv.y -= sin(t/5.0) * 1.5; //step(sin(t),0.2);
gl_FragColor = texture2D(texture, uv);
}uniform sampler2D texture;
uniform float time = 1.0;
uniform float speedX = 1.0;
uniform float speedY = 1.0;
uniform float video = 0.0;
uniform float colorR = 1.0;
uniform float colorG = 1.0;
void main()
{
float t = time;
vec2 uv = gl_TexCoord[0].xy;
uv.x -= t * speedX; //step(sin(t),0.1);
uv.y -= t * speedY; //step(sin(t),0.2);
vec4 color = texture2D(texture, uv);
gl_FragColor = color;
}#version 120
uniform sampler2D texture;
uniform float time = 1.0;
void main()
{
vec2 coord = gl_TexCoord[0].st;
vec2 position = ( coord.xy)-vec2(0.5,0.5);
// 256 angle steps
float angle = atan(position.y,position.x)/(2*3.14159265359);
angle -= floor(angle);
float rad = length(position);
float color = 0.0;
for (int i = 0; i < 2; i++) {
float angleFract = fract(angle*36.);
float angleRnd = floor(angle*360.)+1.;
float angleRnd1 = fract(angleRnd*fract(angleRnd*.7235)*45.1);
float angleRnd2 = fract(angleRnd*fract(angleRnd*.82657)*13.724);
float t = time+angleRnd1*100.;
float radDist = sqrt(angleRnd2+float(i));
float adist = radDist/rad*1.5;
float dist = (t*.2+adist);
dist = abs(fract(dist)-.1);
color += max(0.,.8-dist*100./adist)*(.5-abs(angleFract-.5))*5./adist/radDist;
angle = fract(angle);
}
gl_FragColor = vec4(color,color,color,color);
}uniform sampler2D texture;
void main()
{
vec2 coord = gl_TexCoord[0].xy;
gl_FragColor = texture2D(texture,coord);
}[0:00.000] F40 system/io/io.c:setStartPath():36:
Start path: ''
[0:00.000] F40 system/datatypes/memory.c:memoryInit():114:
Initializing memory
[0:00.000] F40 system/javascript/javascript.c:jsInit():226:
Initializing scripting.
[0:00.000] F40 system/main.c:handleCommandLineArguments():89:
User requested resolution: 1280x720
[0:00.000] F40 system/main.c:SDL_main():334:
Demo engine version 0.5.0 (Build Oct 29 2016 14:00:12)
[0:00.000] F40 system/ui/window/window.c:windowInit():49:
Window dimensions: 1280x720
[0:00.000] F40 system/ui/window/window.c:windowInit():50:
Screen dimensions: 1280x720
[0:00.000] F40 system/ui/window/window.c:windowInit():51:
Screen aspect: 1.78
[0:00.000] F40 system/ui/window/window.c:windowInit():52:
Screen area: x:0, y:0, w:1280, h:720
[0:00.000] F40 system/thread/thread.c:threadInit():412:
No multithreading in use.
[0:00.000] F40 system/main.c:systemInit():201:
Extension and remaining initializations started.
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():90:
Initializing OpenGL extensions
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():91:
OpenGL: 4.2.0 - Build 10.18.10.4425
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():92:
GLSL: 4.20 - Build 10.18.10.4425
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():105:
Max Texture Units: 8
Max Texture Size: 16384
Max Point Size: 255.00
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():141:
Checking for required OpenGL extensions
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():183:
loading shaders...
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():218:
loading VBOs...
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():237:
loading FBOs...
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():258:
Max Color Attachments: 8
[0:00.000] F40 system/extensions/gl/gl.c:openGlExtensionsInit():260:
Max Draw Buffers: 8
[0:00.000] F40 system/rocket/synceditor.c:syncEditorInit():170:
WARNING: Could not connect to GNU Rocket. server:'localhost:1338'
[0:00.000] F40 system/graphics/object/lighting.c:lightingInit():217:
Initializing lighting
[0:00.000] F40 system/player/player.c:initEffect():116:
Initializing effect 'GLOBALS'
[0:00.000] F40 system/io/io.c:getFilePath():107:
WARNING: Couldn't find file 'data/font.png'!
[0:00.000] F40 system/io/io.c:getFilePath():107:
WARNING: Couldn't find file 'data/font.ttf'!
[0:00.000] F40 system/graphics/font/font.c:fontInit():673:
Initializing default 9x13 font
[0:00.000] F40 system/player/player.c:initEffect():116:
Initializing effect 'Demo'
[0:00.000] F40 system/graphics/shader/shader.c:shaderLoad():389:
Loading shader 'data/shader/starfield2.fs'. filename:'data/shader/starfield2.fs'
[0:00.000] F40 system/graphics/shader/shader.c:shaderProgramAttachShader():111:
Attaching shader 'data/shader/starfield2.fs' (2) to program 'data/shader/starfield2.fs' (1)
[0:00.000] F40 system/graphics/shader/shader.c:shaderProgramLink():226:
Linking 'data/shader/starfield2.fs' (1) (attached shaders:1)
[0:00.000] F40 system/graphics/shader/shader.c:shaderProgramDetachShader():152:
Detaching shader 'data/shader/starfield2.fs' (2) from program 'data/shader/starfield2.fs' (1)
[0:00.000] F40 system/graphics/image/image.c:debugPrintPngInfo():91:
PNG expanded: filler to alpha, New details: 'data/empty.png': 1280x720 8bit RGB NONE COMPRESSION FILTER
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/empty.png' (1280x720)
[0:00.000] F40 system/graphics/object/object3d.c:loadObjectObj():239:
Loading object 'data/city.obj'
[0:00.000] F40 system/graphics/image/image.c:debugPrintPngInfo():91:
PNG expanded: filler to alpha, New details: 'data/citywire.png': 2048x2048 8bit RGB NONE COMPRESSION FILTER
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/citywire.png' (2048x2048)
[0:00.000] F40 system/graphics/object/obj/mtl.c:obj_material_file_load():274:
Loaded material library 'data/city.mtl'
[0:00.000] F40 system/graphics/object/obj/obj.c:obj_file_load():444:
Loaded object 'data/city.obj'. Faces:11752 (vertices:11929, normals:5, texture_coordinates:24773)
[0:00.000] F40 system/graphics/object/object3d.c:loadObjectBasicShape():87:
Loading basic 3D shape 'cubesNaN'
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/01.png' (1600x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/02.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/03.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/04.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/05.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/06.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/07.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/08.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/09.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/10.png' (1601x901)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/11.png' (1601x900)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/12.png' (1601x900)
[0:00.000] F40 system/graphics/image/image.c:imageProcessImageData():503:
Loaded image 'data/scan.png' (1280x720)
[0:00.000] F40 system/timer/timer.c:timerCounterEnd():334:
'playerInit' duration: 1.560 seconds
[0:00.000] F40 system/audio/sound.c:soundInit():331:
Audio initialized successfully! rate:44100, format:32784, channels:2, buffer:4096
[0:00.000] F40 system/audio/sound.c:soundAddSongToPlaylist():526:
00: filename:'data/kun_rakkaus_lankeaa_kuin_kadonnut_kauneus.ogg', title:'', length:'0'
[0:00.000] F40 system/audio/sound.c:soundPlaySong():829:
Playing: 00: filename:'data/kun_rakkaus_lankeaa_kuin_kadonnut_kauneus.ogg', title:'', length:'0'
[0:00.000] F40 system/main.c:systemRun():268:
Demo started.
[2:00.019] F40 system/main.c:systemRun():279:
Demo ended, deinitialization started.
[2:00.019] F40 system/player/player.c:deinitEffect():155:
Deinitializing effect 'GLOBALS'
[2:00.019] F40 system/player/player.c:deinitEffect():155:
Deinitializing effect 'Demo'
[2:00.019] F40 system/timer/timer.c:timerCounterEnd():334:
'playerDeinit' duration: 0.011 seconds
[2:00.019] F40 system/datatypes/memory.c:memoryDeinit():101:
Deinitializing memory
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character ' ''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '!''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '"''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '#''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '$''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '%''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '&''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character ''''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '(''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character ')''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '*''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '+''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character ',''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '-''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '.''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '/''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '0''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '1''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '2''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '3''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '4''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '5''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '6''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '7''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '8''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '9''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character ':''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character ';''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '<''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '=''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '>''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '?''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '@''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'A''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'B''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'C''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'D''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'E''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'F''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'G''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'H''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'I''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'J''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'K''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'L''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'M''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'N''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'O''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'P''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'Q''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'R''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'S''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'T''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'U''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'V''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'W''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'X''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'Y''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'Z''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '[''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '\''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character ']''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '^''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '_''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '`''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'a''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'b''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'c''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'd''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'e''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'f''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'g''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'h''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'i''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'j''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'k''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'l''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'm''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'n''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'o''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'p''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'q''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'r''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 's''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 't''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'u''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'v''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'w''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'x''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'y''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character 'z''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '{''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '|''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '}''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'Font character '~''
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/empty.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/citywire.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/01.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/02.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/03.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/04.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/05.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/06.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/07.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/08.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/09.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/10.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/11.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/12.png'
[2:00.019] F40 system/graphics/texture.c:textureDeinit():73:
Cleaning 'data/scan.png'
[2:00.019] F40 system/graphics/object/object3d.c:objectDeinit():453:
Cleaning 'data/city.obj'
[2:00.019] F40 system/graphics/object/object3d.c:objectDeinit():453:
Cleaning 'cubesNaN'
[2:00.019] F40 system/timer/timer.c:timerCounterEnd():334:
'memoryDeinit' duration: 0.005 seconds
[2:00.019] F40 system/ui/window/windowSdl.c:windowDeinit():37:
Deinitializing window
[2:00.019] F40 system/javascript/javascript.c:jsDeinit():255:
Deinitializing scripting.
[2:00.019] F40 system/main.c:systemDeinit():314:
System deinitialized successfully