+ game->font = PUSH_LT(
+ lt,
+ create_sprite_font_from_file("fonts/charmap-oldschool.bmp", renderer),
+ destroy_sprite_font);
+ if (game->font == NULL) {
+ RETURN_LT(lt, NULL);
+ }
+
+ game->debug_tree = PUSH_LT(
+ lt,
+ create_debug_tree(game->font),
+ destroy_debug_tree);
+ if (game->debug_tree == NULL) {
+ RETURN_LT(lt, NULL);
+ }
+
+ game->edit_field = PUSH_LT(
+ lt,
+ create_edit_field(
+ game->font,
+ vec(5.0f, 5.0f),
+ color(1.0f, 1.0f, 1.0f, 1.0f)),
+ destroy_edit_field);
+ if (game->edit_field == NULL) {
+ RETURN_LT(lt, NULL);
+ }
+
+ game->camera = PUSH_LT(lt, create_camera(renderer, game->font), destroy_camera);
+ if (game->camera == NULL) {
+ RETURN_LT(lt, NULL);
+ }
+
+ game->sound_samples = PUSH_LT(
+ lt,
+ create_sound_samples(
+ sound_sample_files,
+ sound_sample_files_count),
+ destroy_sound_samples);
+ if (game->sound_samples == NULL) {
+ RETURN_LT(lt, NULL);
+ }
+