Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Who Needs Direction?

This thread is locked; no one can reply to it. rss feed Print
Who Needs Direction?
bamccaig
Member #7,536
July 2006
avatar

Lua seems to be the language to use. I haven't personally used it before, but I guess I can take the opportunity now to give it a try. :) Mmmmz, Linux.

Mark Oates
Member #1,146
March 2001
avatar

READ THIS: I'm going to keep the summary of our progress and game concepts on this page: http://www.zeoxdesign.com/monday recommendations and suggestions are not only welcome, they're necessary! ;)

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Thomas Fjellstrom
Member #476
June 2000
avatar

Feel free to use the wiki as well.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Mark Oates
Member #1,146
March 2001
avatar

I think we should go with plot #1, btw.

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Gr4|\|f
Member #9,499
February 2008
avatar

Sorry, i've been out for a while, so somebody might have already said this...

Not to be the enemy of all freelance coders here (myself included), i think that to avoid the problem of having code that some members of the project consider "evil", i think we should set up some style guidlines, everything from newlined curly braces to what should be a global variable, to should we use gotos (just kidding. 8-) )

Ping me @ 127.0.0.1

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Mark Oates
Member #1,146
March 2001
avatar

agreed

I didn't even know that existed! ???

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

alethiophile
Member #9,349
December 2007
avatar

For the coding standards, that's fine. I'm uncertain about how the indentation will work. The way I do it is two spaces for each new level of indentation, replacing any eight spaces in a row with a tab. I'm not sure if you can set Emacs to do anything else.

--
Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup.
C++: An octopus made by nailing extra legs onto a dog.
I am the Lightning-Struck Penguin of Doom.

LennyLen
Member #5,313
December 2004
avatar

Quote:

I'm not sure if you can set Emacs to do anything else.

Two seconds of googling says you can.

Mark Oates
Member #1,146
March 2001
avatar

alright, that's 3 for the allegro hacker's standard... none opposed

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

OnlineCop
Member #7,919
October 2006
avatar

Fourthed. Although it doesn't explain all things, like naming conventions of:

1) Classes (class CClassName, class ClassName, class class_name, class _class_name, .. ?)
2) enums (enum PLAYER_DIRECTION { ... }, enum Player_Direction { ... }, enum player_direction { ... }, enum _player_direction { ... }, etc.)

There may be others, but these first few would be important for me.

bamccaig
Member #7,536
July 2006
avatar

Edgar Reynaldo said:

To save time on deciding style rules, the group could use the Allegro Hacker's Guide.

Then we all have to read the Allegro Hacker's Guide! :'( Actually, it was looking good for a minute,...

Allegro Hacker's Guide said:

/* foobar:
 *  Description of what it does.
 */
void foobar(int foo, int bar)
{
    /* do some stuff */
}

...but I personally prefer to line up braces at the start of the indentation level (i.e. Nothing on a line before the braces, but single-line blocks can follow...). It makes it a lot easier to find missing braces and also makes the program structure clear.

Allegro Hacker's Guide said:

if(foo)
{
    /* stuff */
}
else
{
    /* stuff */
}

Fixed.

Allegro Hacker's Guide said:

do
{
    /* stuff */
}while(foo);

Fixed.

Allegro Hacker's Guide said:

switch(foo)
{
case bar:
    /* stuff */
    break;
default:
    /* stuff */
    break;
}

Fixed.

I'm not really trying to start a flame war, so if the majority agree on the Allegro Hacker's Guide I won't fight it, but I think my recommendation is valid. The newlines add clarity. The spaces between a condition statement keyword and its condition generally don't, IMO (though spaces should be used inside the condition to make it readable and parenthesis should be used to make it clear).

if((condition1 && condition2) || (condition3))
{
    /* stuff */
}

// -- OR if conditions are long --

while((condition1 && condition2)
        || (condtion3))
{
    /* stuff */
}

MiquelFire
Member #3,110
January 2003
avatar

Mark, put a <title> tag in that document.

Anyway, got some time, will start coding up the interface to handle users for the SVN now. Won't be too long now.

---
Febreze (and other air fresheners actually) is just below perfumes/colognes, and that's just below dead skunks in terms of smells that offend my nose.
MiquelFire.red
If anyone is of the opinion that there is no systemic racism in America, they're either blind, stupid, or racist too. ~Edgar Reynaldo

bamccaig
Member #7,536
July 2006
avatar

And also, we would probably benefit from using a documentation system (i.e. Doxygen) standard in the comments.

Mark Oates
Member #1,146
March 2001
avatar

MF said:

Mark, put a <title> tag in that document.

okie-dokie!

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Gr4|\|f
Member #9,499
February 2008
avatar

Allegro hackers guide looks good. I'll set my IDE up for that.

What classes are we going to have? Maybe it's just a personal preference, but i prefer to have a complete object API before we begin coding, even if none of the structs are actually coded. I was thinking:

{
NPC

Map

grid-square

Main character
}

at least.

Ping me @ 127.0.0.1

bamccaig
Member #7,536
July 2006
avatar

It's a work in-progress.

http://www.allegro.cc/forums/thread/597566/769552#target
http://www.allegro.cc/forums/thread/597566/769787#target
http://www.allegro.cc/forums/thread/597566/769906#target

Far from complete.

** EDIT **

Thinking a little more deeply, are speech bubbles going to be dynamically positioned/sized or perhaps there will only be one at a time (in which case, each unit will not really need it's own and the say() method could communicate with the game's single speech bubble instead).

MiquelFire
Member #3,110
January 2003
avatar

Okay, SVN is up and running. All I need to do now is add users basically.

The repository url is: http://svn.miquelfire.com/monday/
The url to change your password is: http://svn.miquelfire.com/svnadmin/?project=monday

For now, only Chris and Matt (as they're leaders of this project) can send me usernames to add (VIA PM), so bug them about getting access. Later (next weekend I hope), I'll allow them to just add and remove names themselves without having to wait for me.

Oh yea, they need to contact me for the usernames they want. And Chris, if their anyone else you want to allow to add/remove user access to SVN, just let me know.

---
Febreze (and other air fresheners actually) is just below perfumes/colognes, and that's just below dead skunks in terms of smells that offend my nose.
MiquelFire.red
If anyone is of the opinion that there is no systemic racism in America, they're either blind, stupid, or racist too. ~Edgar Reynaldo

OnlineCop
Member #7,919
October 2006
avatar

MiquelFire, what version of SVN do we need to have?

bamccaig
Member #7,536
July 2006
avatar

OnlineCop said:

MiiquelFire, what version of SVN do we need to have?

MiquelFire said:

My server (if you clicked on the link) is 1.4

Though I think a higher version client should work with a lower version server. After all, if they weren't backwards compatible, how would you explain how they handle the SVN repository for SVN itself? Yea, to check out 1.5, you need SVN 1.5... chicken/egg... wait, what? ???

- Source

OnlineCop
Member #7,919
October 2006
avatar

Much appreciated!

Neil Black
Member #7,867
October 2006
avatar

I feel like I've gotten out of my league. The last page or two... so confused! Is there some non-programming position available, I still want to help, you guys are just way beyond my technical skill.

OnlineCop
Member #7,919
October 2006
avatar

  • Design graphics

  • Develop storyline

  • Get some sort of simplistic framework ready

Even if you only write code in C, it won't be too difficult to have some of these C++ programmers to convert it, if they need to (though, since C can be compiled FINE without much/any changes, I don't see this being a big issue, or at least a time-consuming one).

Neil Black
Member #7,867
October 2006
avatar

I nominate myself to work on the storyline! Any objections?

Mark Oates
Member #1,146
March 2001
avatar

Quote:

Mildly Annoying Man

hahaha.

anyway, yea, these last few pages of programming specifics aren't quite in my relm either, but that's why I'm glad I'm not doing them! ;) I think once those experts iron that stuff out there will be some good mid-level stuff to do, even for programming. They're pretty much working out how it'll all be structured in the grand scheme so that the little guys will know what to do.

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub



Go to: