Login
User Name:

Password:



Register

Forgot your password?
Overland with Bitmaps
Jul 4, 2025 12:54 am
By Gdub
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
I3 and IMC
Jan 17, 2025 9:35 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
Anthropic, AhrefsBot, Majestic-12, Remcon, Google

Members: 1
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
507
3,812
19,724
594
Bardecome

» SmaugMuds » General » Smaug Snippets » Overland with Bitmaps
Forum Rules | Mark all | Recent Posts

Overland with Bitmaps
< Newer Topic :: Older Topic > Samson said he wanted this.

Pages:<< prev 1 next >>
Post is unread #1 Jan 31, 2004 12:02 pm   
Go to the top of the page
Go to the bottom of the page

Eos
Fledgling
GroupMembers
Posts7
JoinedNov 29, 2002

 
Here you go Sammy (and anyone else):

http://www.auricmud.com/snippets/overland%20bitmaps.c

Adds support to your mud for the reading/writing of bitmaps in conjunction with the overland code, so you don't have to use RAW files, and can use both.

Enjoy.

Post is unread #2 Jan 31, 2004 4:34 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,707
JoinedJan 1, 2002

 
Ahh, sweetness. You have no idea how pleased Dwip will be to see this in action. Thanks for that

Post is unread #3 Jan 31, 2004 4:39 pm   
Go to the top of the page
Go to the bottom of the page

Eos
Fledgling
GroupMembers
Posts7
JoinedNov 29, 2002

 
You're welcome. I'm looking into the feasibility of using a compressed image format to save time/space as well, and will post it if I develope one.

Any other wishlist items while I'm working on this?

Post is unread #4 Jan 31, 2004 7:32 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,707
JoinedJan 1, 2002

 
The only problem I can conceive of with a compressed image reader is that it would requrie tying into image libraries which may not be available on all platforms. The compression would be a godsend, but it would be nice to avoid restricting the target audience too much.

Post is unread #5 Feb 1, 2004 11:23 am   
Go to the top of the page
Go to the bottom of the page

Dasickone
Fledgling
GroupMembers
Posts29
JoinedDec 23, 2003

 
Oh yeah, that snippet owns ass

Post is unread #6 Feb 2, 2004 10:18 pm   
Go to the top of the page
Go to the bottom of the page

Eos
Fledgling
GroupMembers
Posts7
JoinedNov 29, 2002

 
Alright. I've begun work on adding JPG support. After file format comparisions JPG is platform indpendant, and widely enough supported, so it will be my target compressed format.

It'll be a lossless jpg, so that it won't damage any of the info, but since overland uses a very limited pallette of colors and lots of repetition, lossless is perfect.

I should be posting it sometime this week provided my IRL work doesn't distract me too much, otherwise possibly this weekend.

I'll also post it in a new subject to make it easier to find.

Post is unread #7 Feb 3, 2004 4:14 pm   
Go to the top of the page
Go to the bottom of the page

Quixadhal
Conjurer
GroupMembers
Posts395
JoinedMar 8, 2005

 
Awesome!

Jpeg would be good (definatly want to be sure it's lossless though, and that your paint program doesn't convert it to lossy on you!), but PNG would be even better I think. It's also cross-platform, and seems to be a slightly cleaner standard. It's typically what people use when they want the lossless nature of a GIF but don't want the copyright headaches.

Post is unread #8 Feb 3, 2004 7:20 pm   
Go to the top of the page
Go to the bottom of the page

Eos
Fledgling
GroupMembers
Posts7
JoinedNov 29, 2002

 
I'll be comparing gif, jpg, and png. Currently I'm on working jpg though because lossless jpg is supposedly smaller than all the others still, but I'm also interested in using a format that codes the cleanest so noone has to install a 40 mb page module just to save space (irony).

Post is unread #9 Feb 3, 2004 9:10 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,707
JoinedJan 1, 2002

 
So long as whichever compressed format is chosen can still be edited in Windows Paint ( the default program most people will have ) without losing information I'd be thrilled to death.

Post is unread #10 Feb 3, 2004 9:34 pm   
Go to the top of the page
Go to the bottom of the page

Eos
Fledgling
GroupMembers
Posts7
JoinedNov 29, 2002

 
Actually in researching more closely after that, gif looks the better.
I had originally intended gif but shied away due to licensing issues, but various comparisions of the formats available tend to agree gif is the better choice for what we need.
I'll keep digging and eventually release at least one format possibly more depending on time.

Post is unread #11 Feb 4, 2004 10:39 am   
Go to the top of the page
Go to the bottom of the page

Quixadhal
Conjurer
GroupMembers
Posts395
JoinedMar 8, 2005

 
gif is probably going to have the broadest base of support, as good ole 256 colour gifs are supported by almost everything, even the travesty that is Xpaint.

I think the only people who paid any attention to Unisys when they claimed copyrights were the big companies that got targeted by them. Certainly, there are plenty of gifs still in use on the net these days.

Post is unread #12 Oct 2, 2006 5:27 pm   
Go to the top of the page
Go to the bottom of the page

ransom
Fledgling
GroupMembers
Posts22
JoinedSep 7, 2006

 
Could this be added to the main code base? or is it already?
good excuse for an update I think :devil:

Post is unread #13 Oct 2, 2006 8:51 pm   
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,707
JoinedJan 1, 2002

 
Heh. This topic sort of became a forgotten feature. At least in the public eye. Behind the scenes we've gone ahead and incorporated png support. So now the overland is able to read and write actual editable png files. Yes, even the lowly Windows Paint can edit those. It's going to be in among the many changes and updates for the 2.0 code. When will that be I hear you asking? Maybe sooner than you think - but it isn't ready yet.

Post is unread #14 Jul 4, 2025 12:54 am   
Go to the top of the page
Go to the bottom of the page

Gdub
Fledgling
GroupMembers
Posts5
JoinedFeb 24, 2024

 
anyone happen to have a copy of this? The link is dead :/

Pages:<< prev 1 next >>