[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Enigma-devel] "st-bumps" and 1024x768 patch
From: |
FilE |
Subject: |
[Enigma-devel] "st-bumps" and 1024x768 patch |
Date: |
Thu, 15 Apr 2004 11:32:36 +0200 |
User-agent: |
KMail/1.5.3 |
hi all,
i wrote a patch to include the stone type "st-bumps" (because i included it
first in blackballed, and then i didn't want to remove it again) in enigma.
it patchs the the two "Startup.lua" and "models-2d.lua" files and supports
the stone as a basic stone (the graphic is already in the gfx dir). i'm not
allowed doing enigma cvs commit, that's why i didn't send a patched file to
cvs. in the attachment there art two patched files. Replace the old
!!!!CVS!!! ones with this files. YOU WILL NOT NEED TO RECOMPILE YOUR ENIGMA!
as i said it's only working in CVS!!!
I wrote also an 1024x768 patch. It will work, i think, but someone must zoom
all graphics by 160% and the alpha channel mustn't be deleted!!!
in your enigma/src dir, open video.cc and replace the outcommented 1024 line
with this
// ------------------ PATCH BEGIN------------
{
1024, 768, 48, "1024x768", "gfx48/",
160, 104, "thumbs40", // thumbnail size/directory
Rect (0, 0, 1024, 665), // game area
Rect (0, 665, 1024, 102), // statusbar area
Rect (20, 672, 100, 40), // time area
Rect (100, 704, 30, 30), // moves area
Rect (192, 539, 610, 46),// inventory area
Rect (243, 694, 760, 56) // text area
},
// -----------PATCH END-------------
then open the video.hh files and InComment in the "enum VideoModes" block the
VM_1024x768 = 3,
line.
Then recompile your enigma cvs version. (And, you can do a commit)
The 1024x768 gfx files are located in enigma/data/gfx48. But as i said, you
will neet to zoom them for yourself (or, who made the 800x600 zoom? Thisone
could make the 1024x768 zoom...)
greetings
michi
startup.lua
Description: Text document
models-2d.lua
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Enigma-devel] "st-bumps" and 1024x768 patch,
FilE <=