Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SSH

#3021
Also, rather than having an array of structs each with an overlay, etc, why not have:

Code: ags

struct Enemies{

  // Sprites
  Overlay* enemy_graphics[MAX_ENEMIES];
  int enemy_sprites[MAX_ENEMIES];
  int width[MAX_ENEMIES];  // enemies sprite proberties
  int height[MAX_ENEMIES];
..
..
 int all_enemies;
 int enemy_type;
 int amount_of_enemies_per_type;

};

#3022
S. Rex, I think you need to put [hi de] around you spoilers!
#3023
Quote from: fovmester on Mon 06/02/2006 10:46:57
To my knowledge it is (so far) not possible to create new objects of a struct in AGS. Therefore a non-static function in a struct would have no meaning since you won't be able to call it.

You can declare variables that are structs and arrays of them. However, you can't do so dynamically. And of course you can call non-static functions in structs.

Code: ags

struct a { int b; import function setb(int b); };
a b;
b.setb(4);
#3024
Quote from: Spleen on Mon 06/02/2006 04:11:53
..And since God created everything, and everything is part of God..
God is Hell.

EDIT:

Ergo, God created Satan, the ruler of hell.Ã,  Satan is evil.Ã,  Satan, as part of "everything", is evil.Ã,  As part of everything, Satan is part of God.Ã,  Henceforth, God is part evil.

If God isn't part evil, then something exists outside of God, therefore God isn't what everyone thinks "He" is.

EDIT:

Lilly's a hardcore Christian, and we've had discussions on religion before.Ã,  I respect his belief in those, but in no way would I agree with him and in no way would he agree with my views.Ã,  That said, he's statement only backs up my point.Ã,  God created Hell, therefore God created something that's viewed as "Evil".Ã,  Considering God is everything, God made a part of himself evil.Ã,  God is not ALL good.

Actually, some Christians suggest that hell is being seperated from God, and thus inferring utter oblivion, while heaven is "merely" being with God and being able to continue living. This gets around your issue with God creating hell.

As for God creating evil, well what God created was free will. If we did not have free will we would be robots and unable to have this discussion, really. If God has given us something like free will but without the option of doing something other than what he wanted, then we would not have free will at all. It's quite simple, yet many people have problems grasping this.
#3025
General Discussion / Re: Mohammed cartoons
Sun 05/02/2006 08:04:03
Why does freedom of speech mean that you need to go out of your way to piss people off?
#3026
Paul who?

I'm really not clear if this is supposed to be in support or against Mr Harvey. Whoever he is.

A quick ask on #ags elicited the reply "A right wing nut job"
#3027
Quote from: Pumaman on Sat 04/02/2006 16:41:34
Quoteit's tricky to get a tile starting at the top left pixel, because the gray area outside the actual bitmap is not responsive to mouse clicks, and on most resolutions or zooms moving the mouse cursor even one pixel to the right or bottom means you won't select the top left pixel

I see what you mean, but it's a relatively big job to change this compared with the benefit of doing so. I'll think about it though.


I always thought it would be handy to be able to enetr the numbers for the size and origin of the sprite grabbing manually....
#3028
General Discussion / Re: deja-vu?
Fri 03/02/2006 22:15:12
Eventually someone will make the obvious joke...
#3029
General Discussion / Re: deja-vu?
Fri 03/02/2006 16:26:27
Eventually someone will make the obvious joke...
#3030
General Discussion / Re: deja-vu?
Fri 03/02/2006 16:25:49
Eventually someone will make the obvious joke...
#3031
Quote from: Tuomas on Fri 03/02/2006 12:19:18
Banana Cream

Now, what is that a metaphor for?
#3032
General Discussion / Re: Personal questions :)
Thu 02/02/2006 13:10:14
Maybe rharpe and the other guy would like to know about this place: http://www.theregister.co.uk/2006/02/02/christian_shop/
#3033
Imagine a guy pointing at something remarkable. Say, the eiffel tower. Then another guy comes along and points at the eiffel tower too. This is like having two pointers and assigning one to the other. Then, a terrorist comes and blows up the eiffel tower. This affects both pointers. To do what you want, you need to creat a new copy of the eiffel tower and just blow one of them up...
#3034
Yes, you did miss it, because it is there. Zooty even mentioned how I said Pee Three En One Ess ...
#3035
As long as you don't enforce new style strings, you can still pass a "string" rather than a "String". This will make the string argument modifiable in-place.

However, you can also declare a function that returns a String by replacing "function" (which is just #defined to "int" anyway) with String.
#3036
OK, peeps, here's the big list of who and what is nominated.

Voting closed Friday 17th at 3pm GMT, the awards ceremony will be at 8pm GMT on Saturday 18th.

Links to all the nominated game's game pages are at: http://www.adventuregamestudio.co.uk/awards.php?action=shownominees . Games with broken download links might be found at hajo's torrent site, or on http://aafiles.bicycle-for-slugs.org/



AGS Awards

Best GameBen Jordan 4Cedric and the RevolutionEmily EnoughMind's EyeStargate
GameplayBJ4EmilyStargateWinter RoseZugzwang
StoryBJ4EmilyMind's EyeProdigalSoviet Unterthingmabob
DialogueBJ4Da New GuysEmilyJessica PlunkensteinSoviet Unter
PuzzlesBJ4CedricEmilyFrank the Farmhand 2Meta
Player charBen Jordan (BJ4) Cedric (Cedric & Revolution)The Brain (Da New Guys)Emily (Emily Enough)Jessica (Jessica Plunkenstein)
Best NPCInvisible guy (Adventures in the Galaxy of Fantabulous Wonderment)Anna (Anna)Smiley Joe (Da New Guys)Uncle Ernie (Great Stroke Off)Cuppit (Meta)
BackgroundsCedricEmilyGreat Stroke OffProdigalStargate
Char ArtCedricEmilyGreat Stroke OffMind's EyeStargate
AnimFrank Farmhand 2Great Stroke OffMind's EyeStargateThe Winter Rose
ProgrammingAdventures in Galaxy of FWAnnaMind's EyeStargateZugzwang
SoundBJ4Lost in the NightmareMagsic IIProdigalStargate
MusicApprentice I DeluxeBJ4Great Stroke OffMind's EyeProdigal
DocAnnaBJ4Stargate
ShortAnnaCedricSaturday SchoolThe BarZooreal
DemoValisWolf CountryDa New Guys 2: Day of the JackassStar Wars: Shadow of the Empire
Non-AdventureMissing in ActionOperation Novi 2DLabyrinthBarn Runner 3Rapstar 1.5
ResourceAGS Wiki by American Girl ScoutsSave/load GUI with Screenshots by SSHAGS 3D by Steve McCrea
P3N1SNo, I am SpartacusA walk in da tomb
Lifetime AchievementMrColossal


FOREGOs

Beginners TechAshenStrazerGilbot
TechAshenCJStrazer
Games in ProdDarth MandarbOzzieProgZmax
Hints/Tipscittymomidajanejoycerosie
Comp & ActBig BrotherDarthGeoffKhanKrysisProgZMax
Help ArtistAndailDarthInCreatorLoominousProgZmax
MusicianGeoffKhanNikolasPetteri
DebateDGMcPheeEsperFarlanderHelmMrColossal
OverallCJGrundislavKinokoSSH
FunniestCJDGMcPheeHelmPabloSSH
Worst n00bElliot HirdFlukeblakeLJUBItheatrx
Best newbieBeckyLord NipperNikolasKrysis
Best IRC #agsAl_NinioJakeHajoSSH
SexyGinnySSHThe IvyYufster
CJ's Best DeedExistingUpdating AGS
ModeratorAGAAndailAshenDarthMrColossal
AvatarChickyDarthPabloTerranRich
Awaited GameBen Jordan 5Gift of AldoraFountain of YouthHero TheoremThe Legend of the lost lagoon

#3037
Actually, another thing has come up which means that nominations will now close at 3:30pm GMT. You will still be able to submit until 5pm but they will be ignored! SOrry!
#3038
TWO HOURS TO GO!
#3039
General Discussion / Re: How safe are you?
Tue 31/01/2006 13:24:50
The problem with that, dkh, is that password files are often stored hashed. Then a hacker takes a dictionary and hashes every word in it, forward and reveresed, with the numbers 0-9 added at each end, etc. Then they compare all of these with your encrypted pasword and when they get a match, bingo!

A secure password should be based on a pronouncable (and thus memorable) non-word, like "phlangtooie" with some letters capitalised pHlangtOOie and some numbers and other characters thrown in: "phl4ngtO0!3"

And you should use a different one for everything, if possible. Of course, as soon as you have to write them down or start forgetting, that rukle becomes self-defeating. So at least vary them somewhat, in a memorable way.
#3040
Quote from: RickJ on Tue 31/01/2006 01:18:41
2.  String.Format - Format does not appear in the auto-complete list.  It seems like there are some other ones missing also but I am not sure.   

3. String.Format - When executed from within a module the StringFormat statement seems to have no effect.   
Code: ags

returns null.
int value=0;
String buf;
buf = "Hello World";
buf.Format("%d",value);  // This statement doesen't seem to do anything
Display(buf);  // Displays "Hello World" on screen


RTFM, n00b!  :=

you need to do:
buf = String.Format("%d", value);

then new string functions have no side effects.
SMF spam blocked by CleanTalk