@@ -66,10 +66,19 @@ CONFIG_ERROR_CHECKING Define error checking level, where 9 is maximum. Lower numbers might improve speed but may make the program crash in some cases and may also cause security vulnerabilities. +CONFIG_FUNCTION_ASK_TEXT + Should be a function or macro taking four arguments, which will ask for + and accept a single line of text. The first argument is the SDL screen + object, the second is the prompt text, the third is the code page number + for the prompt text, and the fourth is the code page number for the + input. The result is a pointer to a buffer (which the caller need not + free, and will not write to) containing the null-terminated text, or a + null pointer if the prompt has been cancelled by the user. + CONFIG_LAUNCHER_PATH If defined, then it is the full path to a file to execute if Free Hero Mesh has been invoked with no command-line arguments, or if it is given the flag to run the launcher program instead. (Maybe this should not be implemented; you can run the separate launcher program directly instead. @@ -76,10 +85,14 @@ Maybe it will be the other way around, if compiled to use AppImage.) CONFIG_MULTIUSER_SCORES (Meant for storing scores on a multiuser system, somehow) +CONFIG_OMIT_CODEPAGE + If defined, omit capability of code pages; only PC character set will + be available. (This also implies CONFIG_OMIT_MBCS.) + CONFIG_OMIT_EDITOR If defined, omit the level editor and picture editor, as well as the ability to import and export levels and pictures. CONFIG_OMIT_GUI @@ -93,10 +106,14 @@ CONFIG_OMIT_MUSIC If defined, omit background music playback capabilities. (Even if this is not defined, it can still be disabled at runtime.) +CONFIG_OMIT_PIPE + If defined, then any features that use popen are omitted. Some operating + systems may require this; otherwise, you should avoid using this. + CONFIG_RANDOM_SOURCE Device to read random numbers from instead of using the random number generator built in to SQLite. (This will override the definition of the SQL RANDOM() function if it is defined.) @@ -117,10 +134,15 @@ If defined, use BSD functions (such as funopen) instead of GNU functions (such as fopencookie), by adding emulations into the program. (It is still necessary to use a C compiler with GNU extensions though, even if the GNU library is not available.) +CONFIG_USING_DOS_FILENAMES + If defined, then the program only uses valid DOS file names (8.3). This + affects how configuration files are found by default, and it affects how + non-composite puzzle sets are read. Composite puzzle sets are unaffected. + CONFIG_USING_SDL12_COMPAT Define this if the program is to be compiled for use with the "sdl12-compat" SDL compatibility layer. (This does not affect linking, but it may change some parts of the program to improve compatibility.) @@ -132,10 +154,13 @@ CONFIG_USING_X86_BMI2 If defined, use PDEP and PEXT instructions. This only works on x86 and only on some processor models. (Apparently this is fast on Intel but slow on AMD, so it should not be used on AMD, even if it is available.) +CONFIG_WITH_MENU + If defined, include a menu bar with commands. + CONFIG_WITH_NETWORK If defined, include code for network/internet access. Even if this is defined, it must still be enabled by the end user; it will not connect to any remote services unless the user explicitly commands it to do so.