Re: [Super-tux-devel] Leveleditor first release
Brought to you by:
wkendrick
From: Duong-Khang N. <neo...@us...> - 2003-12-28 16:18:51
|
Le Dimanche 28 Décembre 2003 12:46, vous avez écrit : > This game will be played by very little children, so a built-in editor > would be much easier to use for those. By stand-alone I mean there's the game "supertux" and another executable file "supertuxle" or something like that. It's as easy to use as the builtin editor I believe > Well, I just asked this because the world.h, badguy.h and player.h have a > line saying 'C++ Interface:'. > I've also found some comments using //. Is this already ANSI C and/or can > I use it (/* */ are annoying :P)? I think we can use "//" for fast commenting :-). I agree that it's not really C but /**/ takes 235 ms more to write :-D I use /**/ for multiple line comments and oneline comment as much as I can > Did you find the code to be too straight? If you didn't like this, you > probabily had an heart attack when looking at the old gameloop function. ;P > I could put the key events in a different function, I just didn't because > I don't like global variables that much. I don't like the way you use the global variables and the way you call the function from gameloop.c. I think that functions from gameloop.c are not for external use. And last but not least, the way you manipulate pointers don't fit me much. >I'm also not very used to write in C. I code in C++ too, but I keep it apart in my mind while programming in C > I also didn't like (neither understood) the identation you have used in > the game. You should ask Tobias for this :-) Maybe we have to vote for a common coding and identation style. > Cya, > Ricardo -- Never say if I could turn back the time, life is going on ! |