Advertisement
metalx1000

Doom - PrBoom - Bonus Items - Notes

Feb 19th, 2015
1,109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.87 KB | None | 0 0
  1. #required libs:
  2. sudo aptitude install libghc-opengl-dev libghc-sdl-dev make -y
  3.  
  4. #http://sourceforge.net/projects/prboom/files/prboom%20stable/2.5.0/
  5. wget "http://colocrossing.dl.sourceforge.net/project/prboom-plus/prboom-plus/2.5.1.3/prboom-plus-2.5.1.3.tar.gz"
  6. tar -xvf prboom-plus-2.5.1.3.tar.gz
  7. cd prboom-plus-2.5.1.3
  8. ./configure
  9.  
  10. #Modify Health Bonus Item
  11. vim +335 src/p_inter.c
  12.  
  13. ##################################################################################
  14.     case SPR_BON1:
  15.       player->health+=50;               // can go over 100%
  16. //      if (player->health > (maxhealthbonus))//e6y
  17. //        player->health = (maxhealthbonus);//e6y
  18.       player->mo->health = player->health;
  19.       player->message = "This\nIS\nA\ntest\nof lines"; // Ty 03/22/98 - externalized
  20.       break;
  21. ##################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement