On Ken Silverman's homepage, look at his autobiography (http://advsys.net/ken/), you will find that you see a John Carmack, as in the "Revelation of Doom" written almost, Ken Silverman since childhood love programming, do not like to go to college, Computer knowledge is all self-study, or a fart child began to sell the game to make money, have not graduated full-time to Apogee write engine, this is Duke Nukem 3D ... He was asked what computer course he studied at the university, and he said no, Blablabla.
One word: Cow B.
It's time to say the Voxel engine, the Voxel engine is as early as the age of the polygon engine, but because the Voxel engine is putting the image in the form of a color brick, it takes a lot of memory to keep the information of the 3D model, which was impossible before and is now quite extravagant, and the example game image is very coarse and megabytes of memory.
But in the current players even the dynamic lighting is not rare in the era, can impress the player can only be more real virtual world, and this only the Voxel engine can make. Because the polygon engine is very weak in the decomposition of objects, and the object of the Voxel engine itself is a small color block can easily create arbitrary form of the individual. Just think, you are playing csx.x version, you can put the wall to blow a big hole, the ceiling to collapse, you can dig pit buried people, splash of glass slag like the real can hurt people, you can also pick up anything on the ground to shoot people. All tactics are rewritten because the player can reshape the terrain in the game. Vehicles and buildings will be more real
Say back to the C code of this engine to, uh. Is the full sense of the code of the game program, hey, from the inside to find what design mode is futile, can be done in a C file does not separate, can use the assembly on the Assembly, can use macros with macros, a series of more than 10 if statements. Document... In the comments you can find some. But back to the game program is the only pursuit of efficiency, the other to engage in so much is to rip.
The following address is the code and the download address of the executable, do not need any hardware acceleration, because there is no hardware to support-_-! programmers and game fans come down, experience the next game ahead, directly execute the executable file, although a bit rough, but can destroy anything in the game
Http://advsys.net/ken/voxlap/voxlap_src.zip