String theory and V³
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
el_desconocido

I just uploaded ILL to the 'other' category.
(taken from the readme)
International Language Library version .1
PrintStringI() works exactly like PrintString() except slightly slower.
Use PrintString() if you know the text has no special characters.
Currently supports all standard Verge³ characters and the following special characters, which should all be visible using Courier New, Arial, Tahoma, etc.

Á á É é Í í Ó ó Ú ú Ñ ñ ¡ ¿ © ® ™ € § ¥ ¢ @ ¦ ° ¹ ² ³ ± ¶ £ µ

Example:
PrintStringI(10, 20, screen, font, "¿Cómo estás?");

Currently supports Spanish, I'll gladly add French if someone could reply with the special characters required.

Posted on 2004-03-27 22:55:25

anonymous

Neat. I need Norwegian letters! 8D
æøåÆØÅ
;)

I'm trying to think of a way to optimize the script, like calculating new letters by using the char code of the letter, but then again I'm pretty sure you'd hardly notice the speed difference. (I haven't really tried running the script, just looked at the code.)

Posted on 2004-03-29 20:54:02

mcgrue

We have a mystery norseman! :o

Posted on 2004-03-29 21:23:47

Mythril

Darnit, that's me. Weren't you going to fix a popup box if you're not logged in? :O

Posted on 2004-03-29 22:06:58

el_desconocido

I'm trying to think of a way to optimize the script

I've done a little already, went from 7 - 9 ticks per screen of every other char special to 1 - 2 ticks (while bumping some Reggae). Instead of passing back strings, it alters a global buffer and returns wether or not it changed the letter to further reduce calls to strcmp(); It also now strcmp()s with ~ first off to see if it's a standard letter, and if so avoids a lot of if(strcmp())s. It also filters out any unsupported chars so as not to make Verge³ crash.

Also it now works with variable width fonts (looks much less crappy) and I've added TextWidthI().

Unless people really want to see it sooner, I'd planned on uploading the thing I needed ILL for in a day or two, and will update it then.

æøåÆØÅ Will do! :) [Edit: have done :]

Also nearing perfection is string input via keyboard INCLUDING the special characters. Alt + n = ñ, Alt + ! = ¡ etc.

Back to the salt mine,
El

Posted on 2004-03-30 03:09:11 (last edited on 2004-03-30 04:32:54)

Mythril

:D
Hmm, I should do something in Verge too... But there's too little time! (Between homework and anime and games) :/

Posted on 2004-03-30 10:51:45


Displaying 1-6 of 6 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.