Pages: 1 [2]
  Print  
Author Topic: A Few Alternate Functions  (Read 8786 times)
Offline (Unknown gender) OniLink10
Reply #15 Posted on: November 03, 2008, 09:05:11 PM
Member
Joined: Jul 2008
Posts: 68

View Profile Email
Why not just use sprites like a sane person?  They look better anyways.
Not if you're doing something that requires user input... you'd need to make a This-Time-It's-Interpreted GM program to dump all 255 characters of a font as a strip >.< (Since I'm too lazy to do it in Win32 API... but wait, SDL_TTF sounds feasible, or even... :o implement that in cpp<{ }> tags! Yes, I hope they get standardised in engima like that.)
Most of the 255 Characters are Unneeded. The First Character in a Font? NULL.
Logged
Offline (Unknown gender) score_under
Reply #16 Posted on: November 04, 2008, 08:34:04 AM

Member
Joined: Aug 2008
Posts: 308

View Profile
Well, 223 characters then.
That's so we can get "ß" german letters, "ÿ" and whatever THAT thing is. And then £ (A3 ascii, or 8192 unicode) too.
Logged
Offline (Unknown gender) OniLink10
Reply #17 Posted on: November 06, 2008, 06:34:10 PM
Member
Joined: Jul 2008
Posts: 68

View Profile Email
Well, 223 characters then.
That's so we can get "ß" german letters, "ÿ" and whatever THAT thing is. And then £ (A3 ascii, or 8192 unicode) too.
Let's see...
Chars 0-31: Unneeded Characters.
Chars 32-126: The Main 95 Characters used in Text Files.
Char 127: DELETE, Unneeded.
Chars 128-175: Other useful Characters, including Foreign Characters.
Chars 176-223: Random Lines and Dots. Unneeded.
Chars 224-253: Other Useful Characters.
Chars 254-255: Unknown Characters. Unneeded.

Total Useful Characters: 173/256
Nice Estimation, but it was off. I used http://www.asciitable.com/
Logged
Offline (Unknown gender) score_under
Reply #18 Posted on: November 07, 2008, 12:28:29 PM

Member
Joined: Aug 2008
Posts: 308

View Profile
Chars 0-31: Unneeded Characters.
Chars 32-126: The Main 95 Characters used in Text Files.
Char 127: DELETE, Unneeded.
Chars 128-175: Other useful Characters, including Foreign Characters.
Chars 176-223: Random Lines and Dots. Unneeded.
Chars 224-253: Other Useful Characters.
Chars 254-255: Unknown Characters. Unneeded.
176-223 are either foreign or mathematical characters, 176 being the degree sign and 223 being the german "sharp S".
254: Lowercase thorn
255: Lowercase "y" with an umlaut on top (or whatever it's called where they use that letter)

You are using the old DOS codepages.
Logged
Offline (Unknown gender) OniLink10
Reply #19 Posted on: November 08, 2008, 07:59:26 PM
Member
Joined: Jul 2008
Posts: 68

View Profile Email
Chars 0-31: Unneeded Characters.
Chars 32-126: The Main 95 Characters used in Text Files.
Char 127: DELETE, Unneeded.
Chars 128-175: Other useful Characters, including Foreign Characters.
Chars 176-223: Random Lines and Dots. Unneeded.
Chars 224-253: Other Useful Characters.
Chars 254-255: Unknown Characters. Unneeded.
176-223 are either foreign or mathematical characters, 176 being the degree sign and 223 being the german "sharp S".
254: Lowercase thorn
255: Lowercase "y" with an umlaut on top (or whatever it's called where they use that letter)

You are using the old DOS codepages.

Argh! Darn it!
Logged
Offline (Male) RetroX
Reply #20 Posted on: November 16, 2008, 06:58:59 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
As far as I'm aware, ENIGMA and GM use those characters.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) score_under
Reply #21 Posted on: November 19, 2008, 05:59:45 PM

Member
Joined: Aug 2008
Posts: 308

View Profile
That's ridiculous - the only 2 programs I know which use it are NFO Scroller and the windows command line.

Still, if they do use those characters, it would explain why it couldn't print "£" in Game Maker.
Logged
Offline (Male) Josh @ Dreamland
Reply #22 Posted on: December 06, 2009, 10:31:22 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2934

View Profile Email
If I may, I believe 167 is what you meant, not 176. Also, it's not a degree sign. Render it large, you'll see an underline. Degree sign is 248.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) RetroX
Reply #23 Posted on: December 06, 2009, 02:20:14 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
I don't even know what the hell I was replying to when I posted that. -_-
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) score_under
Reply #24 Posted on: December 06, 2009, 04:53:13 PM

Member
Joined: Aug 2008
Posts: 308

View Profile
If I may, I believe 167 is what you meant, not 176. Also, it's not a degree sign. Render it large, you'll see an underline. Degree sign is 248.
Alt+0176 = °
Alt+0167 = §
Alt+0248 = ø

...yeah.
Logged
Offline (Male) Josh @ Dreamland
Reply #25 Posted on: December 06, 2009, 09:42:14 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2934

View Profile Email
Ah, you inputted the zero along with it. Try without the zero.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) score_under
Reply #26 Posted on: December 08, 2009, 12:14:30 PM

Member
Joined: Aug 2008
Posts: 308

View Profile
Alt+176 = ー
Alt+167 = ァ
Alt+248 = ø

But that's because without a zero and under 256 makes it use the DOS codepage, and I have mine set to Japanese.
Logged
Offline (Male) Rusky
Reply #27 Posted on: December 08, 2009, 08:37:30 PM

Resident Troll
Joined: Feb 2008
Posts: 960
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
well then
Logged
Offline (Male) Josh @ Dreamland
Reply #28 Posted on: December 08, 2009, 09:21:01 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2934

View Profile Email
>_<"

What Rusky said.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: 1 [2]
  Print