Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Omar Metwally Newsgroups: scea.yaroze.programming.codewarrior Subject: Undefined Macros in CW Date: Sat, 17 Oct 1998 15:14:46 -0700 Organization: SCEA News Server Lines: 38 Message-ID: <362916D6.891E1C61@aol.com> NNTP-Posting-Host: 166-7-20.ipt.aol.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------1C506824D507C5AA01747398" X-Mailer: Mozilla 4.07 [en] (Win95; I) --------------1C506824D507C5AA01747398 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I tried to compile a 2-player program had the following: if(padd & PAD1_START) return(98); if(padd & PAD1_SELECT) return(99); if(padd & PAD1_RIGHT) CheckCollision(RIGHT); if(padd & PAD1_LEFT) CheckCollision(LEFT); if(padd & PAD1_UP) CheckCollision(UP); if(padd & PAD1_DOWN) CheckCollision(DOWN); This did not work--I checked the pad.h file and the only macros defined are things for 1-player stuff. What should I do to fix this problem? --------------1C506824D507C5AA01747398 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I tried to compile a 2-player program had the following:

if(padd & PAD1_START) return(98);
 if(padd & PAD1_SELECT) return(99);

 if(padd & PAD1_RIGHT) CheckCollision(RIGHT);
 if(padd & PAD1_LEFT) CheckCollision(LEFT);
 if(padd & PAD1_UP) CheckCollision(UP);
 if(padd & PAD1_DOWN) CheckCollision(DOWN);
 

This did not work--I checked the pad.h file and the only macros defined are things for 1-player stuff.  What should I do to fix this problem? --------------1C506824D507C5AA01747398--