Пример #1
0
        public AGSCharacter()
        {
            view_default           = 0;
            view_talk              = 0;
            view_normal            = 0;
            room                   = 0;
            room_previous          = 0;
            x                      = 0;
            y                      = 0;
            wait                   = 0;
            flags                  = 0;
            following              = 0;
            followinfo             = 0;
            view_idle              = 0;
            idle_time              = 0;
            idle_left              = 0;
            transparency           = 0;
            baseline               = 0;
            active_invitem         = 0;
            talk_color             = 0;
            view_think             = 0;
            view_blink             = 0;
            blink_interval         = 0;
            blink_timer            = 0;
            blink_frame            = 0;
            walkspeed_y            = 0;
            picture_offset_y       = 0;
            z                      = 0;
            wait_walk              = 0;
            speech_animation_speed = 0;
            reserved1              = 0;
            blocking_width         = 0;
            blocking_height        = 0;
            index_id               = 0;
            picture_offset_x       = 0;
            walk_wait_counter      = 0;
            loop                   = 0;
            frame                  = 0;
            walking                = 0;
            animating              = 0;
            walkspeed              = 0;
            animspeed              = 0;
            inventory              = new Int16[0];
            act_x                  = 0;
            act_y                  = 0;
            name                   = string.Empty;
            name_script            = string.Empty;
            on                     = 0;

            interactions_old = new AGSInteraction();
            interactions     = new AGSInteractionScript();
            properties       = new AGSPropertyStorage();
        }
Пример #2
0
        public AGSInventoryItem()
        {
            name           = string.Empty;
            picture        = 0;
            cursor_picture = 0;
            hotspot_x      = 0;
            hotspot_y      = 0;
            reserved       = new Int32[0];
            flag           = 0;
            scriptName     = string.Empty;

            interactions_old = new AGSInteraction();
            interactions     = new AGSInteractionScript();
            properties       = new AGSPropertyStorage();
        }