Changeset 828 for trunk/game/fonts

Timestamp:
04/03/11 22:43:05 (9 years ago)
Author:
barra_parpg
Message:

Patch by aspidites:

  • renamed all Directory options to Path for brevity and consistency
  • settings.py no longer sets absolute paths as this was crashing fife
  • settings.py no longer errors out on file read. instead, it errors out only if system.cfg isn't found and displays a useful help message
  • added a settings_path argument to settings.py to compensate for the fact that on linux, the settings file is not in the same location as the other data files
  • run.py no longer takes a -p option. instead, 1 to 3 filenames are taken as required arguments
  • subclassed pychan's Font object to create PARPGFont, which is arguably more flexible
  • instead of taking a fontdef file, it takes a settings object as well as a python dictionary called fontdef
  • created three fontdef modules in /fonts to assist in creation of the forementioned fontdef dictonaries.
  • one needs only copy the file, rename it, and change the name option to create a new fontdef
  • because of the above changes, the fontspath is not configurable
Location:
trunk/game/fonts
Files:
3 added

Note: See TracChangeset for help on using the changeset viewer.