Dink v1.07 beta 8 released!
EDIT: For those of you wondering, we are beginning the SDL port now.
Well, we're up to beta 8 now
:
Changes in v1.07b8
* Added 2 new DinkC functions: * math_power(int base, int exponent) ^ Raises base to the exponentth power * math_log(double integer) ^ Finds the natural logarithm of integer. NOTE: Will always return positive, even if given a negative number.
Changes in V1.07b7
* More source clean-up
* Adjustments to include calls
* Bug fixes: * Fixed the 1-pixel sprite placement bug above the status bar * Fixed the screenlock hardness bug
* Added several of redink1's DinkC addons: * load_palette(string filename); //To load the default palette, do something like load_palette("tiles/ts01.bmp"); Palette persists even after fade_down()/fade_up(). * show_inventory(void); //Displays the inventory screen, like when you press the Enter key, except without the sound. * math_abs(int value); // Returns absolute value * math_mod(int value, int modulo); // Returns modulo * math_sqrt(int value); // Returns square root * math_sin(int value); // Returns sine * math_cos(int value); // Returns cosine * math_tan(int value; // Returns tangent
So, go grab your copy here:
The Dink Project
Well, we're up to beta 8 now

Changes in v1.07b8
* Added 2 new DinkC functions: * math_power(int base, int exponent) ^ Raises base to the exponentth power * math_log(double integer) ^ Finds the natural logarithm of integer. NOTE: Will always return positive, even if given a negative number.
Changes in V1.07b7
* More source clean-up
* Adjustments to include calls
* Bug fixes: * Fixed the 1-pixel sprite placement bug above the status bar * Fixed the screenlock hardness bug
* Added several of redink1's DinkC addons: * load_palette(string filename); //To load the default palette, do something like load_palette("tiles/ts01.bmp"); Palette persists even after fade_down()/fade_up(). * show_inventory(void); //Displays the inventory screen, like when you press the Enter key, except without the sound. * math_abs(int value); // Returns absolute value * math_mod(int value, int modulo); // Returns modulo * math_sqrt(int value); // Returns square root * math_sin(int value); // Returns sine * math_cos(int value); // Returns cosine * math_tan(int value; // Returns tangent
So, go grab your copy here:
The Dink Project
This thing doesn't handle errors well, does it? I try to run it on my very own dmod (just happen to have a save very near a screenlock area), and here's what my debug.txt says:
Dink
ir is now emhunt.
Dink:loading tilescreens...
Dink
one with tilescreens...
Dink:Initting sound
Dink:initting sound
Dink
pening cd..
Dink:Get id..
Dink:Error reading cd 44.
Dink:Joystick IS plugged in
Dink:loading batch
Dink:Loading .ini
Dink:Sprite_load_pak error: Couldn't load but1-01.bmp.
While with the original dink, I get:
Dink
ir is now emhunt.
Dink:loading tilescreens...
Dink
one with tilescreens...
Dink:Initting sound
Dink:initting sound
Dink
pening cd..
Dink:Get id..
Dink:Error reading cd 44.
Dink:Joystick IS plugged in
Dink:loading batch
Dink:Loading .ini
Dink:Sprite_load_pak error: Couldn't load but1-01.bmp.
Dink
one loading batch
Dink:Loading splash
Dink:World data loaded.
Dink:LOADING main
Dink:Temp thingie is D
Dink:Script main is entered at offset 49.
Dink:setting callback random
Dink:Killed script main. (num 1)
Dink:giving script the boot
Dink:LOADING START
Dink:Temp thingie is D
Dink:Script START is entered at offset 106.
Dink:Loading sounds..
Dink:getting QUACK.WAV..
Dink:getting PIG1.WAV..
Dink:getting PIG2.WAV..
etc.
etc.
etc.
Yours seem to fail when it can't find a graphic it's told to load... isn't it just supposed to silently ignore such errors and proceed?
Oh wait, never mind. It doesn't work with mystery island either.
Dink
ir is now island.
Dink:loading tilescreens...
Dink
one with tilescreens...
Dink:Initting sound
Dink:initting sound
Dink
pening cd..
Dink:Get id..
Dink:Error reading cd 44.
Dink:Joystick IS plugged in
Dink:loading batch
Dink:Loading .ini
Dink:Killing cd...
Dink:Attempting to play midi sound\main.mid.
Hmm... but it works with the Milli Vanilli dmod. How about testing it with different dmods yourself? You'll probably get the same errors I got on some of them. (That is, Dink just exits without any error messages, an stops at the points the debug.txt indicates)
Dink

Dink:loading tilescreens...
Dink

Dink:Initting sound
Dink:initting sound
Dink

Dink:Get id..
Dink:Error reading cd 44.
Dink:Joystick IS plugged in
Dink:loading batch
Dink:Loading .ini
Dink:Sprite_load_pak error: Couldn't load but1-01.bmp.
While with the original dink, I get:
Dink

Dink:loading tilescreens...
Dink

Dink:Initting sound
Dink:initting sound
Dink

Dink:Get id..
Dink:Error reading cd 44.
Dink:Joystick IS plugged in
Dink:loading batch
Dink:Loading .ini
Dink:Sprite_load_pak error: Couldn't load but1-01.bmp.
Dink

Dink:Loading splash
Dink:World data loaded.
Dink:LOADING main
Dink:Temp thingie is D
Dink:Script main is entered at offset 49.
Dink:setting callback random
Dink:Killed script main. (num 1)
Dink:giving script the boot
Dink:LOADING START
Dink:Temp thingie is D
Dink:Script START is entered at offset 106.
Dink:Loading sounds..
Dink:getting QUACK.WAV..
Dink:getting PIG1.WAV..
Dink:getting PIG2.WAV..
etc.
etc.
etc.
Yours seem to fail when it can't find a graphic it's told to load... isn't it just supposed to silently ignore such errors and proceed?
Oh wait, never mind. It doesn't work with mystery island either.
Dink

Dink:loading tilescreens...
Dink

Dink:Initting sound
Dink:initting sound
Dink

Dink:Get id..
Dink:Error reading cd 44.
Dink:Joystick IS plugged in
Dink:loading batch
Dink:Loading .ini
Dink:Killing cd...
Dink:Attempting to play midi sound\main.mid.
Hmm... but it works with the Milli Vanilli dmod. How about testing it with different dmods yourself? You'll probably get the same errors I got on some of them. (That is, Dink just exits without any error messages, an stops at the points the debug.txt indicates)