Welcome to the GameZone24.net Forums - Serious Sam.

View Poll Results: Disable observers?

Voters
54. You may not vote on this poll
  • Yes

    17 31.48%
  • No

    37 68.52%
Page 5 of 5 FirstFirst ... 345
Results 61 to 67 of 67
  1. #61
    Alligator Pit
    Join Date
    May 2005
    Location
    Netherlands
    Posts
    10,171

    Downloads:Uploads: 0

    rofl yes you are

    i just called it b since it only represents 2 possibilities, turn the chat for observers on or turn them off, works the same as true/false. and actually, CT uses an integer value theirselves too a lot for bValues. just check it out
    Disclaimer: Opinions expressed in this post are my own, not my employer's.

  2. #62
    Lyrical Master
    Join Date
    August 2004
    Location
    Compton
    Posts
    6,813

    Downloads:Uploads: 0

    Ok forget it man, I don't wanna argue with you, it's useless and it's not fair towards the efforts you're making to release this great patch

    I just don't know why you first say formalism is useless and then try to justify your choice

  3. #63
    |Limited Edition|
    Join Date
    May 2007
    Location
    Vernon, Connecticut
    Posts
    5,013

    Downloads: 12  Uploads: 0

    i say no cuz when i am an observer i like to trash/make fun of people and they don't know who i am so its a safe bet

    Sig made by DEXTRONIC

    My best Mate Jackal (is gay)



    *Seen someone hacking/cheating/being gay in Noobzland Server? PM with demo, name, and time *

  4. #64
    Alligator Pit
    Join Date
    May 2005
    Location
    Netherlands
    Posts
    10,171

    Downloads:Uploads: 0

    Quote Originally Posted by Pure Aim View Post
    i say no cuz when i am an observer i like to trash/make fun of people and they don't know who i am so its a safe bet
    cool cuz that's what most people try to avoid
    Disclaimer: Opinions expressed in this post are my own, not my employer's.

  5. #65
    Administrator
    Join Date
    June 2003
    Location
    Finland
    Posts
    53,362

    Downloads:Uploads: 0

    Quote Originally Posted by Dr. Dre View Post
    • b = boolean, two possible values, true or false. Example: /hud_bShowLatency (true or false, display latency or not display latency)


    • i = integer, the number of values depend on the platform, but each value must be a mathematical integer. Example: /gam_iFragLimit ( 30, 35, 50, etc..)


    • f = float, the number of values also depend on the platform, but each value must be a mathematical rational number. Example: /hud_fCrosshairScale (1.5, 0.4, 0.75, etc..)


    You have to use appropriate types not only for relevance but also to save memory space.

    In Angelo's case, he starts by using the prefix "obs" which hasn't been used by croteam developpers as far as I know and he obviously chose the integer type to represent a binary situation (enable or disable observers to chat, 2 possible values, one bit is enough, no need to use an integer (usually 32 bits), especially since any value typed in which is greater than or equal to 1 will be translated to "true" by the precompiler )

    It's no big deal since we today have enough RAM to deal with it but it's just 'professional' coding.

    For instance I would have called it /gam_bAllowObserverTalking

    ps : I do care Angelo but it's because I'm a geek, don't worry I already know
    Haha nice.


    It's always nice to learn new stuff from a game you've played over 6 years.
    Stifmeister -)Campers(-





    "Empty-net goals are for homos."
    ~ Al Iafrate

  6. #66
    Elite Member
    Join Date
    April 2007
    Posts
    5,060

    Downloads:Uploads: 0

    Quote Originally Posted by Stifmeister View Post
    Haha nice.


    It's always nice to learn new stuff from a game you've played over 6 years.
    That's not only for Serious Sam, those rules apply for all programming

  7. #67
    Administrator
    Join Date
    June 2003
    Location
    Finland
    Posts
    53,362

    Downloads:Uploads: 0

    Quote Originally Posted by Joakim View Post
    That's not only for Serious Sam, those rules apply for all programming
    Yea I knew about boolean and float... But I never realized that cli_iSomething and cli_bSomething actually reveal that stuff. Well I never thought about it anyway..
    Stifmeister -)Campers(-





    "Empty-net goals are for homos."
    ~ Al Iafrate

 

 
Page 5 of 5 FirstFirst ... 345

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •