Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Ultima SDK

Ultima SDK Support for the Ultima SDK.

Reply
 
Thread Tools Display Modes
Old 11-20-2006, 10:35 PM   #1 (permalink)
Forum Expert
 
arul's Avatar
 
Join Date: Jan 2005
Location: Hic sunt leones ...
Age: 21
Posts: 1,280
Send a message via MSN to arul
Default ASCII Text

I wrote a small addition for the Ultima Online SDK and I thought I'd share it.
Recompile your UOSDK with the source file attached to this post, then you can use the ASCIIText.DrawText( int fontId, string text, short hueId ) method like this:

Code:
Bitmap bmp = Ultima.ASCIIText.DrawText( 3, "<3 Ultima Online SDK!", 0x35 );
// do whatever you want with the bmp
Examples:
Have fun
Attached Files
File Type: cs ASCIIText.cs (3.8 KB, 27 views)
__________________
Angels are falling the very last time, down they're burning in hate and decline, unfaithful and violent we're breaking the spell, we're god, we're scissor, in heaven and hell!
arul is offline   Reply With Quote
Old 11-20-2006, 10:50 PM   #2 (permalink)
Forum Novice
 
rsmiller21's Avatar
 
Join Date: Feb 2005
Location: Stephenville, Tx
Age: 25
Posts: 225
Send a message via ICQ to rsmiller21 Send a message via MSN to rsmiller21
Default

Thats awesome, looks great to. Keep up the good work.
__________________
This is a bad signature.
rsmiller21 is offline   Reply With Quote
Old 11-21-2006, 04:34 AM   #3 (permalink)
Forum Expert
 
arul's Avatar
 
Join Date: Jan 2005
Location: Hic sunt leones ...
Age: 21
Posts: 1,280
Send a message via MSN to arul
Default

Glad you like it. I'll release another update of the SDK soon
__________________
Angels are falling the very last time, down they're burning in hate and decline, unfaithful and violent we're breaking the spell, we're god, we're scissor, in heaven and hell!
arul is offline   Reply With Quote
Old 11-21-2006, 09:41 AM   #4 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 45
Posts: 4,363
Default

Very nice. Updates to the SDK will be VERY welcome! Hope you have added support for the new expansions (animations especially)!
HellRazor is offline   Reply With Quote
Old 11-21-2006, 10:28 AM   #5 (permalink)
Forum Novice
 
rsmiller21's Avatar
 
Join Date: Feb 2005
Location: Stephenville, Tx
Age: 25
Posts: 225
Send a message via ICQ to rsmiller21 Send a message via MSN to rsmiller21
Default

Indeed. I call for a sound class. It doesn't even have to play it lol, just return the byte data.
__________________
This is a bad signature.
rsmiller21 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5