664c65e8462ef

664c65e846ad3
1 Guest is here.
 
664c65e8471b3
°SS1src

Code: [Select]
DAMAGE.C line 1046
// temporary - to hit effect_center - will take care of later
The ball is now in Nightdives hands?
« Last Edit: 20. November 2019, 22:26:43 by Moderator »

664c65e847452dertseha

Re: Funny comments found in source code
664c65e8474aa
Yup, there are a lot of those one-liners.

My personal favorite so far:
Code: [Select]
objuse.c (392)

// If mission difficulty is low, returns TRUE on objects
// which might require literacy.
bool obj_too_smart(ObjID id)
Handling which object classes should be hidden on lower mission levels.
In short: The lower the level, the less literate the hacker is seen ;)
Re: Funny comments found in source code
664c65e8475e2
Code: [Select]
CYBER.C(256), INIT.C(725)

// reclaim the memory, fight the power

664c65e8476e6JosiahJack

Re: Funny comments found in source code
664c65e847734
This is going to be so great!!
Re: Funny comments found in source code
664c65e84781c
Code: [Select]
DAMAGE.C(365)

         // hey - it's even a percentage
         // WHY - make it 0-255, dont divide needlessly, arghgqghgghdsghgfdgfjfghdfgj
         shield_drain = (damage * shield_absorb)/100;
Acknowledged by: ThiefsieFool
Re: Funny comments found in source code
664c65e8478fb
Code: [Select]
EMAIL.C(307)

               if (stupid == 36)
                  score += 2222222; // secret kevin bonus
Acknowledged by: JosiahJack

664c65e8479afJosiahJack

Re: Funny comments found in source code
664c65e8479f9
Code: [Select]
AI.H
// When we pretend that we're dead (pretend we're dead)
errtype ai_critter_die(ObjSpecID osid);
errtype ai_critter_really_dead(ObjSpecID osid);


Code: [Select]
AMAP.H:
// header for the real infernal automap
Heh, infernal.  You got that right brother.
Re: Funny comments found in source code
664c65e847b0d
Code: [Select]
FRCAMERA.C(128)

// i'll give you fish, i'll give you candy, i'll give you, everything I have in my hand
B-52's Give me back my man

There are more lyric quotes from various songs in other Fr* files
« Last Edit: 07. April 2018, 18:42:53 by Gawain »

664c65e847bc1dertseha

Re: Funny comments found in source code
664c65e847c0c
Code for drawing the automap
Code: [Select]
AMAP.C(426)

// okay, this is a hack, but hey, I felt sorry for the
// poor guys.
if(ID2TRIP(cobjid)!=ASSASSIN_TRIPLE)
   obj_draw(xm,ym,cobj,tsize,px,col);
Assassins aren't rendered in the minimap...
Re: Funny comments found in source code
664c65e847ce9
Code: [Select]
OBJSIM.C(950)

// Clones an object, including copying all of it's instance data
// WARNING:  Do not try this function with objects of CLASS_DINOSAUR!! -- D. Nedry

664c65e848020ThiefsieFool

Re: Funny comments found in source code
664c65e848073
Jurassic Park was just out in theaters I guess.
And why are assassins called "ASSASSIN_TRIPLE" anyway?
Re: Funny comments found in source code
664c65e84832f
And why are assassins called "ASSASSIN_TRIPLE" anyway?

TRIPLE is the name LG used for objects full ID. It consists of three parts.
Acknowledged by: dertseha
Re: Funny comments found in source code
664c65e8484f9
An article about this topic: https://www.viva64.com/en/b/0575/
Re: Funny comments found in source code
664c65e8485e2
Cool! Thanks.

664c65e848784JosiahJack

Re: Funny comments found in source code
664c65e848810
     // If it is our turn to get a bigger share of the
      // computron pie, then let's crank.
      if (objCritters[osid].wait_frames <= 0)
      {

Funny and clever
1 Guest is here.
-quite obvious that Nicolette has all the keys from all the doors in the mansion, as she has no trouble opening any of them for herself to follow the player should they find an alternate way into some locked room.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
664c65e84ba62