Jump to content
×
×
  • Create New...

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...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 36

      Destroy Item System

    2. 1

      Brillances

    3. 0

      Fusion.org is Looking for Staff Members

    4. 1

      Brillances

    5. 3

      ELONIA2 | PVM-MEDIUM | 11 LANGUAGES | INTERNATIONAL | A NEW STORY

    6. 4

      Spider Queen not spawining in spider dungeon v1

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.