Htcgg

From EDukeWiki
Revision as of 06:50, 3 January 2015 by Jwaffe (talk | contribs) (It's not only used in handling fall, see discussion tab)
Jump to navigation Jump to search

htcgg is a member of the sprite structure. It's used in the handling of the fall command:

               if (!actor[vm.g_i].cgg-- || (sector[vm.g_sp->sectnum].floorstat&2))
               {
                   A_GetZLimits(vm.g_i);
                   actor[vm.g_i].cgg = 3;
               }

TODO: What does "cgg" stand for? The source code does not say.