Merge branch 'master' into jgrpp
# Conflicts: # cmake/CompileFlags.cmake # src/crashlog.cpp # src/fileio.cpp # src/fileio_func.h # src/fios_gui.cpp # src/ini_load.cpp # src/ini_type.h # src/lang/english.txt # src/lang/german.txt # src/lang/korean.txt # src/network/network_client.cpp # src/order_base.h # src/order_cmd.cpp # src/os/windows/win32.cpp # src/road_cmd.cpp # src/saveload/saveload.cpp # src/saveload/saveload.h # src/settings.cpp # src/station_cmd.cpp # src/stdafx.h # src/table/settings.ini # src/tree_cmd.cpp # src/tree_gui.cpp # src/vehicle_base.h # src/video/cocoa/cocoa_v.mm # src/video/cocoa/event.mm # src/video/cocoa/wnd_quartz.mm # src/viewport.cpp # src/widgets/tree_widget.h
This commit is contained in:
@@ -214,8 +214,8 @@ static void Load_MAP8()
|
||||
|
||||
static void Load_WMAP()
|
||||
{
|
||||
assert_compile(sizeof(Tile) == 8);
|
||||
assert_compile(sizeof(TileExtended) == 4);
|
||||
static_assert(sizeof(Tile) == 8);
|
||||
static_assert(sizeof(TileExtended) == 4);
|
||||
assert(_sl_xv_feature_versions[XSLFI_WHOLE_MAP_CHUNK] == 1 || _sl_xv_feature_versions[XSLFI_WHOLE_MAP_CHUNK] == 2);
|
||||
|
||||
ReadBuffer *reader = ReadBuffer::GetCurrent();
|
||||
@@ -264,8 +264,8 @@ static void Load_WMAP()
|
||||
|
||||
static void Save_WMAP()
|
||||
{
|
||||
assert_compile(sizeof(Tile) == 8);
|
||||
assert_compile(sizeof(TileExtended) == 4);
|
||||
static_assert(sizeof(Tile) == 8);
|
||||
static_assert(sizeof(TileExtended) == 4);
|
||||
assert(_sl_xv_feature_versions[XSLFI_WHOLE_MAP_CHUNK] == 2);
|
||||
|
||||
MemoryDumper *dumper = MemoryDumper::GetCurrent();
|
||||
|
Reference in New Issue
Block a user