Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where to put the code?
#2
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.
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 



Reply


Messages In This Thread
Where to put the code? - by pahendriks - 03-15-2018, 09:23 PM
RE: Where to put the code? - by Brian Beuken - 03-15-2018, 09:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)