mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2024-12-28 20:43:42 +01:00
Ran clang-format.
This commit is contained in:
parent
ad902217ea
commit
771d844bc4
3 changed files with 5 additions and 6 deletions
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "map.h"
|
#include "map.h"
|
||||||
#include "npc.h"
|
|
||||||
#include "mapdata.h"
|
#include "mapdata.h"
|
||||||
|
#include "npc.h"
|
||||||
|
|
||||||
#include <gint/cpu.h>
|
#include <gint/cpu.h>
|
||||||
#include <gint/display.h>
|
#include <gint/display.h>
|
||||||
|
|
|
@ -4,6 +4,4 @@
|
||||||
/* The structs related to the inventory are defined in game.h */
|
/* The structs related to the inventory are defined in game.h */
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -120,9 +120,10 @@ int main(void) {
|
||||||
extern char *_message_buffer;
|
extern char *_message_buffer;
|
||||||
_message_buffer = NULL;
|
_message_buffer = NULL;
|
||||||
_message_buffer = malloc(MESSAGE_BUFFER_SZ);
|
_message_buffer = malloc(MESSAGE_BUFFER_SZ);
|
||||||
if(!_message_buffer){
|
if(!_message_buffer) {
|
||||||
dtext(64, 64, C_BLACK, "Failed to allocate the message buffer: not "
|
dtext(64, 64, C_BLACK,
|
||||||
"enough RAM available. Press any key to quit.");
|
"Failed to allocate the message buffer: not "
|
||||||
|
"enough RAM available. Press any key to quit.");
|
||||||
dupdate();
|
dupdate();
|
||||||
getkey();
|
getkey();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue