patch_level.c

lpc4/src/patch_level.c · 286 B

From the archive lpc4.05.14.tar.gz

Download the archive   « Back to the archive contents

#include <stdio.h>
#include "patchlevel.h"
#include "global.h"

int main(int argv, char ** argc)
{
  switch(argv)
  {
  case 1:
    printf("#define PATCH_LEVEL %d\n",PATCH_LEVEL+1);
    break;

  case 2:
    printf("lpc%s%02d\n", GAME_VERSION, PATCH_LEVEL);
    break;
  }
  exit(0);
}

Site Stats

Snippets: 1791
Codebases: 571