Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


_Vicious_

Member Since 07 Feb 2009
Offline Last Active Jun 23 2014 01:15 PM

Posts I've Made

In Topic: Windows XP Compatibility

19 February 2014 - 04:27 PM

It's pretty much the same with CreateSemaphoreEx:

 

http://www.warsow.net/forum/thread/t/223185#post-223185


In Topic: Implicit conversion changed sign of value

15 February 2014 - 03:51 PM

Confirming as the issue as fixed. Thanks!


In Topic: Implicit conversion changed sign of value

15 February 2014 - 10:36 AM

void item_weapon( Entity @ent )
{
	if( (ent.spawnFlags & WEAPON_ROCKET) == WEAPON_ROCKET )
	{
		if( (ent.spawnFlags & WEAPON_BIG) == WEAPON_BIG )
			GENERIC_SpawnItem( ent, AMMO_ROCKETS );
		else
			GENERIC_SpawnItem( ent, AMMO_WEAK_ROCKETS );	
	}
	else if( (ent.spawnFlags & WEAPON_SPIKES) == WEAPON_SPIKES )
	{
		if( (ent.spawnFlags & WEAPON_BIG) == WEAPON_BIG )
			GENERIC_SpawnItem( ent, AMMO_PLASMA );		
		else
			GENERIC_SpawnItem( ent, AMMO_WEAK_PLASMA );
	}	
	else if( (ent.spawnFlags & WEAPON_SHOTGUN) == WEAPON_SHOTGUN )
	{
		if( (ent.spawnFlags & WEAPON_BIG) == WEAPON_BIG )
			GENERIC_SpawnItem( ent, AMMO_SHELLS );
		else
			GENERIC_SpawnItem( ent, AMMO_WEAK_SHELLS );
	}
}

Basically, each '(ent.spawnFlags & WEAPON_ROCKET) == WEAPON_ROCKET'-style comparison throughout the source code results in compilation error.

 

WEAPON_ROCKET again is an enum, spawnflags is an integer property.


In Topic: Implicit conversion changed sign of value

15 February 2014 - 08:15 AM

Hm, after updating to WIP Angelscript version, I get loads of the following errors:

dm.as 275:33: No conversion from 'uint' to 'uint' available.
^5ANGELSCRIPT:

legacy/quake1.as 86:1: Compiling void light_fluoro_use(Entity@, Entity@, Entity@)
^1ERROR:

legacy/quake1.as 91:23: No conversion from 'int' to 'int' available.
^3WARNING:

In Topic: [EXPERIMENTAL PATCHES] Named arguments and auto declarations.

15 February 2014 - 07:26 AM

Andreas,

 

are there any plans to incorporate this into 2.28.2? The patches have already started to bitrot...

 

 

Best regards,

Victor


PARTNERS