Difference between revisions of "Test"

From OuroDev
 
(2 intermediate revisions 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,"/CityOfHeroes.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 10: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;
}