medfall

A super great game engine
Log | Files | Refs

commit 5147ae8030ffdf21b728afcfdd7d7b2ab3033b0a
parent ba92576d28dcd3ea95618146a94edea2238c9f28
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Jul  1 21:05:41 +0300

Load gta16

Diffstat:
hm.cc | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hm.cc b/hm.cc @@ -37,7 +37,7 @@ static void load_trees( MemoryArena * arena ) { MEMARENA_SCOPED_CHECKPOINT( arena ); size_t compressed_len; - u8 * compressed_trees = file_get_contents( "terrains/gta.png.parts/trees.lz4", &compressed_len ); + u8 * compressed_trees = file_get_contents( "terrains/gta16.png.parts/trees.lz4", &compressed_len ); // TODO: don't hardcode this! array< v3 > trees = memarena_push_array( arena, v3, 300000 ); @@ -62,11 +62,11 @@ static void load_trees( MemoryArena * arena ) { GAME_INIT( game_init ) { net_init(); - game->pos = v3( 1500, 1500, 250 ); + game->pos = v3( 1500, 1500, 120 ); game->pitch = 0; game->yaw = 45; - terrain_init( &game->tm, "terrains/gta.png.parts", &mem->persistent_arena, &game->background_tasks ); + terrain_init( &game->tm, "terrains/gta16.png.parts", &mem->persistent_arena, &game->background_tasks ); terrain_teleport( &game->tm, game->pos ); game->test_sun = 0.3f;