1. Displaying Bitmap Image Eu 4

Hey Guys,

So I'm a bit confused on how to display a bitmap image in Eu 4. In 3 it was easy.

Eu 3

atom gfx 
sequence pal,gfxx 
gfx = read_bitmap("gfx.bmp") 
gfx = pal[1] 
gfx = gfxx[2] 
 
all_palette(gfx_pal / 4) 
 
display_image({0,0},gfxx) 

That was how you did in Eu 3. However, I'm finding it a bit different in Eu 4, I can't figure it out. Also, how do you set a graphics mode in Eu 4?

new topic     » topic index » view message » categorize

2. Re: Displaying Bitmap Image Eu 4

Lone_EverGreen_Ranger said...

So I'm a bit confused on how to display a bitmap image in Eu 4. Also, how do you set a graphics mode in Eu 4?

Windows, Linux or OS X?

Eu4 doesn't do MS-DOS any more.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Displaying Bitmap Image Eu 4

If you're running Linux, it's almost as easy - see this demo: http://etcwebspace.com/users/irvm/Window3.html
and, you aren't limited to .bmp images, you can display almost any kind.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Displaying Bitmap Image Eu 4

DerekParnell said...
Lone_EverGreen_Ranger said...

So I'm a bit confused on how to display a bitmap image in Eu 4. Also, how do you set a graphics mode in Eu 4?

Windows, Linux or OS X?

Eu4 doesn't do MS-DOS any more.

That's true, though you might be able to try dos rescue, written by Rob Craig to port Language Wars to Windows. Hmm...that might be worth adding to the standard library.

Matt

new topic     » goto parent     » topic index » view message » categorize

5. Re: Displaying Bitmap Image Eu 4

I'm running Windows. How do I do it under windows? Using Eu 4?

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu