tothpaul / DelphiCraft

Delphi Minecraft clone based on https://www.michaelfogleman.com/projects/craft/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Delphi Minecraft clone based on https://www.michaelfogleman.com/projects/craft/

License:GNU General Public License v3.0


Languages

Language:Pascal 99.0%Language:GLSL 1.0%