Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Banishing the C-style cast from scripts.dll (Why not?)
Banishing the C-style cast from scripts.dll [message #338660] Wed, 02 July 2008 18:49 Go to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Pros of new-style (static_cast<>() and friends) casts:


  • They are easier to find in code
  • They express the programmer's intentions better
  • They allow the compiler to perform at least some checking in most cases
  • The syntax has fewer unwanted precedence problems


Cons:

  • They are longer and more verbose than the C-style cast


I think you get the picture, but:


Any "Nay"s on this project? (I'd be more than happy to volunteer my labor for this, btw.)


HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.

[Updated on: Wed, 02 July 2008 18:50]

Report message to a moderator

Re: Banishing the C-style cast from scripts.dll [message #338662 is a reply to message #338660] Wed, 02 July 2008 18:50 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
what.........
Re: Banishing the C-style cast from scripts.dll [message #338680 is a reply to message #338662] Wed, 02 July 2008 21:39 Go to previous messageGo to next message
HeavyX101- Left is currently offline  HeavyX101- Left
Messages: 633
Registered: April 2008
Location: WindowsJail=ZipFolder
Karma: 0
Colonel
SSnipe wrote on Wed, 02 July 2008 21:50

what.........



This account is no longer being active.
Re: Banishing the C-style cast from scripts.dll [message #338683 is a reply to message #338680] Wed, 02 July 2008 22:40 Go to previous messageGo to next message
Samous Mods is currently offline  Samous Mods
Messages: 55
Registered: December 2007
Location: city in occupation
Karma: 0
Recruit
HeavyX101 wrote on Wed, 02 July 2008 23:39

SSnipe wrote on Wed, 02 July 2008 21:50

what.........



http://game.giveawayoftheday.com/wp-content/uploads/2007/07/image02.jpg


samous wrote on Thu, 18 September 2008 21:03

Guess what? I'm trying to joinWNx clan! My new nick will be either WNXC130 or WNxSamous.

samous wrote on Sat, 04 October 2008 13:50

Awwww, pity. My join request was denied. I'm still samous. O well...

Re: Banishing the C-style cast from scripts.dll [message #338714 is a reply to message #338660] Thu, 03 July 2008 06:10 Go to previous messageGo to next message
Ghostshaw is currently offline  Ghostshaw
Messages: 709
Registered: September 2006
Karma: 0
Colonel
In most cases you should use As_* anyway so no real use.

BlackIntel Administrator
Re: Banishing the C-style cast from scripts.dll [message #338715 is a reply to message #338660] Thu, 03 July 2008 06:14 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
(15:11:20) <Sir_Kane> static_cast is for fags

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: Banishing the C-style cast from scripts.dll [message #338987 is a reply to message #338683] Sat, 05 July 2008 12:49 Go to previous message
nikki6ixx is currently offline  nikki6ixx
Messages: 2545
Registered: August 2007
Karma: 0
General (2 Stars)
E3 Beta M01.mix wrote on Thu, 03 July 2008 07:40


http://game.giveawayoftheday.com/wp-content/uploads/2007/07/image02.jpg


I wish I could radar hack when I'm fishing. Sad


Renegade:
Aircraftkiller wrote on Fri, 10 January 2014 16:56

The only game where everyone competes to be an e-janitor.
Previous Topic: Owl PT skin
Next Topic: Skinning Help Plz
Goto Forum:
  


Current Time: Wed May 15 01:45:21 MST 2024

Total time taken to generate the page: 0.00704 seconds