• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

garbage in Program\ dir

hawkeye

Landlubber
Another thing I always wondered about is the garbage in the Program\ dir. Anyone knows, what that's for? I mean, things like this: \Program\s.c

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->
object test;
void main()
{
    test.l = "Hello";
    DumpAttributes(&test);
    trace("------------------------------------");

    SaveEngineState("test");
    DumpAttributes(&test);

    trace("------------------------------------");

    LoadEngineState("test");
    DumpAttributes(&test);

    ExitProgram();
}
<!--c2--></div><!--ec2-->

Looks like "Hello world" in the xth incarnation, doesn't it? <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
I mean, nothing to say against some nostalgia regarding the first programming attempts, my visual studio projects dir is clustered with different forms of that, but what's it doing in a release product...

Just wondering, since it doesn't do anything bad either...
 
heh! not so funny when crap like that is enabled in game. Seems like there is usless code everywhere in various folders, stuff you would find in a Beta version. Check your compile log {memory} at bottom when theres errors when I've counted no less than 12 leaks , that can't be good <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
<!--quoteo(post=167543:date=Oct 14 2006, 08:08 PM:name=skull)--><div class='quotetop'>QUOTE(skull @ Oct 14 2006, 08:08 PM) [snapback]167543[/snapback]</div><div class='quotemain'><!--quotec-->
heh! not so funny when crap like that is enabled in game. Seems like there is usless code everywhere in various folders, stuff you would find in a Beta version. Check your compile log {memory} at bottom when theres errors when I've counted no less than 12 leaks , that can't be good <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->

Seems to me, the guys did too much of that <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" /> in the last week before release, instead of testing and bug swatting. <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
 
I've also found all kinds of 'test' references in all kinds of the files. Things that I've not noticed any ref's or calls to, but still... Kinda disconcerting to know they left crap like that in there for the 'release' version of the game.

Cap'n Drow
 
You mean that they are actually running while the game is? I don't understand how that could be left in a final release unnoticed... I just thought they just left an unused portion of code sitting around somewhere in a subroutine or something (whatever people use in object oriented programming [go qbasic go]) that was more or less hello world - more for amusing themselves than anything else. <img src="style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" />
 
Back
Top