bzt 4a55c11b11 Minor UI tweaks il y a 2 semaines
..
Makefile 8d0822a619 Added sokol platform il y a 1 an
README.md 741a95fcb6 Screen offset is already calculated and more docs il y a 1 an
main.c 4a55c11b11 Minor UI tweaks il y a 2 semaines
sokol_app.h 8d0822a619 Added sokol platform il y a 1 an
sokol_audio.h 8d0822a619 Added sokol platform il y a 1 an
sokol_gfx.h 8d0822a619 Added sokol platform il y a 1 an
sokol_gl.h 8d0822a619 Added sokol platform il y a 1 an
sokol_glue.h 8d0822a619 Added sokol platform il y a 1 an

README.md

MEG-4 sokol Port

This directory contains the main executable for the sokol backend.

Compilation options

Only static linking supported, as sokol is a header library. On the other hand sokol does have some dependencies of its own, which are all dynamically linked.

Command Description
make Compile the meg4 executable for this platform
make sokol Download sokol headers for linking
make install Install the compiled executable
make package Create a package from the compiled executable
make clean Clean the platform, but do not touch libmeg4
make distclean Clean everything
DEBUG=1 make Compile with debug information
EMBED=1 make Compile without OS modal support, no import / export

In embedded mode there are no open file or save file modals, everything is handled in-window. So you must run meg4 with the -d flag and specify a directory where the floppies are stored. The contents of that directory (and only that one) will be displayed by the built-in lister, without using any OS-specific modal windows.