mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
build 180527. smoother camera rotation, semi-persistent cab camera angle between view swaps, configurable default cab camera view angle, diesel engine power calculation fix, minor refactoring and fixes for content files lookups and loading
This commit is contained in:
@@ -21,6 +21,8 @@ struct opengl_texture {
|
||||
static DDPIXELFORMAT deserialize_ddpf(std::istream&);
|
||||
static DDSCAPS2 deserialize_ddscaps(std::istream&);
|
||||
|
||||
// constructors
|
||||
opengl_texture() = default;
|
||||
// methods
|
||||
void
|
||||
load();
|
||||
@@ -120,7 +122,7 @@ private:
|
||||
texture_handle
|
||||
find_in_databank( std::string const &Texturename ) const;
|
||||
// checks whether specified file exists. returns name of the located file, or empty string.
|
||||
std::string
|
||||
std::pair<std::string, std::string>
|
||||
find_on_disk( std::string const &Texturename ) const;
|
||||
void
|
||||
delete_textures();
|
||||
|
||||
Reference in New Issue
Block a user