Split game code and tests into focused modules
This commit is contained in:
20 files changed
+2611
-2431
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#ifndef TEST_SUPPORT_H
|
||||
#define TEST_SUPPORT_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "../source/game.h"
|
||||
|
||||
void render_scene(int x, int y);
|
||||
int reachable(int start_x, int start_y, int end_x, int end_y);
|
||||
void check_art(const char *const *art, int rows, int colors);
|
||||
void write_preview(const char *path);
|
||||
int pending_pixels(void);
|
||||
void copy_pending_rows(u16 *visible);
|
||||
void check_buffered_walking(void);
|
||||
void check_route_travel(void);
|
||||
void check_mellon_visit(void);
|
||||
void check_starter_gift(void);
|
||||
void check_ball_gift(void);
|
||||
void check_following_and_battle(void);
|
||||
void check_wild_encounters(void);
|
||||
void check_background_cache(void);
|
||||
void check_sprite_rows(void);
|
||||
void check_movement_clock_and_speed(void);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user