Author Topic: Ship.cpp Version  (Read 6161 times)

0 Members and 1 Guest are viewing this topic.

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
:bump:

Anyone else wanna help get the ship template code committed?

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
:bump: again

I finally figured out how to create a diff.  I went through it, and it looks like almost all of it actually pertains to ship templates (the rest is not my fault).  Anyway, here it is:

[attachment deleted by admin]

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Is this tested and working now?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Yes.  It works fine for me.

I haven't *tried* to break it though.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Try.

If you can't break it with anything current I'll add it to the 3.6.10 branch.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
All right.  I've gone through this a little, and I haven't been able to break it really.

There is one small thing though.  This really applies to all ships, though it could mean something different in the context of ship templates.  If a template that a ship is supposed to use is not found (or hasn't been loaded yet), you will get nothing but a warning and everything will continue.  This might result in a ship missing vital data, such as POF file, which will crash the game later.  I'm not sure if this is really worth fixing though, as the same would apply to a ship that didn't have any values (like pof file) defined (one that didn't use ship templates).

Otherwise, this code seems pretty stable to me.

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Has this been forgotten? :(

Sorry if I'm being annoying, but I really want to see this committed (unless there's a reason why you think it shouldn't be committed :nervous:).

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Actually it's on my list to do today at some point. I just wanted to commit the stuff from my last recent build before doing so. (It's been sitting around as a NEW post for the last couple of days so I didn't forget it).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Actually it's on my list to do today at some point. I just wanted to commit the stuff from my last recent build before doing so. (It's been sitting around as a NEW post for the last couple of days so I didn't forget it).

Sorry, I didn't know :nervous:

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
No need to apologise. Anyway it's committed now. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
THANK YOU KARA!!!

for committing this.  And thank you phreak for teaching me how to make diffs, and thank you taylor for giving me the idea to do this in the first place ... sometimes I just want to thank the whole SCP team!!! :)

EDIT:  And almost forgot turey, for writing this code in the first place ;)
« Last Edit: May 27, 2008, 08:47:44 am by blowfish »