Mercurial > might-and-magic-trilogy
diff mm7_data.cpp @ 26:93bf1d5f6a6d
Game loading.
author | Nomad |
---|---|
date | Tue, 16 Oct 2012 00:05:53 +0200 |
parents | 74940016abc8 |
children | be2066176d89 |
line wrap: on
line diff
--- a/mm7_data.cpp Mon Oct 15 18:45:11 2012 +0200 +++ b/mm7_data.cpp Tue Oct 16 00:05:53 2012 +0200 @@ -37,8 +37,8 @@ stru277 stru_50CDB4; // idb #include "Viewport.h" -struct Viewport *pViewport; -struct ViewingParams *viewparams; +struct Viewport *pViewport = new Viewport; +struct ViewingParams *viewparams = new ViewingParams; #include "stru272.h" stru272 array_4FAC10[10]; @@ -1933,7 +1933,7 @@ const char *dlh_texnames_by_face[25]; const char *dlhu_texnames_by_face[25]; _UNKNOWN unk_4ED3D8; // weak -char byte_4ED498; // weak +unsigned char byte_4ED498 = 15; // weak __int16 pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing__negindex[777]; // weak __int16 pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing[4]; char byte_4ED970_skill_learn_ability_by_class_table[32][37];