The Dink Network

Reply to Re: Bugfixes for freedink on Linux

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:
 
 
August 7th 2022, 12:08 AM
seth.gif
Seth
Peasant He/Him Japan
 
I agree that a generic way to get the fork and version would be good for future builds. In all new versions I'll make:

get_client_fork() return 1 (dink HD, freedink could be 2?)

and as mentioned, Dink HD already has

get_client_version() for the client version.

maybe freedink could add both those?

Dink HD also has get_platform() which might be useful if two builds have the same version but a bug is only found on iPhone or something.

just for reference, the values it returns are:

PLATFORM_ID_UNKNOWN = -1,
PLATFORM_ID_WINDOWS, // 0
PLATFORM_ID_IOS, //iPhone/iPad etc // 1
PLATFORM_ID_OSX, //2
PLATFORM_ID_LINUX, //3, and so on
PLATFORM_ID_ANDROID,
PLATFORM_ID_WINDOWS_MOBILE,
PLATFORM_ID_WEBOS,
PLATFORM_ID_BBX, //RIM Playbook
PLATFORM_ID_FLASH,
PLATFORM_ID_HTML5, //javascript output via emscripten for web
PLATFORM_ID_PSVITA