Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 29 May 2000
Offline Last Active Yesterday, 10:23 PM

Posts I've Made

In Topic: router programming

01 May 2016 - 03:53 AM

i do plan on using a very basic linux install that will already have the network drivers and tcp/ip stack.  i just want to be able to read the packets coming in the port, process them, and forward appropriately

In Topic: Please help me remember the name of an old game

20 March 2016 - 01:25 PM

https://en.wikipedia.org/wiki/SubSpace_(video_game) ?

In Topic: position on grid

24 February 2016 - 01:53 PM

section_x = cell_x / cells_per_section_x;

section_y = cell_y / cells_per_section_y;

In Topic: Passing 2d char array through functions in c

17 January 2016 - 11:58 AM

void printName(char** name, int players)
    for (int i = 0; i < players; ++i)
        printf("\n\n%s", name[i]);

In Topic: how to program A LOT of skills/spells?

28 June 2015 - 07:41 AM

Base class with derived skills isnt a terrible idea. But you dont need a class per skill. Group them into similar ones and change them with paramterrs. Examle would be to have a base class of CSkill. Deribe from it say a skill CLaunchProjectile. Now launch projectile can be used for your fireball or your arrow...just change the texture of the actual projectile created.

Also i would not really use a flag system for determining if they have a skill. I would create a list of CSkill and whenever a character earns a new skill add it to the list. Then only allow skills from the list to be used.