#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include <errno.h>
#include <math.h>
#include <limits.h>
#include <SDL/SDL.h>
#include "includes.hpp"
#include "sdlmanager.hpp"
#include "camera.hpp"
#include "gtkguimanager.hpp"
#include "mathlib.hpp"
#include "rawio.hpp"
#include "sampler.hpp"
#include "dwt.hpp"
#include "tilecutter.hpp"
#include "cresidue.hpp"
#include "tileprojector.hpp"
Defines | |
| #define | WORLD_TILES |
| #define | PYR_LVLS |
| #define | DATA_PATH(fname) |
Functions | |
| void | cleanup (int status, const char *fmt,...) |
| Frees all allocated memory. | |
| int | main (int argc, char **argv) |
| Yazapa's core The SDL and GTK+ systems are initalized, the compressed data is loaded and the main-loop is executed. | |
Variables | |
| GtkWidget * | GUI_Window |
| GtkWidget * | fs |
| GMainLoop * | ml |
| int | GUIdone |
| int | GUIactive |
| int | sc_x |
| int | sc_y |
| surf_t | bltsurf |
| Camera * | eyecam |
| float * | ipos |
| float * | istr |
| float * | iup |
| float * | ifor |
| float | center_offset_x |
| float | center_offset_z |
| int | do_sezapa |
| int | set_once_sezapa |
| uint32_t | do_sezapa_toggle |
| sezap_view | from |
| sezap_view | to |
| sezap_view | imed |
| float | div_tab [PYR_LVLS] |
| ezw3_t | residuals_level [WORLD_TILES][PYR_LVLS] |
| int | pyr_lvl |
| int | blend_residuals |
| int | bilin_ipol |
| int | draw_cross |
| int | show_minimap |
| int | always_hiqu |
| int | limit_fps |
| int | dest_fps |
| float | saezap_rho |
| float | saezap_vel |
| float | saezap_dt |
| imgdata_t | source_for_upsampled_tile [WORLD_TILES] |
| imgdata_t | decompressed_tile |
| imgdata_t | upsampled_tile |
| imgdata_t | res_blend_tile |
| imgdata_t | base_tex [WORLD_TILES] |
| imgdata_t | fupsamp_tile |
| imgdata_t | minimap_img |
| imgdata_t | minimap_img_3bpp |
| screct_t | minimap_rect |
| float | divisor |
| float | fsample_u1 |
| float | fsample_v1 |
| float | fsample_u2 |
| float | fsample_v2 |
| void cleanup | ( | int | status, | |
| const char * | fmt, | |||
| ... | ||||
| ) |
Frees all allocated memory.
| status | Exit-code for program termination. | |
| fmt | String to output before termination. |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Yazapa's core The SDL and GTK+ systems are initalized, the compressed data is loaded and the main-loop is executed.
| argc | Argument count. | |
| argv | Argument strings. |
1.4.7