Mercurial > mm7
comparison SaveLoad.cpp @ 1736:c6fe09a06712
Player::CompareVariable finished, renamed stru_5E4C90 to stru_5E4C90_MapPersistVars, party::field_4A0 to party::CounterEventValues
author | Grumpy7 |
---|---|
date | Fri, 27 Sep 2013 10:04:45 +0200 |
parents | 75fafd8ced59 |
children | 421c29d4ab3e |
comparison
equal
deleted
inserted
replaced
1732:e8d477b48596 | 1736:c6fe09a06712 |
---|---|
428 data_write_pos += sizeof(Chest)* uNumChests; | 428 data_write_pos += sizeof(Chest)* uNumChests; |
429 memcpy(data_write_pos, pIndoor->pDoors, 0x3E80); | 429 memcpy(data_write_pos, pIndoor->pDoors, 0x3E80); |
430 data_write_pos += 16000; | 430 data_write_pos += 16000; |
431 memcpy(data_write_pos, pIndoor->ptr_0002B4_doors_ddata, pIndoor->blv.uDoors_ddata_Size); | 431 memcpy(data_write_pos, pIndoor->ptr_0002B4_doors_ddata, pIndoor->blv.uDoors_ddata_Size); |
432 data_write_pos += pIndoor->blv.uDoors_ddata_Size; | 432 data_write_pos += pIndoor->blv.uDoors_ddata_Size; |
433 memcpy(data_write_pos, &stru_5E4C90, 0xC8); | 433 memcpy(data_write_pos, &stru_5E4C90_MapPersistVars, 0xC8); |
434 data_write_pos += 200; | 434 data_write_pos += 200; |
435 memcpy(data_write_pos, &pIndoor->stru1, 0x38); | 435 memcpy(data_write_pos, &pIndoor->stru1, 0x38); |
436 data_write_pos += 56; | 436 data_write_pos += 56; |
437 | 437 |
438 } | 438 } |
473 data_write_pos += 112 * uNumSpriteObjects; | 473 data_write_pos += 112 * uNumSpriteObjects; |
474 memcpy(data_write_pos, &uNumChests, 4); | 474 memcpy(data_write_pos, &uNumChests, 4); |
475 data_write_pos += 4; | 475 data_write_pos += 4; |
476 memcpy(data_write_pos, pChests.data(), sizeof(Chest)* uNumChests); | 476 memcpy(data_write_pos, pChests.data(), sizeof(Chest)* uNumChests); |
477 data_write_pos += sizeof(Chest)* uNumChests; | 477 data_write_pos += sizeof(Chest)* uNumChests; |
478 memcpy(data_write_pos, &stru_5E4C90, 0xC8); | 478 memcpy(data_write_pos, &stru_5E4C90_MapPersistVars, 0xC8); |
479 data_write_pos += 200; | 479 data_write_pos += 200; |
480 memcpy(data_write_pos, &pOutdoor->loc_time, 0x38); | 480 memcpy(data_write_pos, &pOutdoor->loc_time, 0x38); |
481 data_write_pos += 56; | 481 data_write_pos += 56; |
482 } | 482 } |
483 strcpy(Source, pCurrentMapName); | 483 strcpy(Source, pCurrentMapName); |