C relative header files vs resource files

SGDK only sub forum

Moderator: Stef

Post Reply
Very interested
Posts: 54
Joined: Sat Mar 21, 2009 4:24 pm
Location: Sheffield, England

C relative header files vs resource files

Post by Munkyears » Mon Sep 10, 2018 9:27 pm

Hi guys!

Just a generic question relating SGDK & C language.

Does SGDK use resource files & headers specifically through choice in order to compile in the right output or because of C language standards??

Relating to my other thread


I seem to have an issue where Code::Blocks doesnt know how to deal with my file path structure correctly & after rescomp'ing my resource files causes strange errors

Is it possible I could just externally link them with a manually written header file rather than using a .res file as a go between?

My laymen mind is figuring it works in the following process:#
Main.c compiles
Follows resource files & processes them via rescomp.exe
Outputs a headerfile?
Follows calls to header files and looks for definitions of external files?

Could we not bypass the whole resource file & call an external file via a header or even just call it through main.c?

Many thanks!
To be this good takes ages, To be this good takes Stef, Kanedafr, ChillyWilly & everyone who has helped me discover what hardwork is!

Dive into the SpritesMind! :)

Post Reply