Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Huge Random Error!
Bennick Offline
Member

Posts: 77
Threads: 27
Joined: Apr 2011
Reputation: 0
#9
RE: Huge Random Error!

(08-31-2011, 03:44 AM)xiphirx Wrote:
Kyle Wrote:You should never have the "f" after integers, for they are for floats, or whole numbers with a decimal and pieces of whole numbers. Even if it were a float, it still wouldn't be needed.

Uh... the function prototypes specify floats for the majority of parameters. If he wants to be semantically correct, then his original parameters are correct. Putting 5 instead of 5.0f gives you the illusion that the function is asking for a int rather than a float and it leads to bad practices. Even if the number you want is a int, you always put 5.0f for example. It makes readability much easier, and it makes your code more structured.


I'd also take a look at this... "custom_stories/Homicide and Redemption/maps/C:/Program Files(x86)/Steam/steamapps/common/amnesia the dark descent/custom_stories/Homicide and Redemption/Maps/Library.hps"

Yeah, that file path looked very strange. any way to assess that?

Fratricide (title not finalized): 2/7 maps. :D
08-31-2011, 06:35 AM
Find


Messages In This Thread
Huge Random Error! - by Bennick - 08-30-2011, 06:37 PM
RE: Huge Random Error! - by Kyle - 08-30-2011, 06:41 PM
RE: Huge Random Error! - by Bennick - 08-30-2011, 06:48 PM
RE: Huge Random Error! - by Kyle - 08-30-2011, 06:54 PM
RE: Huge Random Error! - by Bennick - 08-30-2011, 06:58 PM
RE: Huge Random Error! - by Bennick - 08-31-2011, 03:04 AM
RE: Huge Random Error! - by DamnNoHtml - 08-31-2011, 03:35 AM
RE: Huge Random Error! - by xiphirx - 08-31-2011, 03:44 AM
RE: Huge Random Error! - by Bennick - 08-31-2011, 06:35 AM
RE: Huge Random Error! - by xiphirx - 08-31-2011, 10:44 PM
RE: Huge Random Error! - by Bennick - 08-31-2011, 11:57 PM
RE: Huge Random Error! - by xiphirx - 09-02-2011, 12:39 AM
RE: Huge Random Error! - by Bennick - 09-02-2011, 06:49 AM



Users browsing this thread: 1 Guest(s)