Htcgg: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
for completion's sake
 
No edit summary
Line 1: Line 1:
'''htcgg''' is a member of the sprite structure. Its only actual use in the game's source code is in this block from the handling of the [[fall]] command:
'''htcgg''' is a member of the sprite structure. Its only actual use in the game's source code is in this block from the handling of the [[fall]] command:


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

Revision as of 00:14, 23 February 2012

htcgg is a member of the sprite structure. Its only actual use in the game's source code is in this block from 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.