mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 181001. texture size definition, fog influence on skydome, minor vehicle logic bug fixes
This commit is contained in:
@@ -12,6 +12,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "material.h"
|
||||
#include "renderer.h"
|
||||
#include "utilities.h"
|
||||
#include "sn_utils.h"
|
||||
#include "globals.h"
|
||||
|
||||
bool
|
||||
@@ -73,6 +74,12 @@ opengl_material::deserialize_mapping( cParser &Input, int const Priority, bool c
|
||||
priority2 = Priority;
|
||||
}
|
||||
}
|
||||
else if( key == "size:" ) {
|
||||
Input.getTokens( 2 );
|
||||
Input
|
||||
>> size.x
|
||||
>> size.y;
|
||||
}
|
||||
else {
|
||||
auto const value { Input.getToken<std::string>( true, "\n\r\t ;" ) };
|
||||
if( value == "{" ) {
|
||||
|
||||
Reference in New Issue
Block a user