Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Inside Starcraft

Name: Anonymous 2012-09-11 15:44

CUnit < CDoodad < CFlingy < CThingy
Turnkey level ENTERPRISE C++ class hierarchy!

http://www.codeofhonor.com/blog/tough-times-on-the-road-to-starcraft

Name: Anonymous 2012-09-11 23:47

StarCraft units, which as mentioned previously contained scads of pointers in the fields for linked lists, was an entirely different beast. It was necessary to fixup all the link pointers (taking special care of unioned pointer fields) so that all 1600 units could be written at once. And then unfixup the link pointers to keep playing. Yuck.
This Patrick Wyatt is an idiot. MMUs allow mmaping (http://en.wikipedia.org/wiki/Mmap) the dynamic (playfield/units state) and static areas (sprites/textures) of the game, so one can easily save/load memory ranges.

I think Blizzard is still afloat, because other programmers are even bigger idiots.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List