-#include "system/stacktrace.h"
+#include <stdio.h>
#include "game/level/background.h"
#include "math/rand.h"
#include "system/lt.h"
#include "system/nth_alloc.h"
#include "system/log.h"
+#include "system/stacktrace.h"
#define BACKGROUND_CHUNK_COUNT 5
#define BACKGROUND_CHUNK_WIDTH 250.0f
Background *create_background(Color base_color)
{
Lt *lt = create_lt();
- if (lt == NULL) {
- return NULL;
- }
Background *background = PUSH_LT(lt, nth_calloc(1, sizeof(Background)), free);
if (background == NULL) {