changeset 1503:4ce525fe9ea9

Fix types.
author yoctozepto
date Mon, 02 Sep 2013 08:38:41 +0200
parents ee5c98a437d9
children ff1867836af5 4b300ff1ba5e
files Actor.cpp Actor.h mm7_data.cpp mm7_data.h
diffstat 4 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Actor.cpp	Sun Sep 01 19:39:05 2013 +0200
+++ b/Actor.cpp	Mon Sep 02 08:38:41 2013 +0200
@@ -42,7 +42,7 @@
 
 
 std::array<Actor, 500> pActors;
-int uNumActors;
+size_t uNumActors;
 
 stru319 stru_50C198; // idb
 
--- a/Actor.h	Sun Sep 01 19:39:05 2013 +0200
+++ b/Actor.h	Mon Sep 02 08:38:41 2013 +0200
@@ -274,6 +274,5 @@
 
 //extern Actor pMonsterInfoUI_Doll;
 
-
 extern std::array<Actor, 500> pActors;
-extern int uNumActors;
\ No newline at end of file
+extern size_t uNumActors;
--- a/mm7_data.cpp	Sun Sep 01 19:39:05 2013 +0200
+++ b/mm7_data.cpp	Mon Sep 02 08:38:41 2013 +0200
@@ -1141,7 +1141,7 @@
 std::array<int, 777> _6807B8_level_decorations_ids; // idb
 int _6807E0_num_decorations_with_sounds_6807B8; // weak
 std::array<int, 3000> event_triggers;     // 6807E8
-int                   num_event_triggers; // 6836C8
+size_t num_event_triggers; // 6836C8
 std::array<int, 64> dword_69B010;
 float flt_69B138_dist; // weak
 char byte_69BD41_unused; // weak
--- a/mm7_data.h	Sun Sep 01 19:39:05 2013 +0200
+++ b/mm7_data.h	Mon Sep 02 08:38:41 2013 +0200
@@ -784,7 +784,7 @@
 extern std::array<int, 777> _6807B8_level_decorations_ids; // idb
 extern int _6807E0_num_decorations_with_sounds_6807B8; // weak
 extern std::array<int, 3000> event_triggers; // 6807E8
-extern int                   num_event_triggers; // 6836C8
+extern size_t num_event_triggers; // 6836C8
 extern std::array<int, 64> dword_69B010;
 extern float flt_69B138_dist; // weak
 extern char byte_69BD41_unused; // weak