source: golgotha/src/golg/ @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 12 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 757 bytes
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href=""> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6 (Subject should have "GOLG" in it)
9#include "tile.hh"
10#include "checksum/checksum.hh"
11#include <string.h>
13r1_texture_handle g1_get_texture(char *texture_name)
15  int l=strlen(texture_name);
16  return g1_tile_man.get(g1_tile_man.get_tile_from_checksum(i4_check_sum32(texture_name, l)))->texture;
Note: See TracBrowser for help on using the repository browser.