source: golgotha/src/maxtool/tupdate.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 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: 1.3 KB
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef M1_TUDATE_HH
10#define M1_TUDATE_HH
11
12
13#include "string/string.hh"
14#include "status/status.hh"
15
16// this function checks the times of the textures with the
17// compressed mip version and updates it if it is newer
18// return true if texture was updated
19i4_bool m1_update_texture(const i4_const_str &texture_filename,
20                          i4_bool force_all,
21                          i4_status_class *stat,
22                          float start, float end);
23
24// this calls m1_update_texture on all the textures in an object model file
25// returns true if one or more textures were updated
26i4_bool m1_update_object_textures(const i4_const_str &object_filename,
27                                  i4_bool force_all=i4_F,
28                                  const i4_const_str *copy_to=0);
29
30
31void m1_convert_all_in_dir(const i4_const_str &dir);
32
33#endif
Note: See TracBrowser for help on using the repository browser.