triptico.com: Angel Ortega's Site

QDGDF Release Notes

0.9.1

  • A new function has been added, qdgdfv_load_pcx_pal(), that loads a 256 color PCX file and rearranges it to match the current palette.
  • A new function has been added, qdgdfv_load_pcx_pal_set(), that loads a 256 color PCX file and sets its palette as the active one.
  • New functions qdgdfv_home_dir() and qdgdfa_home_dir(), that return a path where a game can create a directory and/or write data.
  • New functions qdgdfv_app_dir() and qdgdfa_app_dir(), that return a path where a game can look for its application data (as bitmaps and such), probably where the installer copied the game.

0.9.0

  • The function qdgdfa_set_attenuation() has been added. It allows to attenuate (i.e. lower the volume of) a sound given its handle.
  • The _qdgdfv_double_mode variable has been obsoleted in favour to _qdgdfv_scale. Giving it a value of 1 emulates the old behaviour of _qdgdfv_double_mode, but offers more possibilities (for example, the X11 driver allows a scale value of 3).
  • There are four new key variables; _qdgdfv_key_pgup, _qdgdfv_key_pgdn, _qdgdfv_key_home and _qdgdfv_key_end.
  • The build system has been improved; now, it's just a matter of running config.sh && make. Needed libraries are written to the config.ldflags file, so it's easier to know what libraries will be needed by your program.
  • The new build system includes support for mingw32, so it's easier than ever to build everything from a Unix-like system (you no longer need MS Windows to build win32 QDGDF games).
  • qdgdfv_fopen() now have a configurable path search, stored in the _qdgdfv_fopen_path string variable as a list of semicolor-separated search path.
  • Grave errors have been fixed in the linux sound daemon.
  • X11 8bpp (256 color) mode works again.
  • Alphanumeric keys work again under win32.
  • The function qdgdfv_extended_key_status() has been added, so that additional information as 'just-pressed' or 'just-released' can be obtained about the keys.
  • The function qdgdf_assert_in_virtual_screen() has been added, to know if a pointer falls inside the virtual screen space.
  • The prototype for qdgdfv_load_palette() has been restored to the header files.