Jump to content

  • Log In with Google      Sign In   
  • Create Account

Lactose!

Member Since 16 Oct 2013
Online Last Active Today, 06:45 AM

Posts I've Made

In Topic: Game architecture

Yesterday, 10:00 AM

Tile as class or Tile as struct

Classes and structs are essentially the same.

 

There is a slight difference that default accessors are private for classes and public for structs and things inheriting from them, but that's all.

You can use functions, variables and constructors the same way.

class MyClass
{
public:
    int x;
    int y;
};

Is the same as

struct MyStruct
{
    int x;
    int y;
};

EDIT: Added a missing word.


In Topic: Ad Blocker Notification

24 August 2016 - 11:59 AM

I'll check that.

Still getting the toe nail beauty product ad (looping video). Product or producer was Scholl, I believe.

 

Located on the right, above "Getting Started" section in the For Beginners forum.

 

Edit: And some random hotel ads.

 

Both of these are country/language specific ads, not normal English ones.


In Topic: C++ class properties initialization order on constructor?

22 August 2016 - 02:35 AM

Initializer lists are done in the order of the declarations, not in the order you put them in the initializer list.

If you need to initialize things out of order, you'll need to put it in the constructor body instead of in the initializer list.


In Topic: Preventing overengeneering

22 August 2016 - 12:53 AM

Michael Jordans, Magic Johnsons, Larry Birds, and Kobe Bryants
 

Highly unrelated, but this made me realize you can probably guess someone's rough age by have them list famous sports people and see which generation they belong to.


In Topic: Full page mobile ads?

19 August 2016 - 02:59 AM

But FWIW, anyone interested should voice their opinion and thoughts on the idea. It'll help that process along faster.

Depending on the subscription cost, I would be interested in something like this.

 

Obvious name suggestions being GDNet++ or GDNet#.


PARTNERS