building replaced: Skyscraper

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

BobXP
Tycoon
Tycoon
Posts: 2720
Joined: 04 May 2003 11:00
Location: Torquay, England
Contact:

Post by BobXP »

Hey hey hey, the A-F bits should be in CAPS :P
<!-- End Of Post !-->
Image
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

Patchman wrote:Now to make it really convenient, just go to http://www.ttdpatch.net/cgi-bin/str2hex.pl
I was more thinking of http://www.jinkerson.com/convert2/ myself. :P
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

Lol well just for fun here's a command line version :roll:
Never worked with Console programs in delphi before... :)
Project1.exe "Skyscraper", Output: 0 83 107 121 115 99 114 97 112 101 114 (beginning with a stupid 0... :o )

Code: Select all

program Project1;
{$APPTYPE CONSOLE}
uses
  SysUtils;
var
i: integer;
input,output: string;
begin
  if ParamCount = 0 then
    WriteLn('Syntax: Project1.exe "Text to Ascii-fy"')
    // Or whatever the .exe filename would be, ofcourse...
  else
    begin
    input := ParamStr(1);
    output := '';
    for i:=0 to Length(input) do
      output := output + IntToStr(Ord(input[i])) + #32;
    WriteLn(output);
    end;
end.
And no, this is not on-topic :mrgreen:
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot], GarryG, JohnFranklin523 and 64 guests