03-15-2018, 09:51 PM
yes, the code can actually go anywhere really as long as you include STB, and have a MyFiles Filehandler line somewhere
but putting into a Myfiles.cpp file to wrap our load in to a nice function is the safest option.
but putting into a Myfiles.cpp file to wrap our load in to a nice function is the safest option.
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's