comparison SaveLoad.cpp @ 515:cb0ad52d6a26

LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people) Some object-related subs moved to SpriteObject.cpp
author Nomad
date Fri, 01 Mar 2013 21:13:12 +0200
parents a3939d5067c4
children 604d70894002
comparison
equal deleted inserted replaced
514:0bbc39457b25 515:cb0ad52d6a26
12 #include "Chest.h" 12 #include "Chest.h"
13 #include "Time.h" 13 #include "Time.h"
14 #include "GUIWindow.h" 14 #include "GUIWindow.h"
15 #include "GUIFont.h" 15 #include "GUIFont.h"
16 #include "Overlays.h" 16 #include "Overlays.h"
17 #include "LayingItem.h" 17 #include "SpriteObject.h"
18 #include "Viewport.h" 18 #include "Viewport.h"
19 #include "stru123.h" 19 #include "stru123.h"
20 #include "texts.h" 20 #include "texts.h"
21 #include "Log.h" 21 #include "Log.h"
22 22
465 } 465 }
466 memcpy(v11, &uNumActors, 4); 466 memcpy(v11, &uNumActors, 4);
467 v12 = (char *)v11 + 4; 467 v12 = (char *)v11 + 4;
468 memcpy(v12, pActors, 836 * uNumActors); 468 memcpy(v12, pActors, 836 * uNumActors);
469 v13 = (char *)v12 + 836 * uNumActors; 469 v13 = (char *)v12 + 836 * uNumActors;
470 memcpy(v13, &uNumLayingItems, 4); 470 memcpy(v13, &uNumSpriteObjects, 4);
471 v13 = (char *)v13 + 4; 471 v13 = (char *)v13 + 4;
472 memcpy(v13, pLayingItems, 112 * uNumLayingItems); 472 memcpy(v13, pSpriteObjects, 112 * uNumSpriteObjects);
473 v14 = (char *)v13 + 112 * uNumLayingItems; 473 v14 = (char *)v13 + 112 * uNumSpriteObjects;
474 memcpy(v14, &uNumChests, 4); 474 memcpy(v14, &uNumChests, 4);
475 v14 = (char *)v14 + 4; 475 v14 = (char *)v14 + 4;
476 memcpy(v14, pChests, 5324 * uNumChests); 476 memcpy(v14, pChests, 5324 * uNumChests);
477 v15 = (char *)v14 + 5324 * uNumChests; 477 v15 = (char *)v14 + 5324 * uNumChests;
478 memcpy(v15, pIndoor->pDoors, 0x3E80); 478 memcpy(v15, pIndoor->pDoors, 0x3E80);
544 } 544 }
545 memcpy(v22, &uNumActors, 4); 545 memcpy(v22, &uNumActors, 4);
546 v28 = (char *)v22 + 4; 546 v28 = (char *)v22 + 4;
547 memcpy(v28, pActors, 836 * uNumActors); 547 memcpy(v28, pActors, 836 * uNumActors);
548 v29 = (char *)v28 + 836 * uNumActors; 548 v29 = (char *)v28 + 836 * uNumActors;
549 memcpy(v29, &uNumLayingItems, 4); 549 memcpy(v29, &uNumSpriteObjects, 4);
550 v29 = (char *)v29 + 4; 550 v29 = (char *)v29 + 4;
551 memcpy(v29, pLayingItems, 112 * uNumLayingItems); 551 memcpy(v29, pSpriteObjects, 112 * uNumSpriteObjects);
552 v30 = (char *)v29 + 112 * uNumLayingItems; 552 v30 = (char *)v29 + 112 * uNumSpriteObjects;
553 memcpy(v30, &uNumChests, 4); 553 memcpy(v30, &uNumChests, 4);
554 v30 = (char *)v30 + 4; 554 v30 = (char *)v30 + 4;
555 memcpy(v30, pChests, 5324 * uNumChests); 555 memcpy(v30, pChests, 5324 * uNumChests);
556 v31 = (char *)v30 + 5324 * uNumChests; 556 v31 = (char *)v30 + 5324 * uNumChests;
557 memcpy(v31, &stru_5E4C90, 0xC8); 557 memcpy(v31, &stru_5E4C90, 0xC8);