Quote from: Chicky on Wed 26/12/2007 15:15:09
and lots of love from my girlfriend and her family.
First part of that phrase is cool... second one is creepy.
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 MenuQuote from: Chicky on Wed 26/12/2007 15:15:09
and lots of love from my girlfriend and her family.
test_function( [...]
test_function ( [...]
function test ( int a )
{
if ( a == 1 )
{
do_something ( );
function test ( int a )
{
if ( a == 1 )
{
do_something ( );
}
function test ( int a )
{
if ( a == 1 )
{
do_something ( );
}
Quote from: Pumaman on Tue 11/12/2007 20:05:55QuoteWhen typing that, the editor currently moves the FIRST closing curved-bracket (}) all the way to the left, although it should have a TAB before it.
I can't replicate this. When you type the closing } and press return, it should move it back to the indent level of the previous line, then subtract the tab size. Does anyone else get this problem?
Quote from: monkey_05_06 on Tue 11/12/2007 04:51:03
First off, I'd like to know where you found the tracker at. I've been looking for it for ages but it's not there.
function Test ( )
// test something
{
if ( test == 1 )
// if test equals 1
{
// do something
}
}
// store original image temporarily
this.temp=DynamicSprite.CreateFromExistingSprite ( this.Image.Graphic );
int cenx = FloatToInt ( this.X ) + ( this.Image.Width / 2 );
int ceny = FloatToInt ( this.Y ) + ( this.Image.Height / 2 );
// rotate
if ( this.Angle > 0.0 && this.Angle <= 359.0 )
this.temp.Rotate ( FloatToInt ( this.Angle ), cenx - ( this.temp.Width / 2 ), ceny - ( this.temp.Height / 2 ) );
// draw the sprite
Renderer.DrawSprite ( FloatToInt ( this.X ), FloatToInt ( this.Y ), this.temp.Graphic );
function CRenderer::DrawSprite ( int x, int y, int sprite_slot )
// draws a sprite
{
// draw the sprite
this.Surface.DrawImage ( x, y, sprite_slot );
}
// store original image temporarily
this.temp = this.Image;
// rotate
if ( this.Angle > 0.0 && this.Angle <= 359.0 )
this.temp.Rotate ( FloatToInt ( this.Angle ), this.temp.Width, this.temp.Height );
// draw the sprite
Renderer.DrawSprite ( FloatToInt ( this.X ), FloatToInt ( this.Y ), this.temp.Graphic );
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 0.467 seconds with 17 queries.