tupdate.hh 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef M1_TUDATE_HH
  9. #define M1_TUDATE_HH
  10. #include "string/string.hh"
  11. #include "status/status.hh"
  12. // this function checks the times of the textures with the
  13. // compressed mip version and updates it if it is newer
  14. // return true if texture was updated
  15. i4_bool m1_update_texture(const i4_const_str &texture_filename,
  16. i4_bool force_all,
  17. i4_status_class *stat,
  18. float start, float end);
  19. // this calls m1_update_texture on all the textures in an object model file
  20. // returns true if one or more textures were updated
  21. i4_bool m1_update_object_textures(const i4_const_str &object_filename,
  22. i4_bool force_all=i4_F,
  23. const i4_const_str *copy_to=0);
  24. void m1_convert_all_in_dir(const i4_const_str &dir);
  25. #endif