The Dink Network

Reply to Re: GNU Freedink - New Maintainer

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:
 
 
July 27th 2022, 07:09 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
I have spotted some following bugs from Linux side on my end:
1. FreeDink fails to compile on recent SDL2 since 2.0.10 the extension SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH has been replaced with SDL_HINT_MOUSE_TOUCH_EVENTS and the software still has the former in the input.cpp
2. Autoconf fails when running bootstrap.sh complaining over the AC_PREREQ being on 2.61, suggested 2.64 as a minimum in configure.ac
3. Compiling fails with this following error:
gfx_fonts.cpp: In function ‘void setup_font(TTF_Font*)’:
gfx_fonts.cpp:296:44: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
  296 |   char *familyname = TTF_FontFaceFamilyName(font);
      |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
      |                                            |
      |                                            const char*
gfx_fonts.cpp:299:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
  299 |   char *stylename = TTF_FontFaceStyleName(font);
      |                     ~~~~~~~~~~~~~~~~~~~~~^~~~~~
      |                                          |
      |                                          const char*
gfx_fonts.cpp: In function ‘void setup_font(TTF_Font*)’:
gfx_fonts.cpp:296:44: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
  296 |   char *familyname = TTF_FontFaceFamilyName(font);
      |                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
      |                                            |
      |                                            const char*
gfx_fonts.cpp:299:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
  299 |   char *stylename = TTF_FontFaceStyleName(font);
      |                     ~~~~~~~~~~~~~~~~~~~~~^~~~~~
      |                                          |
      |                                          const char*

4. FreeDink crashes with SIGSEGV (Segmentation fault) when a specific sound plays like hitting an object or the fire plays the crackling sound, it does not happen when playing with no sound.

This is on ArchLinux.

As for questions i have some of em:
- Will FreeDink be expanded in terms of features compared to the original? Stuff like image transparency support, setting up the opacity for the sprite via script etc.
- Will it have a dedicated main menu that can be operated separately to allow the user set the controls up, resolution etc. or even bind custom commands which some mods have into the controller?
- Any chance to replace the current compiler with newer ones such as CMake or Meson?