Files
firestorm/Gameleap/code/mw4/Tools/TCTb/Terra/terra.hpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

34 lines
830 B
C++

#ifndef TERRA_INCLUDED // -*- C++ -*-
#define TERRA_INCLUDED
#include "GreedyInsert.hpp"
#include "Map.hpp"
#include "Mask.hpp"
extern GreedySubdivision *mesh;
extern Map *DEM;
extern ImportMask *MASK;
extern real error_threshold;
extern int point_limit;
extern real height_scale;
enum FileFormat {NULLfile, TINfile, EPSfile, DEMfile, OBJfile, RMSfile};
extern FileFormat output_format;
extern char *output_filename;
extern char *script_filename;
extern int goal_not_met();
extern void greedy_insertion();
extern void display_greedy_insertion(void (*callback)());
extern void subsample_insertion(int target_width);
extern void generate_output(char *filename=NULL,
FileFormat format=NULLfile);
extern void process_cmdline(int argc, char **argv);
extern double rint (double);
#endif