Go to most recent revision |
    Blame |
    Compare with Previous |
    Last modification |
    View Log
    | Download
    | RSS feed
  
  
- /* 
-  * src/e_bonus.c 
-  * 
-  * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved. 
-  * 
-  * The use and distribution terms for this software are contained in the file 
-  * named README, which can be found in the root of this distribution. By 
-  * using this software in any fashion, you are agreeing to be bound by the 
-  * terms of this license. 
-  * 
-  * You must not remove this notice, or any other, from this software. 
-  */ 
-   
- #include "system.h" 
- #include "game.h" 
- #include "ents.h" 
- #include "e_bonus.h" 
-   
- #include "e_rick.h" 
- #include "maps.h" 
-   
-   
- /* 
-  * Entity action 
-  * 
-  * ASM 242C 
-  */ 
- void e_bonus_action (U8 e) 
- { 
-    if (E_RICK_STTST (E_RICK_STZOMBIE)) 
-       return; 
-   
-    if (e_rick_boxtest (e)) 
-    { 
-       game_score += 500; 
-       syssnd_play (WAV_BONUS, 1); 
-       map_marks[ent_ents[e].mark].ent |= MAP_MARK_NACT; 
-       ent_ents[e].n = 0; 
-    } 
- } 
-