English has words for the abstract and the specific. So while "sad" is correct for someone mourning and someone dumped it is hardly the whole story. But that doesn't make it wrong.
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
oReflection.Graphic=0;
if (DS!=null)
{
DS.Delete();
}
ViewFrame *frame = Game.GetViewFrame(player.View, player.Loop, player.Frame);
DS=DynamicSprite.CreateFromExistingSprite(frame.Graphic);
DS.Resize(DS.Width*player.Scaling/100, DS.Height*player.Scaling/100);
DS.Flip(eFlipUpsideDown);
oReflection.Graphic=DS.Graphic;
function SortNumbers(int a, int b, int c, int d, int e, int f) {
Ã, int n[6];
Ã, char nn[6];
Ã, n[0]=a; n[1]=b; n[2]=c; n[3]=d; n[4]=e; n[5]=f;
int i=0;
Ã, while (i<6) {
Ã, Ã, nn[i]='a'+i;
Ã, Ã, i++;
Ã, }
Ã, int swap=1;
Ã, while (swap) {
Ã, Ã, Ã, swap=0;
Ã, Ã, Ã, i=1;
Ã, Ã, Ã, while (i<6) {
Ã, Ã, Ã, Ã, if (n[i] < n[i-1]) {
Ã, Ã, Ã, Ã, Ã, int temp=n[i];
Ã, Ã, Ã, Ã, char temp2=nn[i];
Ã, Ã, Ã, Ã, Ã, n[i]=n[i-1];
Ã, Ã, Ã, Ã, Ã, n[i-1]=temp;
Ã, Ã, Ã, Ã, nn[i]=nn[i-1];
Ã, Ã, Ã, Ã, nn[i-1]=temp2;
Ã, Ã, Ã, Ã, Ã, swap=1;
Ã, Ã, Ã, Ã, }
Ã, Ã, Ã, Ã, i++;
Ã, Ã, Ã, }
Ã, }
Ã, i=0;
Ã, while (i<6) {
Ã, Ã, Display("In position #%d, value %d was %c", i, n[i], nn[i]);
Ã, Ã, i++;
Ã, }
}
1000Ã, & 0001 = 0000 1000 && 0001 = 1 1000 | 0001 = 1001 1000 || 0001 = 1
function SortNumbers(int a, int b, int c, int d, int e, int f) {
int n[6];
n[0]=a; n[1]=b; n[2]=c; n[3]=d; n[4]=e; n[5]=f;
int i;
int swap=1;
while (swap) {
Ã, swap=0;
Ã, i=1;
Ã, while (i<6) {
Ã, Ã, if (n[i] < n[i-1]) {
Ã, Ã, Ã, int temp=n[i];
Ã, Ã, Ã, n[i]=n[i-1];
Ã, Ã, Ã, n[i-1]=temp;
Ã, Ã, Ã, swap=1;
Ã, Ã, }
Ã, Ã, i++;
Ã, }
}
Ã, // Do something with result!
}
Quote from: KhrisMUC on Mon 27/03/2006 11:45:24Or you were unable to see them becasue you should have stopped?
I was unable to see the cars cause there was a building site and a big container was standing right at the corner.
Quote from: kantor_98 on Mon 27/03/2006 11:28:08
It happen to me that the AGS editor "propose" something to me when I start editing, but it is not working. Ex:
Ã, Ã, Ã, region().enable=false did not work in 2.7.Ã, I solve it with disableregion()
QuoteThe way you use names is, with EGO for example:
Ã, Ã, Ã, character[name] it is not working with name, but only with number of the character
Ã, Ã, Ã, character[2].Walk(355, 245,eBlock, eAnywhere) did not work. I solve it with character[2].AddWaypoint(355, 245)
Quote
Ã, Ã, Ã, character[0].say("It is dark in there ! I cannot see anything !")
and I receive “say is not a public member of character”
Quote from: Radiant on Sat 25/03/2006 12:08:54
How about Trainspotting?
Quote from: Pumaman on Tue 21/03/2006 19:46:48QuoteThanks, I'll go re-import everything then and see if that works (or, if you plan on implementing an indicator some time soon, I'll wait for that).
Beta 6 will display the colour depth on the Room Settings pane, next to the Relative Size.
DynamicSprite *SpriteFont::TextOnSprite(String t) {
int x=0;
int y=0;
int w=this.GetSpriteTextRawWidth(t);
int h=this.GetSpriteTextRawHeight(t);
DynamicSprite *dspr;
RawSaveScreen();
if (system.color_depth==8) {
RawClearScreen(0); // Col 0 is transparent
} else {
RawClearScreen(63519); // Pure Magenta is transparent colour
}
this.TextOnBackground(x, y, t, false, 0);
dspr=DynamicSprite.CreateFromBackground(GetBackgroundFrame(),x,y,w,h);
RawRestoreScreen();
return dspr;
}
Quote from: Pumaman on Mon 20/03/2006 15:38:34QuoteThis is a weird one... if you press then release the control key, then subsequently press escape, it will not trigger on_key_press.
That is a strange one, seems like it's something wierd with allegro, I'll have a look at it.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 1.031 seconds with 15 queries.