The Dink Network

Magicman's Profile

Peasant Netherlands steam duck
Mmmm, pizza. 
I'm called magicman here, but my real name is Joeri van Eekelen and I'm from The Netherlands.

I'm 34 years old and currently being a programmer who's involved in social housing software.

My interest in Dink goes off and on. It is currently off. Check back later. I kinda like sourcediving into the Dink engine, which is an awesome way at figuring out why some unexpected behaviour occurs.

Scripting techniques rant
Some Notepad++ Python scripts
Error in map_tile(); documentation.
Why void touch( void ) freezes, void die( void ) fails to complete, and you need wait(1) in loops.
About external(), spawn(), procedure calls, run_script_by_number.

For those interested, you can read my Dinkerview from early 2014.

Private Message
YIM tchakkazulu
AIM tchakkazulu

2011-06-21 14:45:40
Peasant Netherlands steam duck
Mmmm, pizza. 
In the original code, "load_map" in dinkvar.h reads from map.dat, (line 2368 and further). "load_hard" reads from hard.dat (line 3008 and further), and "load_info" reads dink.dat (line 2984). This reading is done with just a call to fread(), so you'll need to look at the struct definitions to check out what the file layout looks like. Also keep byte padding in mind, that fooled me the first time.

In freedink, loading of a single screen of map.dat happens in the "load_map_to" function of "dinkvar.c" (line 907). Similarly, there's "load_hard" around line 1860 for hard.dat and "load_info_to" (line 1785). The freedink code is explicit about reading bytes, instead of just using fread().

Magicman has released 6 files

WAITWUTMiscellaneousN/AJanuary 23rd, 2016
Persistent LootDevelopmentGood 8.8March 13th, 2012
Enemy HealthbarDevelopmentExceptional 9.7February 20th, 2007
CooltextDevelopmentExceptional 9.0July 7th, 2003
Beginning of EvilD-Mod, RompFair 6.7June 27th, 2003
Dink RacerD-Mod, MiscellaneousTolerable 4.7September 15th, 2002

Magicman has written 4 reviews

This Pack Consists of 27 Sprite Graphics House GraphicsFeaturedTolerable 4.2June 6th, 2005
This is One Really Special D-Mod Cast Awakening Part 1: InitiationFeaturedExceptional 9.5November 2nd, 2004
Wow NitroDinkFeaturedTolerable 4.7January 1st, 2004
Okay RascalFeaturedGood 7.0July 7th, 2003

Magicman has taken 1 screenshot

Preview Ninja Dude GraphicsJune 15th, 2014