ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Oni_Character.h
(Generate patch)

Comparing Daodan/src/Oni_Character.h (file contents):
Revision 446 by gumby, Mon Jul 20 02:06:23 2009 UTC vs.
Revision 453 by rossy, Mon Aug 10 10:33:47 2009 UTC

# Line 540 | Line 540 | enum {
540          team_syndicateaccessory,
541   };
542  
543 + typedef enum {
544 +        chr_isplayer          = 1 << 0,
545 +        chr_randomskin        = 1 << 1,
546 +        chr_notprespawned     = 1 << 2,
547 +        chr_noncombatant      = 1 << 3,
548 +        chr_multispawnable    = 1 << 4,
549 +        chr_unkillable        = 1 << 5,
550 +        chr_superammo         = 1 << 6,
551 +        chr_omniscient        = 1 << 8,
552 +        chr_haslsi            = 1 << 9,
553 +        chr_boss              = 1 << 10,
554 +        chr_upgradedifficulty = 1 << 11,
555 +        chr_noautodrop        = 1 << 12,
556 +        chr_dontaim           = 1 << 13,
557 +        chr_nocollision       = 1 << 17,
558 +        chr_noshadow          = 1 << 24,
559 +        chr_invincible        = 1 << 25,
560 +        chr_bossshield        = 1 << 30,
561 +        chr_weaponimmune      = 1 << 31,
562 + } chr_flags;
563 + /*
564   enum {
565   chr_isplayer                    =               0x00000001,     //is player character
566   chr_randomskin                  =               0x00000002,     //gets random skin from ONCV
# Line 555 | Line 576 | chr_boss                               =               0x00000400,     //is a boss c
576   chr_upgradedifficulty   =               0x00000800,     //upgrade the difficulty if you play on med\hard
577   chr_noautodrop                  =               0x00001000,     //uses drop fields instead of has fields on death
578   }; //
579 + */
580   int16_t ONICALL ONrGameState_NewCharacter(CharacterObject* CHAR, void* AISA, void* flag, int* list_location);
581   int32_t* ONICALL ONrGetActiveCharacter(void* CharacterPtr);
582   //int16_t ONICALL ONrGameState_GetPlayerCharacter();

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)