>I've been trying to learn the CW IDE and understand the Reptoids project

 I really like questions about techniques in Reptoids. I don't get very many so
I'll just answer these. :)


>1) Why the various resource files ? Why not put it in one resource file and
let Constructor take care of the .h file ?

Reptoids was developed using ResEdit instead of with Constructor.  If you're
using Constructor, you're better off keeping everything in one resource file
because it eliminates duplicate version numbers and app names.


>2) What exactly happens to those resource files when a make occurs? Are they
all mashed together in some data segment and judicious use of id numbers
keep it all straight?

All of the UI resources are mashed into a tFRM resource and good use of numbers
keeps them all straight.  Menus and strings and alert and so on have their own
resources.  You can see this if you use PalmDebugger.


>I'm trying to use that code as a starting point for some game code of my own
but I think I maybe better off starting out with smaller hunks of code and
building the project up.

The source code to HardBall and SubHunt are also available, with HardBall being
the simplest.  I recommend starting with HardBall.  At least, that's what I
did... :)


-Roger Flores


Reply via email to