Path: chuka.playstation.co.uk!news From: Giulio Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: Now I'm getting REALLY mad! Date: Tue, 16 Dec 1997 23:11:19 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 78 Message-ID: <3496FC87.B1AD07DF@tin.it> References: <34902D9A.A58C5281@tin.it> <01bd094f$aa411420$6c0b0a0a@newcastle.twowaytv.co.uk> NNTP-Posting-Host: Genova9-125.tin.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) CRAIG GRAHAM wrote: > The bug's in CodeWarrior aren't generally related to the code generation > - they tend to be linker/debugger related. I'll tell you an example of CW compiler big BUG: I've defined a Struct named SpriteType with a pointer to a GsSPRITE inside it and some other stuff for motion and animation clocks etc... Then I have defined a pointer to that struct and a simple variable related to that (just think at Sprite, *SpritePtr). Well I have tried to use an array of Sprite (no problem) and some SpritePtr as globals. You have to know that I have got no errors from the compiler (because there was no error) but CW refused to allocate memory for the pointer and I had had to define a Sprite Pippo[1] to use a pointer to a SpriteType. An array of only an item to make a pointer that CW understands and allocates memory for that ugly thing!!!! Maybe I'm wrong and it's an error of mine, but why Metrowerks told me nothing about this? And about the debugger, where I can read the globals I have defined in my projects? I have to see how they change during program flow but I was not be able to find them in any debugger windows and I can see them only if a use them in a function defined to use them as parameters. > I've not encountered that problem - even when porting AI code from PC > game engines. Mostly it's not being explicit with you data structure > externs and function prototypes that causes the problems. You write as you have big experience in game programming, lucky you... I have no big experience in game programming but I have developed programs for the university about neural networks, operational research, robotics and automation and my knowledge of C is good enough to think that if I could have a better C compiler-debugger-linker-ecc I could use the little time I have learning game programming and not "How to make patches for CW bugs" > It's a good point to start at - do some small ones, include a few flash > effects > in each one, add the effects together into a big one, voila... I have already written that I have done and tested some libraries for the PSX (SoundLib, PadLib, SpriteLib, VideoLib, FontLib, BgLib) and that I know a little programming, I don't want lessons in programming THANKS if you want to give me and the group suggestions you are welcome but don't be arrogant if you want to be considered a friend, PLEASE. > The manuals are translations from Japanese, contain a few errors and > ommisions, but for someone who's clued up it takes about 2 monthes to > get your head round what's really going on. My disappoint wasn't focused on the manuals they are useful only as just a "reference" and I have understood I have to learn PSX programming by myself and this really does not afraid me at all. > There isn't really a Junior developers/senior developers divide - anyone > can become a full licensed developer - just call Sony, tell them your ideas > and fork out the money for their developer tools. We did. Be warned though, > it's nowhere near as easy to use as a Yaroze..... This is the point: I mean that junior developers are persons which have little experience in game programming and so need more time and help to became a senior more experienced developer. It's too easy to say " Anyone can become a full licensed developer ", you need experience and support to become a full senior developer, at last I think this way. > You have football, what else do you need? I don't like football... I only wish a big software house next to my house that could help me to make my ideas become true. Cheers, Giulio ******************************* Why in Italy there's no support for games developers? *******************************