Jump to content

Useless Funny - version.h


Recommended Posts

Hello I rewrite the version.h file db and game
One thing that greenhouse nothing :d

 

DB - version.h

#include <stdio.h>
#include <stdlib.h>

void WriteVersion()
{
#ifndef __WIN32__
	FILE* fp(fopen("_Version", "w"));
	fprintf(fp, "Databases Revision r%s For FreeBSDn", __DB_VERSION__);
	fprintf(fp, "Gameforge 2013/2014n");
	fprintf(fp, "Modified by - Originale.Elys2n");
	fclose(fp);
#else
	FILE* fp(fopen("_Version", "w"));
	fputs("Databases Revision r40146 For Windowsn", fp);
	fputs("Gameforge 2013/2014n", fp);
	fputs("Modified by - Originale.Elys2n", fp);
	fclose(fp);
#endif
}

GAME -version.h

#include <stdio.h>
#include <stdlib.h>

void WriteVersion()
{
#ifndef __WIN32__
	FILE* fp(fopen("_Version", "w"));
	fprintf(fp, "Game Revision r%s For FreeBSDn", __GAME_VERSION__);
	fprintf(fp, "Gameforge 2013/2014n");
	fprintf(fp, "Modified by - Originale.Elys2n");
	fclose(fp);
#else
	FILE* fp(fopen("_Version", "w"));
	fputs("Game Revision r40267 For Windowsn", fp);
	fputs("Gameforge 2013/2014n", fp);
	fputs("Modified by - Originale.Elys2n", fp);
	fclose(fp);
#endif
}

Link to comment
Share on other sites

  • 2 weeks later...

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.