The online racing simulator
Searching in All forums
(896 results)
Vain
S3 licensed
I can't see how pointing a gun at a possibly armed guy's face makes you any safer. The only possible result I can see is that your chances of death rise from about 0-0.5% in a normal robbery to 50% in a straight stand-off between two scared guys who both fear for their lives.

Also consider the chance of yourself killing a 16 year old teenager who thought your place was vacated and the possibility of mis-use of the gun by someone else or yourself under emotional stress.

The only thing a gun can do is kill. If that's what you want, keep it. If you want to avoid killing or getting killed, don't keep it.

Vain
Vain
S3 licensed
Quote from wien :Think about what you're doing here. In order to allocate space for an A, the compiler needs to know what sizeof(A) is - its size in bytes. Since A has a B member that means it needs to know sizeof(B) in order to calculate sizeof(A). B in turn has an A member, so to calculate sizeof(B) it needs to know sizeof(A) which... uh oh. Round we go. See how this doesn't make any sense?

Exactly.

I understand the issue. But I don't want to deal with it. I want to work on my program, not work around the short-comings of the compiler.
I realize that C++ has the tendency to sacrifice safety over performance and I'm okay with the fact that I can shoot myself in the foot when I want to. I guess I'd just like a language somewhere between C++ and Java that writes proper executable files but allows me to think in my own class-structure rather than the binary representation of it in memory at run-time.

Vain
Vain
S3 licensed
Actually I've been using #pragma once nicely and it did it's job well. However, when you write something like

##### classA.h ####
#include "classB.h"
class A
{
B Member;
};

#### classB.h ####
#include "classA.h"
class B
{
A Member;
};

MSVC will get confused.

I solved the issue after having an epiphany 15 minutes ago by using only pointers in the declaration of the classes. To declare a pointer you don't have to have included the class definition since the compiler doesn't care what the pointed to object looks like. In the .cpp file, where I actually use the pointer, I can include however many .h files I want.

So the above example looks like this now:
#### classA.h ####
class B;
class A
{
B* pMember;
};

#### classA.cpp ###
#include "classA.h"
#include "classB.h"
// Have fun with both A and B here!

#### classB.h ####
class A;
class B
{
A* pMember;
}

#### classB.cpp ####
#include "classB.h"
#include "classA.h"
// Have fun with both A and B here!

I've been looking at the issue above for 2 days straight, alternating between looking at google's unrelated search results about people who had spelling mistakes in their declarations and fudging around with my code by myself.
It's wonderous how suddenly you see a solution to problem you've been looking at for so long.

Vain
Vain
S3 licensed
Has anyone here ever gotten so frustrated with a hobby-project that he felt like shift+deleting 2 months of work?

I've put up a basic engine to implement a game-idea that worked out rather well. Recently I've been fleshing things out and restructuring some abstraction-code to allow multiplayer, which also came along rather well. However I've been running into inclusion-loops a lot and and MSVC can't work it out properly.
I have no to minimal understanding of how a compiler works and I honestly have no interest in spending a lot of time until I understand why it can't solve inclusion-loops. I'm proud enough that I actually managed to get my project far enough to produce a playable game with all the bells and whistles a hobby-project needs.

I can cope with difficult to solve bugs in the AI- or netcode and I patiently step through the program with the debugger, but when MSVC tells me a base-class isn't defined when the #include-directive is 5 lines above it I just feel like smashing something expensive.

I guess I'll solve it eventually, but if anyone knows of some kind of C+++-language that gets along without #include-directives please say so, because I'm sick of it by now.

Error C4430: Missing type specifier - int assumed. Note: C++ does not support default-int
Error C2146: Syntax error: missing ';' before identifier 'Vain'
Vain
S3 licensed
Quote from CoolColJ :Track Creator vid, using the generic Effiel (Nurburgring area) circuit theme

Alright, I thought I would be able to finish this project I'm working on until mid-december, but unfortunately I will have to play the generated tracks until I starve to death - and then some more.

Vain
Vain
S3 licensed
Perhaps the third option in this thread can help?
http://www.lfsforum.net/showthread.php?t=10956

Vain
Vain
S3 licensed
Stick figure violence.

Vain
Vain
S3 licensed
Triple 42" is awesome.

Anyway, ontopic: Remember that many TVs will not achieve their maximum frequency when fed by a computer. My Samsung 6-series LCD will only do 60 Hz from a computer signal. The 100 Hz mode is only activated when using its movement-interpolation tech, which of course has a huge latency and is not suited for interactive media.
Thus I'd recommend to read the fine-print regarding the refresh-frequency when dealing with 100 and 200 Hz screens.

Vain
Vain
S3 licensed
Morrowind never really got me. I was never taken in by the story, which ended with me just walking around stealing everything I could find until I was bored with it.

Neverwinter Nights 1 however was extremely atmospheric. I finished it 3 times.

Baldur's Gate 2 was and still is awesome. I'm on my 3rd attempt to finish it and I'm hugely motivated to continue due to the great story - it's just such a huge game that I'm still around the 30-40% mark after hours and hours of gameplay. The only thing stopping me from progressing is the frightening amount of options I have combined with the thought that I will likely never again have enough time to attempt another play-through. Possibly the best Singleplayer RPG ever.

Vain
Vain
S3 licensed
I have been deceived....



Vain
Vain
S3 licensed
Have you considered MatLab for your engine analysis?
I'm suggesting it because I guess this isn't the only thing you'll want to analyse on-track. MatLab is so versatile that it can do anything you want without having to manage 10 different applications for 10 different tasks. On the other hand it's also rather complex, so you'd have to make a compromise between physically working on the car and working on the data aquisition & analysing.

Vain
Vain
S3 licensed
Even if the surroundings are rather sparse, it's gotta be better than Westhill. And admit it, half the people on this forum would sacrifice their firstborn child for a second Westhill in LFS.

Vain
Vain
S3 licensed
Quote from danowat :just like the "track creation", that the GT series DOES NOT NEED.

Maybe I'm imagining the wrong kind of "track generator" here, but I'd say that an endless amount of possible tracks is rather awesome.
I'm pretty sure that I would still be playing LFS if it had this feature.

Vain
Vain
S3 licensed
Just a guess...

Vain
Vain
S3 licensed
There's really food for thought when you wonder whether no physics updates for well over a year is justified by tyre physics development when LFS doesn't have any sort of aero damage or three dimensional suspension movement.
Tyre physics only get you so far when e.g. a trailing arm rear suspension can't move laterally during cornering.

However, that's obviously Scawen's design decision to make, so I won't go deeper into this discussion.

Vain
Vain
S3 licensed
Spoilsport.

Vain
Vain
S3 licensed
"Glory and Approbation to Paul"

The Kraken has spoken and the thus it happened.

Vain
Vain
S3 licensed
Well deserved win by Spain.
The german team really was much too afraid of being in the semifinals.

Too bad that now Holland has a chance at winning this.

Vain
Vain
S3 licensed
Equal treatment perhaps, but surely not correct treatment.
Podolski should've received a red card and there was a penalty kick that went under the ref's radar.

Vain
Vain
S3 licensed
That was less impressive than I expected.
I guess a win by Spain tomorrow is Holland's only chance now.

Vain
Vain
S3 licensed
Quote from Jertje :On a different note of unsportive behaviour...

Similarly, I think blatant lying should be a punishable offence.
You regularly see players deliberately kicking the ball out of the field and then claiming that the other player did it. Everyone knows they are lying, everyone knows it contradicts the FIFA's motto of sportsmanship but it still goes unpunished.
If diving is punishable then why isn't lying?

Vain
Vain
S3 licensed
Considering that he used to be second reserve keeper in a not-so-impressive club that just lost his contract for being too bad, he's basically having the best game of his life.

Vain
Vain
S3 licensed
Quote from G!NhO :Germany never plays good, they are always lucky...

That's good enough. So then let's luck this championship.

On a more serious note: I don't think we've seen Argentina come under real pressure at any time during the tournament yet. There really is no telling how they'll react to proper pressure and no one knows what they're actually capable of.
Everyone is expecting them to be good because the sum of their players is good, but they said that about the english team, too.
It'll be an interesting quarter final match for sure.

And by the way, credits to all players today on the fairness. I don't think I've seen any malevolent intentional fouls. The teams seamed to respect each other.

Vain
Vain
S3 licensed
Incredible game.
Completely justified win for Slovakia. Huge congratulations to them.

Vain

[Edit]
In german TV a slovakian player said that the team had booked their flights home for this saturday and that they'll have to rebook their flights now.
Last edited by Vain, .
FGED GREDG RDFGDR GSFDG