Test: Difference between revisions

From OuroDev
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Test
Test


<syntaxhighlight lang="c++">
<source lang="javascript" line start="2" highlight="4-6">
void initGameChecksum()
// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
{
// http://alexgorbatchev.com
char *s,full_path[MAX_PATH];
var setArray = function(elems) {
strcpy(full_path,fileDataDir());
    this.length = 0;
s = strrchr(full_path,'/');
    push.apply(this, elems);
if (s)
    return this;
*s = 0;
strcat(full_path,"/Some.exe");
if (!checksumFile(full_path,correct_game_checksum))
{
ignore_checksum = 1;
printf("game checksum = 0, assuming dev mode\n");
}
}
}
</syntaxhighlight>
</source>

Latest revision as of 09:26, 14 May 2019

Test

// SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
// http://alexgorbatchev.com
var setArray = function(elems) {
    this.length = 0;
    push.apply(this, elems);
    return this;
}