Skip to content

tothpaul/DelphiCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delphi Craft

this is a Delphi translation of the C project by Michael Fogleman

https://www.michaelfogleman.com/projects/craft/

screenshot

the code is somehow inhabituel for a Delphi developer because it's a raw translation of the original code with as few change as possible to identify easily the translation errors.

it took me some time to identify two errors:

  1. shr in Delphi is not signed, >> in C is signed.
  2. C do not have a div operator, I've miss translated a / to a float operator.

Now it support the network protocol !

note that Craft.Auth.pas do not implement the authentication against Michael's server, so you can only join it's server as a guest (I don't wont to bother him with my code).

screenshot

Releases

No releases published

Packages

No packages published