Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Gantolandon

Pages: 1 ... 37 38 [39] 40 41 ... 63
571
Life Advice / Re: Programming Issue. Linked Lists, Vectors, or what else???
« on: December 30, 2008, 06:01:41 pm »
Quote
what would you think would be the best way to accomplish that? (thinking about memory, good clean coding, and all that).  Making a linked list struct and placing it inside the sPerson struct? or what?

First, if you are using C++, why would you want to use structs instead of objects?

I would use a set. It's a part of STL. I don't think you should use a linked list, because order of items in inventory is irrelevant.

I would also consider making inventory a separate object, thus moving methods like get() and drop() from the person. There will be propably a lot of them.

Quote
anyway... I've been hearing that STL Links,vectors,queues etc are great... should I use those links as opposed to making my own? (speed differences?)

You shouldn't ever do by yourself anything that is in STL unless for the purpose of learning things. Especially not on this stage.

572
I vote penguinofhonor too. I'm almost certainly sure he is not a Conservative.

573
The diagnostics screen consoled Andrzej somewhat. Given the fact that the entire cargo bay was reduced into a pile of debris, a fully working, intact and rich in oxygen supplies rover was a fucking miracle. But he knew it's not enough. If he is the only survivor, then he just have won a long and painful death instead of quick and merciful.

He turned the radio on:

"Hello...", he said somewhat nervously, "Is anyone there? Look, I'm trapped in the recon rover in Cargo Bay 2. I'm somewhat bruised but fine. How are you? Talk, goddammit!"

He didn't even wait for the answer, trying to think how to move the rover out of the debris. If the airlock had a pressure suit, he could go outside and clear the way manually. If not, the only thing he could do was to try to maneuver the vehicle and hope he won't worsen the situation even further. He also noted that he must check if the rover has any food and water supplies on board...

574
Quote
Hold on!!! What if we both six this!!!!
We will enter the hyperspace?

575
I mount the van and follow the footprints.

576
Adrzej examines carefully his rover, running diagnostics and ensuring that all critical systems work.

577
Forum Games and Roleplaying / Re: Angry Red Planet
« on: December 27, 2008, 05:01:17 pm »
Quote
Heh, seems like you're one of few that's taken the G's of impact-landings into account.
I read a lot of s-f, so there is no way I could forget about G's.

578
Forum Games and Roleplaying / Re: Angry Red Planet
« on: December 27, 2008, 04:49:35 pm »
It seems I'm also somewhat late. Well, I'll stick a character in a spoiler box.

Spoiler (click to show/hide)

579
Mafia / Re: CCS Rampage in Liberal City, USA---A Mafia Style Game (DAY 2!)
« on: December 27, 2008, 11:33:20 am »
I also accuse webadict of being a stinking Conservative

580
I examine the footprints carefully.

581
I press button leading to world number 1 or 2. Whichever got more votes.

582
I take the T-Virus Serum cannister and put it onto the pedestal.

583
Mafia / Re: CCS Rampage in Liberal City, USA---A Mafia Style Game (DAY 1!)
« on: December 22, 2008, 09:29:14 am »
As I understand, the most suspicious person by now is another candidate for the Mayor's office. A_Fey_Dwarf would be a prime choice, but with his 14 votes he didn't need to dispatch his opponent. However, penguinofhonor could win much with this murder, so I think he should be thrown into the prison and reeducated.

584
I deactivate the door lock from the inside. I'm going to mend the roof with the rest of the van later.

585
I try to open the door, mainly by guiding andrea where and how strong should he strike with his lightning,.

Pages: 1 ... 37 38 [39] 40 41 ... 63