qtcraft_headless
The program qtcraft-headless: dedicated server, bots, control interface. More...
Namespaces
Handbook exports of qtcraft-headless: Markdown (–export-handbook, docs/handbook) and the data of the web handbook (–export-handbook-web, web/handbook/data) | |
Logging, crash reports and diagnostics bundles of qtcraft-headless (decision E-834) | |
Command line of qtcraft-headless and the steps every mode shares: the world options and loading the content | |
One-shot tools of qtcraft-headless that start no world and exit when done: the app icon, the sounds, the handbook (Markdown and web), texture packs and atlas statistics, the showcase tour and the world generation tools (–world-stats, –slice-map, –biome-map, –map) | |
Development aid: top-down image of the generated terrain (surface block colour shaded by height, water tinted by depth) | |
Camera stops of the showcase screenshot tour (scripts/showcase-tour.sh), one line each: "<name> <x> <z> <yaw> <pitch>" (stand on top of column x, z and look along yaw and pitch) | |
Development aid: writes every sound of the content (first variant) and one music piece as 16-bit mono WAV files, so that sound definitions can be listened to and checked without the game | |
Texture pack tools of qtcraft-headless (stage 28): exporting the content's textures as an image texture pack (a starting point for pack authors and how the example pack was made, E-303) and measuring the atlas of the shipped packs (size, memory, build time; E-300) | |
Development aid: numbers that describe a generated world, used to tune the world-generation data without playing |
Classes
Qtcraft-headless –server (decision E-255): a server without a local player that network clients join | |
Server and control-interface client in one process without any window: the base of the scenario tests and of external automation | |
Qtcraft-headless –join (decision E-270): the control-interface bot joins a server over TCP instead of hosting a world in-process | |
Command line options of qtcraft-headless | |
What a local or joining run starts with: the server's configuration and the time limit in seconds | |
A vertical cut along the x axis at z, from centreX - radius to centreX + radius; scale pixels per block | |
Server console of qtcraft-headless –console (decision E-247), a step towards the dedicated server: every line of standard input is a server command (the leading '/' is optional), its replies go to standard output as English text. /stop or the end of the input ends the process (the world is saved); a service without input (–no-eof-stop) keeps running at the end of the input | |
Turns the requests to end the process from outside (SIGTERM from a service manager or kill, SIGINT from Ctrl+C; on Windows the console's close and Ctrl+C events) into the signal stopRequested() in the event loop, so a server saves before it ends (decision E-255) | |
Reads standard input line by line on a background thread and delivers the lines to the owner's thread | |
What exportPack() writes (the options of –export-textures) |
Detailed Description
May use every library.