The Dink Network

Reply to Yeoldedink 0.7

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 30th 2023, 05:35 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
Release notes:
- Zero used as the range for calls to random() no longer causes a floating point exception (thanks drone1400).
- math_mod() will now throw an error in the log if it gets fed zero as the divisor instead of crashing, and "/" should silently fail.
- Added an editor type/frame override viewer.
- Added a colour palette viewer
- Added get_platform() to DinkC with return values corresponding to RTDink
- Reintroduced playavi() using ffmpeg's "ffplay".
- Added the option to ignore the 4:3 aspect ratio and use the full width of the window
- Made the variable and sprite editors less dumb in terms of selection
- The map screen index viewer now allows you to create new screens (copies the one you're on like Dinkedit does) and edit MIDI number and indoor status
- The audio window now shows you more details about what's playing and allows you to type in media file names directly for playback
- The debug interface now uses a different font with improved rendering, and in the event a suitable display typeface can't be found, a selector will pop up and let you choose one (on GNU/Linux only).
- Updated the game controller database
- Added various minor improvements
- Implemented the config file (yedink.ini) this time around so you can change a few parameters.
- Rewrote the SFX backend using SoLoud, and increased the voice count from 20 to 40


Addendum and known issues

- The random() bug was reported by Someone in 2008 and was never rectified until now. The random number generator in this release is somewhat different and is being used for most random calls within brains now too.
- There are a few SIL-OFL TTF files distributed with compiled builds that I took from ImGui and other sources, and you can add your own to the "yeoldedink" data subdir and change it in the config file (unless you're an AppImage user). The bundled typefaces are:
- CascadiaCode.ttf JetBrainsMono-Regular.ttf ProggyClean.ttf
Cousine-Regular.ttf Karla-Regular.ttf ProggyTiny.ttf
DroidSans.ttf LiberationSans-Regular.ttf Roboto-Medium.ttf
- For playavi() to work, you must have ffmpeg's ffplay in your PATH environment variable somewhere. This will be the case if you use your distro's package manager, or something like Chocolatey or Scoop on Windows. This is neither a mature nor stable feature and should not be used by anyone, other than for brief entertainment.
- You can now use Ogg Vorbis, FLAC, and MP3 with load_sound() so as to finally bring us up to speed with Seth as of 2010.
- Some SFX-related stuff may sound a bit different, particularly sound_set_vol(). The return values from playsound are now unique for each call which shouldn't affect D-mods, but does break RobJ's vcheck.
- The new hardbox and dot viewer/editor may sometimes cause a crash with certain sprites, and hitting "redraw" in the map sprite editor may also.
- Pressing Tab will centre the player in Cast V Revolution. I'm not sure if it sets mode 3 properly.
- Maximising on Windows might be troublesome
- The OpenGL renderer still doesn't work properly and never will
- A segfault will occur when you exit if you run with sound off.

Links:
- Sores archive ~70MB
- x64 AppImage coming soon
- exe and DLLs ~24MB SHA1: f0deb4d1fa4e952a34b8bd5f772bb4d5da331b29

Plans for 0.8
- Use the new icon
- Implement a palette editor
- Do something about sound_set_vol()