view Weather.h @ 1243:766ec1e7f4ea

fixing monster portrait not drawing when rightclicking + out of bounds error when opening inventory
author Grumpy7
date Sun, 09 Jun 2013 23:51:53 +0200
parents f5156b8c61ad
children bfde0563ecdc
line wrap: on
line source

#pragma once


#pragma pack(push, 1)
struct LocationTime_stru1
    {
    unsigned __int64 uLastVisitDay;
    char sky_texture_name[12];
    int day_attrib;
    int day_fogrange_1;
    int day_fogrange_2;
    char field_2F4[24];
    };
#pragma pack(pop)



/*  255 */
#pragma pack(push, 1)
struct Weather
{
  inline Weather():
    bNight(false), bRenderSnow(false)
  {}

  int DrawSnow();
  int Initialize();
  int Draw();
  bool OnPlayerTurn(__int16 dangle);



  __int16 field_0[2000];
  int bNight;
  int bRenderSnow;
};
#pragma pack(pop)



extern struct Weather *pWeather;