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

line(...) fonction with EasyCE 1.6


line(...) fonction with EasyCE 1.6

Postby Lewil » Apr 23, 2002 @ 5:20pm

Lewil
 


Postby Pam » Apr 23, 2002 @ 5:49pm

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


god

Postby Lewil » Apr 23, 2002 @ 6:10pm

oh oh ! i've seen int values in the header !?!??
anyway, i try (without really understanding)

thanks !
Lewil
 


Postby billcow » Apr 23, 2002 @ 8:47pm

The fixed point numbers are actually stored as ints, they just have a different meaning. That's why they show up as ints in the headers.

BTW, the line, line_x and line_a functions are the only functions that use fixed-point.
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


Postby Lewil » Apr 24, 2002 @ 10:40am

Lewil
 


Postby Lewil » Apr 24, 2002 @ 11:00am

Lewil
 


Postby Lewil » Apr 24, 2002 @ 1:27pm

Lewil
 


Postby billcow » Apr 24, 2002 @ 7:12pm

Actually, if you define LANDSCAPE, the only thing that will change is SCRWIDTH and SCRHEIGHT. (actually, on the pc it will also display sideways, but on PPCs nothing else will change)

I have rewritten a couple parts of EasyCE to fix this (the only thing it hasn't fixed is the blit to video memory, that is only changed on the iPAQ 38xx (that's what I have, and I haven't made anything that I want to run on anything else, so I haven't fixed it (I wouldn't be able to test it anyway))). It should be trivial to fix.

I can send you the file, it also has faster versions of all the graphics functions, a bresenham based line function that uses integers (no IFP(x) nescessary), and another line function that performs clipping (only the line function does this, for everything else clipping is trivial, so it is best done in your application, lines it is more complicated). I also added a couple other things (floating point emulation of fixed point (that seems like an oxymoron of sorts), a few additional input functions, a built-in sine/cosine table (uses fixed point), and some blending stuff).

Anyway, If you (or anyone else) want(s) it, just send me an email.
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


m

Postby Lewil » Apr 26, 2002 @ 10:19am

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby billcow » Apr 26, 2002 @ 8:45pm

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


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