Mechanized Assault & eXploration Reloaded



#51 Oct 01, 2008 12:02 am
beko beko Offline
Developer, Administrator
Registered since: Jun 04, 2004
Posts: 2,279


Subject: Re: max file formats
a friendly piece of advice: don't jump from task to task. That way you'll never get anything done. Focus on one job, keep it simple and stupid and get it done.
Bernd Kosmahl
"Sir, we are surrounded!" - "Great - we can attack in any direction."
↑  ↓

#52 Oct 01, 2008 1:03 am
Eiko Eiko Offline
Moderator, Developer
Registered since: Aug 03, 2007
Posts: 604


Subject: Re: max file formats
shaktazuki: you can have a look at this file from the resinstaller:
http://maxthegame.dyndns.org:8080/...er/pcx.cpp

there are functions to read and write sdl surfaces from/to pcx files.
↑  ↓

#53 Oct 01, 2008 5:58 am
shaktazuki Offline
Mitglied
Registered since: Apr 30, 2008
Posts: 123


Subject: Re: max file formats
Quote by beko:
a friendly piece of advice: don't jump from task to task. That way you'll never get anything done. Focus on one job, keep it simple and stupid and get it done.

Quote by Eiko:
shaktazuki: you can have a look at this file from the resinstaller:
http://maxthegame.dyndns.org:8080/...er/pcx.cpp

there are functions to read and write sdl surfaces from/to pcx files.

See, this is why I get so far behind Wink To use Eiko's approach, I need to also learn how to use SDL surfaces, which means I need to practice that too, and to use Beko's approach, I shouldn't use SDL surfaces! What am I supposed to do? Wink

Eiko - thanks for bringing that part of the reinstaller to my attention. By the way, are you guys going to make that reinstaller patch I submitted part of the official code?
↑  ↓

#54 Oct 01, 2008 8:49 am
beko beko Offline
Developer, Administrator
Registered since: Jun 04, 2004
Posts: 2,279


Subject: Re: max file formats
nope, you got me wrong.
Bernd Kosmahl
"Sir, we are surrounded!" - "Great - we can attack in any direction."
↑  ↓

#55 Oct 01, 2008 10:02 am
Eiko Eiko Offline
Moderator, Developer
Registered since: Aug 03, 2007
Posts: 604


Subject: Re: max file formats
which patch are you talking about? The one for the wave file extension is already in the code. Wink
↑  ↓

#56 Oct 01, 2008 4:53 pm
shaktazuki Offline
Mitglied
Registered since: Apr 30, 2008
Posts: 123


Subject: Re: max file formats
Quote by beko:
nope, you got me wrong.

I'm joking. Sorry! Surprised

Eiko, Tortoise SVN says the working base lacks the code for the SPW files...
↑  ↓

#57 Oct 01, 2008 6:13 pm
Eiko Eiko Offline
Moderator, Developer
Registered since: Aug 03, 2007
Posts: 604


Subject: Re: max file formats
make a revert and then update. Then you should have the newest code.
↑  ↓

#58 Oct 02, 2008 2:25 am
shaktazuki Offline
Mitglied
Registered since: Apr 30, 2008
Posts: 123


Subject: Re: max file formats
Eiko - with respect to the PCX, maybe you can help me - suppose I am using the basic 16 - color EGA palette with 4 color planes, and I want to encode a scanline that is entirely blue to a file. What form would the scanline data have?

Weird about the reinstaller...
This post has been edited 1 times. Last edit on Oct 02, 2008 2:29 am by shaktazuki. ↑  ↓

#59 Oct 03, 2008 11:30 pm
Eiko Eiko Offline
Moderator, Developer
Registered since: Aug 03, 2007
Posts: 604


Subject: Re: max file formats
hm, sorry, i don't know how the pcx file looks like, when using a 16 color table.
But, why do want to use a 16 color palette? This is a quite uncommon format for a graphic file. I would suggest using a 8 bpp pcx file.
↑  ↓

#60 Oct 04, 2008 2:33 am
shaktazuki Offline
Mitglied
Registered since: Apr 30, 2008
Posts: 123


Subject: Re: max file formats
Just for simplicity; technically, I only need 4 colors. I'm trying to represent a resource distribution for MAX using PCX for ease of visual inspection. I've decided to go with 16 color bitmaps instead (since they're fully documented, where PCX seems not to be).
↑  ↓

Pages (6): 1, 2, 3, 4, 5, 6


All times are GMT +02:00. Current time: 7:37 am.