Skip to main content

Module resource

Module resource 

Source
Expand description

Siglus-like resource lookup for BG images and movies.

This stage implements the file search policy used by the original helpers in eng_dir.cpp:

  • tnm_find_g00_sub: try g00/<name>.<ext> in the order g00 -> bmp -> png -> jpg -> dds
  • tnm_find_g00: search append directories from the current append entry to the end of Select.ini
  • tnm_find_mov: search append directories from the current append entry to the end of Select.ini, with extension order wmv -> mpg -> avi

We keep the existing explicit-path behavior for the port, but normal resource resolution follows the original directory search order.

Enums§

MovieType
PctType
SoundType

Functions§

find_audio_path_with_append_dir
find_bg_image
Find an image path for BG loading.
find_bg_image_with_append_dir
find_g00_image
Find an image path restricted to the g00/ directory.
find_g00_image_with_append_dir
find_mov_path
find_mov_path_with_append_dir
find_omv_path_with_append_dir