add missing "extern" (fixes FTBFS on gcc-10)
code formatting: indentation, arg name
Only use ./data if it contains b_variotions.png
renamed config.h -> vorconfig.h and Makefile -> Makefile.in
minimum frame time: 100ms, sprites grid includes just off the right/bottom,
windows port, maybe?
removing most data subdirs
separate scores for easy mode.
minor rearrangements and the beginnings of a Windows port.
* rocks.c: refactored stuff and fixed linked-list bug (I think). * file.c (add_path): renamed to add_data_path, changed all callers. * main.c (load_image): new function - changed all image loads. * mt.c (frnd, crnd): converted literals to standard constants. * mt.h: including inttypes.h instead of the less common stdint.h.
* file.c (g_score_mode): renamed to g_score_mask. * Makefile (install-data uninstall-data): removed score-file stuff.
Moved macros and such from config.h to common.h Now using ~/.vor-scores as our only choice for score file. (it can get deleted if you put it in with data) (and locking issues if multiple users on one machine, etc.) Now passing DATA_PREFIX from Makefile as INSTALL suggests.
config.h - Added debug() macro, fixed Makefile and sound.c to use it. Added debug.c debug.h to go along with this. file.c - fixed bug in find_score_file (added strdup). score.c (read_high_score_table) - removed initializers so we use values which are assigned to the global g_score.
hmm...apparently you can't strdup a NULL pointer :) renamed load_file to add_path, changed all callers
* Switched over to using SFont 2.03, which doesn't have tons of extra cruft. * Moved all things to do with displaying/editing the score out to score.c/score.h
Some code cleanup. Factored most of the file-handling code out into a separate file.