This site is no longer active and is available for archival purposes only. Registration and login is disabled.

EasyCE pc to ppc


EasyCE pc to ppc

Postby Karl » Jan 8, 2002 @ 7:35am

Karl
 


Re: EasyCE pc to ppc

Postby Conan » Jan 8, 2002 @ 9:17am

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Re: EasyCE pc to ppc

Postby Karl » Jan 8, 2002 @ 10:25am

Karl
 


Re: EasyCE pc to ppc

Postby billcow » Jan 8, 2002 @ 1:29pm

Most people don't know that "A highly technical term" is actually a highly technical term used to describe something that doesn't mean anything
User avatar
billcow
pm Member
 
Posts: 81
Joined: Jan 6, 2002 @ 12:22am
Location: Dryden, NY


Re: EasyCE pc to ppc

Postby Karl » Jan 8, 2002 @ 2:11pm

Karl
 


Re: EasyCE pc to ppc

Postby billcow » Jan 8, 2002 @ 4:14pm

Most people don't know that "A highly technical term" is actually a highly technical term used to describe something that doesn't mean anything
User avatar
billcow
pm Member
 
Posts: 81
Joined: Jan 6, 2002 @ 12:22am
Location: Dryden, NY


Re: EasyCE pc to ppc

Postby cryo » Jan 8, 2002 @ 5:03pm

User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Re: EasyCE pc to ppc

Postby Karl » Jan 8, 2002 @ 7:28pm

billcow, <br><br>There is no need to make the character font array 256*256 bytes just because the character set is Unicode, anyway the ASCII values for english characters are the same in Unicode and 8 bit ANSI the only difference is that Unicode sees it as a 2 byte value.  No difference in the font character set in EasyCE.<br><br>Using TCHAR/ACHAR just would have made it easier to port.<br><br>
Karl
 


How do I do, then ?

Postby LeeLoo » Jan 13, 2002 @ 12:17am

Assume I simply want to load an image in a buffer called a, I used to do that in EasyCE 1.5 with the following line :

tgaload(TEXT("image.tga"), 240, 320, a);

which works perfectly in VC++ but doesn't work any more with eVC++ and EasyCE 1.6, because :

TEXT("") returns an unsigned short* whereas a char* is required... Indeed, the prototype of the funtion in EasyCE 1.6 is :

bool tgaload( char* a_File, int w, int h, PIXEL* dest )

Question is : how can I load an image with EasyCE 1.6 ?
LeeLoo
 


Postby Digby » Jan 13, 2002 @ 12:40am

Have you tried:

tgaload("image.tga", 240, 320, a);
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby Guest » Jan 13, 2002 @ 12:49am

Guest
 


Postby Karl » Jan 13, 2002 @ 1:34pm

EasyCE 1.6 has a basic sound playing class, check out the header file. You'll have to link the Windows Multimedia library to your project to use it or the sndPlaySound function (winmm.lib if I remember correctly)
Karl
 


Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum