31.20 Windows SDL OK

develop
Petr Mrázek 2011-03-06 22:20:08 +01:00
parent 9e62ee6e75
commit d0418836ba
3 changed files with 12 additions and 0 deletions

@ -36,6 +36,7 @@ OPTION(BUILD_DFHACK_SHM "Build the SHM." OFF)
include_directories (${CMAKE_SOURCE_DIR}/library/include/) include_directories (${CMAKE_SOURCE_DIR}/library/include/)
include_directories (${CMAKE_SOURCE_DIR}/library/shm/) include_directories (${CMAKE_SOURCE_DIR}/library/shm/)
include_directories (${CMAKE_SOURCE_DIR}/library/depends/argstream/)
add_subdirectory (library) add_subdirectory (library)

@ -2093,6 +2093,13 @@
<Address name="ptr2_region_array" valid="false" /> <Address name="ptr2_region_array" valid="false" />
</Group> </Group>
</Group> </Group>
<Group name="Translations">
<Address name="language_vector" value="0x01724234 0x1724a94" />
<Address name="translation_vector" value="0x01724254 0x1724ab4" />
</Group>
<Group name="Buildings">
<Address name="custom_workshop_vector" value="0x17299b4" />
</Group>
</Offsets> </Offsets>
</Version> </Version>

@ -68,6 +68,10 @@ int main (int argc, char** argv)
{ {
cout << gmm << endl; cout << gmm << endl;
} }
cout << "Year: " << World->ReadCurrentYear()
<< " Month: " << World->ReadCurrentMonth()
<< " Day: " << World->ReadCurrentDay()
<< " Tick: " << World->ReadCurrentTick() << endl;
if (Position) if (Position)
{ {
int32_t x,y,z; int32_t x,y,z;