rocketgame:rocketgame.git
4 years agoUpdated for Ubuntu-13.04 building. master
Antti Virtanen [Mon, 13 May 2013 20:51:31 +0000 (23:51 +0300)]
Updated for Ubuntu-13.04 building.

4 years agoObject effects now have working script support. This was implemented by having fork...
Antti Virtanen [Wed, 27 Feb 2013 23:07:54 +0000 (01:07 +0200)]
Object effects now have working script support. This was implemented by having fork() like support in ScriptContext.
Fixed various bugs.

4 years agoAdded initial script support for sound and visual effects.
Antti Virtanen [Mon, 25 Feb 2013 22:19:46 +0000 (00:19 +0200)]
Added initial script support for sound and visual effects.
Added projectile attribute to ItemPrototype.

4 years agoMerged patch.
Antti Virtanen [Fri, 22 Feb 2013 23:57:50 +0000 (01:57 +0200)]
Merged patch.

4 years agoImplemented spark-effect.
Antti Virtanen [Fri, 22 Feb 2013 21:45:07 +0000 (23:45 +0200)]
Implemented spark-effect.
CompositeEffect is now working. Effect definition "rocket-damage=rocket-damage:smoke,rocket-damage:spark" means that effect "rocket-damage" create composite effect with two "rocket-damage" children. Both children are bound to different particle systems but they use same rocket-damage driver.

4 years agoImplemented support for composite effects.
Antti Virtanen [Thu, 21 Feb 2013 22:22:24 +0000 (00:22 +0200)]
Implemented support for composite effects.

4 years agoFixed basic-rocket shape.
Antti Virtanen [Mon, 18 Feb 2013 22:37:32 +0000 (00:37 +0200)]
Fixed basic-rocket shape.

4 years agoItems can now have optional weapon.
Antti Virtanen [Mon, 18 Feb 2013 21:37:39 +0000 (23:37 +0200)]
Items can now have optional weapon.
WeaponScriptProxy provides trigger pull/release functions.

4 years agoDisabling lighting from smoke.
Antti Virtanen [Mon, 18 Feb 2013 21:37:27 +0000 (23:37 +0200)]
Disabling lighting from smoke.

4 years agoFixed indentations.
Antti Virtanen [Mon, 18 Feb 2013 19:15:47 +0000 (21:15 +0200)]
Fixed indentations.

4 years agoRocket starts to emit smoke when it is too damaged.
Antti Virtanen [Mon, 18 Feb 2013 17:42:50 +0000 (19:42 +0200)]
Rocket starts to emit smoke when it is too damaged.

4 years agoFixed schema: "rotation" -> "rotate"
Tuomo Turunen [Sun, 17 Feb 2013 11:39:27 +0000 (13:39 +0200)]
Fixed schema: "rotation" -> "rotate"

4 years agoNuclear barrels are now textured again.
Antti Virtanen [Thu, 14 Feb 2013 22:20:00 +0000 (00:20 +0200)]
Nuclear barrels are now textured again.

4 years agoAbstractVisualEffect let's subclasses to customize init and update.
Antti Virtanen [Thu, 14 Feb 2013 22:10:55 +0000 (00:10 +0200)]
AbstractVisualEffect let's subclasses to customize init and update.
ParticleSystem is customizable effect. Implemented RocketThrust customization that disables particle emitter when there is no positive thrust.
Bug fixed from VisualEffectManager::parseResolution().
rocket-thrust.particle and white-dot.material now generates basic thrust effect.

4 years agoRemoved spam from scripts.
Antti Virtanen [Thu, 14 Feb 2013 22:10:28 +0000 (00:10 +0200)]
Removed spam from scripts.

4 years agoFinished EffectGenerator implementation.
Antti Virtanen [Wed, 13 Feb 2013 21:57:52 +0000 (23:57 +0200)]
Finished EffectGenerator implementation.

4 years agoUpdating dependency infos in README.
Antti Virtanen [Thu, 7 Feb 2013 18:19:09 +0000 (20:19 +0200)]
Updating dependency infos in README.

4 years agoCompatible with the latest SFML master.
Antti Virtanen [Tue, 5 Feb 2013 21:58:02 +0000 (23:58 +0200)]
Compatible with the latest SFML master.

4 years agoAdded material for steel.
Antti Virtanen [Tue, 5 Feb 2013 21:40:48 +0000 (23:40 +0200)]
Added material for steel.
Added rocket-thrust visual prototype.
Added getPropertyDescriptor() accessor to AbstractObjectEffectPrototype.
Initial commit of EffectGenerator that will generate builtin game effects like rocket thrusting.

4 years agoMulti shape object pieces were incorrectly aligned in wireframe rendering.
Antti Virtanen [Tue, 5 Feb 2013 20:14:46 +0000 (22:14 +0200)]
Multi shape object pieces were incorrectly aligned in wireframe rendering.

4 years agoFixed client shutdown issues:
Antti Virtanen [Mon, 4 Feb 2013 22:21:19 +0000 (00:21 +0200)]
Fixed client shutdown issues:
 - shared pointers were leaked to signal slots causing ref count never hitting zero.
 - Controller needs to initiate cleanup orderly to get users of it release shared pointer references.

4 years agoImplemented client support for multi-shape rendering.
Antti Virtanen [Mon, 4 Feb 2013 21:06:47 +0000 (23:06 +0200)]
Implemented client support for multi-shape rendering.

4 years agoShapePrototype now has getCentroid() that can be used to ask polygon shape center.
Antti Virtanen [Mon, 4 Feb 2013 21:04:38 +0000 (23:04 +0200)]
ShapePrototype now has getCentroid() that can be used to ask polygon shape center.

4 years agoVisualEffectManager now applies effect updates when received.
Antti Virtanen [Sun, 3 Feb 2013 10:08:49 +0000 (12:08 +0200)]
VisualEffectManager now applies effect updates when received.

4 years agoController now provides onEffectUpdate signal.
Antti Virtanen [Sun, 3 Feb 2013 09:53:42 +0000 (11:53 +0200)]
Controller now provides onEffectUpdate signal.

4 years agoObject effects are now updateable.
Antti Virtanen [Sat, 2 Feb 2013 12:45:16 +0000 (14:45 +0200)]
Object effects are now updateable.

4 years agoRocket prototype now has "linear-thrust" property that can contains simplified calcul...
Antti Virtanen [Thu, 31 Jan 2013 22:10:15 +0000 (00:10 +0200)]
Rocket prototype now has "linear-thrust" property that can contains simplified calculation of the current linear thrust. This will be used by the client to be able to render engine thrust effects.

4 years agoDeleted object are processed at the last phase to get sounds played for object destru...
Antti Virtanen [Thu, 31 Jan 2013 21:40:39 +0000 (23:40 +0200)]
Deleted object are processed at the last phase to get sounds played for object destruction.

4 years agoSound playing now works again.
Antti Virtanen [Tue, 29 Jan 2013 22:18:42 +0000 (00:18 +0200)]
Sound playing now works again.

4 years agoInclude stdint.h for xintxx_t types.
Antti Virtanen [Tue, 29 Jan 2013 22:18:02 +0000 (00:18 +0200)]
Include stdint.h for xintxx_t types.

4 years agoSynced with OgreOggSound svn trunk.
Antti Virtanen [Tue, 29 Jan 2013 22:11:43 +0000 (00:11 +0200)]
Synced with OgreOggSound svn trunk.

4 years agoStructs used for parsing WAV headers weren't 64bit compatbile.
Antti Virtanen [Tue, 29 Jan 2013 21:59:44 +0000 (23:59 +0200)]
Structs used for parsing WAV headers weren't 64bit compatbile.

4 years agoFixed compile errors from previous commit.
Antti Virtanen [Mon, 28 Jan 2013 17:26:15 +0000 (19:26 +0200)]
Fixed compile errors from previous commit.
Controller initialization order changed a bit to ensure that particle renderer is ready before resources are initialized.

4 years agoParticle system resources are now loaded.
Antti Virtanen [Mon, 28 Jan 2013 17:01:36 +0000 (19:01 +0200)]
Particle system resources are now loaded.
VisualEffectManager supports simple resolution mechanism to map visual effects to certain generic implementation.
Added initial resources for simple particle effect of rocket thruster.

4 years agoAdded some inital code for particle effects.
Antti Virtanen [Sun, 27 Jan 2013 22:20:14 +0000 (00:20 +0200)]
Added some inital code for particle effects.

4 years agoWorldManager now signals focus object changes. SoundManager uses this to attach Sound...
Antti Virtanen [Sun, 27 Jan 2013 21:56:33 +0000 (23:56 +0200)]
WorldManager now signals focus object changes. SoundManager uses this to attach SoundListener.

4 years agoInitial implementation of SoundManager.
Antti Virtanen [Tue, 22 Jan 2013 22:30:30 +0000 (00:30 +0200)]
Initial implementation of SoundManager.

4 years agoLoading libOgreOggSound plugin.
Antti Virtanen [Tue, 22 Jan 2013 21:07:47 +0000 (23:07 +0200)]
Loading libOgreOggSound plugin.

4 years agoWireframe rendering is now disabled by default.
Antti Virtanen [Tue, 22 Jan 2013 21:07:32 +0000 (23:07 +0200)]
Wireframe rendering is now disabled by default.

4 years agoPlugins are now loaded dynamically. Just take care that ogre plugin dir (<ogre-instal...
Antti Virtanen [Tue, 22 Jan 2013 21:03:08 +0000 (23:03 +0200)]
Plugins are now loaded dynamically. Just take care that ogre plugin dir (<ogre-install-dir>/lib/OGRE) is in LD_LIBRARY_PATH.

4 years agoAdded simple zoom support.
Antti Virtanen [Mon, 21 Jan 2013 21:45:29 +0000 (23:45 +0200)]
Added simple zoom support.

4 years agoSetting MeshManager bounds padding factor to 0. Default value caused mesh AABB to...
Antti Virtanen [Mon, 21 Jan 2013 21:25:16 +0000 (23:25 +0200)]
Setting MeshManager bounds padding factor to 0. Default value caused mesh AABB to be rounded up to integers which caused textures to be slightly misplaced.

4 years agoUse (deprecated and broken) boost::this_thread::sleep() if boost is older than
Tuomo Turunen [Sun, 20 Jan 2013 11:13:12 +0000 (13:13 +0200)]
Use (deprecated and broken) boost::this_thread::sleep() if boost is older than
1.50. boost::this_thread::sleep_for() doens't exist in boost older than 1.50.

4 years agoWorld node is now always separated from world content.
Antti Virtanen [Fri, 18 Jan 2013 22:43:00 +0000 (00:43 +0200)]
World node is now always separated from world content.

4 years agoWorldManager now has initial support for instantiating worlds without model but with...
Antti Virtanen [Wed, 16 Jan 2013 22:16:24 +0000 (00:16 +0200)]
WorldManager now has initial support for instantiating worlds without model but with material. This can be used to render 2d caves in which the cave texture is rendered to a cave sized plane.

4 years agoAdded ogre assets for cave_2000_2500 world.
Antti Virtanen [Wed, 16 Jan 2013 22:15:59 +0000 (00:15 +0200)]
Added ogre assets for cave_2000_2500 world.

4 years agoAdded getAABB() to ShapePrototype and WorldPrototype.
Antti Virtanen [Wed, 16 Jan 2013 22:14:47 +0000 (00:14 +0200)]
Added getAABB() to ShapePrototype and WorldPrototype.
World now stores it's size as b2AABB and refactored size checks a bit.

4 years agoAdded ammo-box assets for ogre.
Antti Virtanen [Tue, 15 Jan 2013 22:00:39 +0000 (00:00 +0200)]
Added ammo-box assets for ogre.

4 years agocreateEntity() now uses unique names for entities.
Antti Virtanen [Tue, 15 Jan 2013 21:59:31 +0000 (23:59 +0200)]
createEntity() now uses unique names for entities.

4 years agoImplemented support for gadget blacklisting.
Antti Virtanen [Tue, 15 Jan 2013 21:17:40 +0000 (23:17 +0200)]
Implemented support for gadget blacklisting.
World now only spawns gadgets that are allowed in rules.

4 years agoCDMParameters parsing now supports list of values separated with ",". This will creat...
Antti Virtanen [Mon, 14 Jan 2013 22:35:55 +0000 (00:35 +0200)]
CDMParameters parsing now supports list of values separated with ",". This will create child CDMElement for each delimited value with single nopath attribute.
GameRules now contains whitelist of allowed gadgets.

4 years agoAdded assets for gadgets.
Antti Virtanen [Mon, 14 Jan 2013 22:06:32 +0000 (00:06 +0200)]
Added assets for gadgets.

4 years agoRespawn limit min can be now same as max.
Antti Virtanen [Mon, 14 Jan 2013 21:43:29 +0000 (23:43 +0200)]
Respawn limit min can be now same as max.

4 years agoAABB is now calculated for the generated material plane.
Antti Virtanen [Mon, 14 Jan 2013 21:33:40 +0000 (23:33 +0200)]
AABB is now calculated for the generated material plane.

4 years agoAdded some missing assets.
Antti Virtanen [Mon, 14 Jan 2013 20:46:22 +0000 (22:46 +0200)]
Added some missing assets.

4 years agoWorldManager now applies material to created shapes that doesn't have a model.
Antti Virtanen [Tue, 8 Jan 2013 22:24:49 +0000 (00:24 +0200)]
WorldManager now applies material to created shapes that doesn't have a model.
Implemented crude plasma-ball.

4 years agoAdded few missing files.
Antti Virtanen [Mon, 7 Jan 2013 21:47:39 +0000 (23:47 +0200)]
Added few missing files.

4 years agoAdded red energy ball material and texture.
Antti Virtanen [Mon, 7 Jan 2013 21:45:40 +0000 (23:45 +0200)]
Added red energy ball material and texture.

4 years agoSynced OgreProcedural with upstream (495:e2e483a10023).
Antti Virtanen [Wed, 2 Jan 2013 23:05:53 +0000 (01:05 +0200)]
Synced OgreProcedural with upstream (495:e2e483a10023).

4 years agoRemoving unused code.
Antti Virtanen [Wed, 2 Jan 2013 22:56:46 +0000 (00:56 +0200)]
Removing unused code.

4 years agoImplemented initial support for scriptable light effects.
Antti Virtanen [Wed, 2 Jan 2013 22:51:34 +0000 (00:51 +0200)]
Implemented initial support for scriptable light effects.

4 years agoInitial implementation of visual effect handling.
Antti Virtanen [Wed, 2 Jan 2013 21:05:01 +0000 (23:05 +0200)]
Initial implementation of visual effect handling.

4 years agoAdded missing forward declaration.
Antti Virtanen [Wed, 2 Jan 2013 21:04:28 +0000 (23:04 +0200)]
Added missing forward declaration.

4 years agoConverted cavemodel to ogre mesh and material.
Antti Virtanen [Fri, 28 Dec 2012 21:31:52 +0000 (23:31 +0200)]
Converted cavemodel to ogre mesh and material.
Added initial texture support.

4 years agoAdded data files for geometry world.
Antti Virtanen [Fri, 28 Dec 2012 21:05:13 +0000 (23:05 +0200)]
Added data files for geometry world.

4 years agoWorld lights are now added to scene.
Antti Virtanen [Fri, 28 Dec 2012 21:04:27 +0000 (23:04 +0200)]
World lights are now added to scene.

4 years agoCompatible with latest SFML.
Antti Virtanen [Wed, 19 Dec 2012 22:23:37 +0000 (00:23 +0200)]
Compatible with latest SFML.

4 years agoWorld mainloop uses thread::sleep_for() to get high resolution sleeping.
Antti Virtanen [Wed, 19 Dec 2012 22:07:36 +0000 (00:07 +0200)]
World mainloop uses thread::sleep_for() to get high resolution sleeping.
OgreClient render loop sleeps 10ms when no updates are available to prevent CPU hogging.

4 years agoMinor improvements to main loop.
Antti Virtanen [Tue, 18 Dec 2012 22:39:45 +0000 (00:39 +0200)]
Minor improvements to main loop.
Attaching mouse device to Window.

5 years agoConverted torus world for ogre.
Antti Virtanen [Sun, 18 Nov 2012 12:34:14 +0000 (14:34 +0200)]
Converted torus world for ogre.

5 years agoFixed initial rotation of model to use degrees.
Antti Virtanen [Sun, 18 Nov 2012 12:02:52 +0000 (14:02 +0200)]
Fixed initial rotation of model to use degrees.
Better error handling for missing models.
Added new variant of basic-rocket that has correct alignment with ogre.
WorldManager now sets ambient light so models are displayed.

5 years agoResourceGroupManager is now initialized properly to get resources initialied.
Antti Virtanen [Tue, 13 Nov 2012 22:13:38 +0000 (00:13 +0200)]
ResourceGroupManager is now initialized properly to get resources initialied.
WorldManager is now able to load meshes and assign them to nodes.

5 years agoForgot to commit updated material.
Antti Virtanen [Tue, 13 Nov 2012 22:13:06 +0000 (00:13 +0200)]
Forgot to commit updated material.

5 years agoRegenerated with fixed OgreAssimp
Antti Virtanen [Tue, 13 Nov 2012 22:09:53 +0000 (00:09 +0200)]
Regenerated with fixed OgreAssimp

5 years agoFixed typo from material generation
Antti Virtanen [Tue, 13 Nov 2012 21:36:06 +0000 (23:36 +0200)]
Fixed typo from material generation

5 years agoFixed ManualObject naming to be unique for each rope.
Antti Virtanen [Tue, 13 Nov 2012 15:36:45 +0000 (17:36 +0200)]
Fixed ManualObject naming to be unique for each rope.

5 years agoWorldManager now better handles cases when model loading fails.
Antti Virtanen [Mon, 12 Nov 2012 22:18:34 +0000 (00:18 +0200)]
WorldManager now better handles cases when model loading fails.

5 years agoGenerated ogre mesh and material from old basic-rocket model.
Antti Virtanen [Mon, 12 Nov 2012 22:18:01 +0000 (00:18 +0200)]
Generated ogre mesh and material from old basic-rocket model.

5 years agoConverted models are named without type suffix.
Antti Virtanen [Mon, 12 Nov 2012 22:16:57 +0000 (00:16 +0200)]
Converted models are named without type suffix.

5 years agoImplemented rope object by drawing line with ManualObject.
Antti Virtanen [Sun, 11 Nov 2012 22:47:39 +0000 (00:47 +0200)]
Implemented rope object by drawing line with ManualObject.
Added support for loading material resources.

5 years agoAdded support for fetching delimiter separated values from parameters.
Antti Virtanen [Sun, 11 Nov 2012 22:46:57 +0000 (00:46 +0200)]
Added support for fetching delimiter separated values from parameters.

5 years agoInital angle of the object is now set correctly.
Antti Virtanen [Sun, 11 Nov 2012 13:12:09 +0000 (15:12 +0200)]
Inital angle of the object is now set correctly.

5 years agoFixed unit mistake in object rotation.
Antti Virtanen [Sun, 11 Nov 2012 12:45:43 +0000 (14:45 +0200)]
Fixed unit mistake in object rotation.

5 years agoAdded initial code for handling rope objects.
Antti Virtanen [Sun, 11 Nov 2012 12:43:28 +0000 (14:43 +0200)]
Added initial code for handling rope objects.

5 years agoRemoved debug messages.
Antti Virtanen [Sun, 11 Nov 2012 11:54:38 +0000 (13:54 +0200)]
Removed debug messages.

5 years agoImplemented camera focusing and configured camera properly. Currently we aren't using...
Antti Virtanen [Sun, 11 Nov 2012 11:52:50 +0000 (13:52 +0200)]
Implemented camera focusing and configured camera properly. Currently we aren't using CCS to keep things simple at this point.

5 years agoFixed assertion to include 0.0f.
Tuomo Turunen [Sat, 10 Nov 2012 10:38:35 +0000 (12:38 +0200)]
Fixed assertion to include 0.0f.

5 years agoWorldManager is now able to start to track player node and lock camera target to...
Antti Virtanen [Thu, 8 Nov 2012 22:27:49 +0000 (00:27 +0200)]
WorldManager is now able to start to track player node and lock camera target to it. Camera mode still needs to be changed to get fixed orientation for wireframe rendering. Tilting camera will cause rendering artifacts.

5 years agoEsc will now exit the client.
Antti Virtanen [Thu, 8 Nov 2012 21:32:19 +0000 (23:32 +0200)]
Esc will now exit the client.

5 years agoInput event routing from Window to Controller now works properly.
Antti Virtanen [Wed, 7 Nov 2012 22:21:35 +0000 (00:21 +0200)]
Input event routing from Window to Controller now works properly.

5 years agoFinishing up player creation handling and input event consuming.
Antti Virtanen [Tue, 6 Nov 2012 22:28:06 +0000 (00:28 +0200)]
Finishing up player creation handling and input event consuming.

5 years agoWindow now creates viewport for camera.
Antti Virtanen [Tue, 6 Nov 2012 21:43:37 +0000 (23:43 +0200)]
Window now creates viewport for camera.
Controller provides FrameRenderSignalType instead of directly calling anything from WorldManager.
WorldManager now sets camera to static position so something is actually drawn to the screen.

5 years agoAdded initial code for handling cameras.
Antti Virtanen [Mon, 5 Nov 2012 21:58:09 +0000 (23:58 +0200)]
Added initial code for handling cameras.

5 years agoWireframe rendering can be now forced.
Antti Virtanen [Mon, 5 Nov 2012 21:10:32 +0000 (23:10 +0200)]
Wireframe rendering can be now forced.

5 years agoCompatible with latest SFML, Ogre 1.8 head and boost-1.50.
Antti Virtanen [Sun, 21 Oct 2012 11:53:09 +0000 (14:53 +0300)]
Compatible with latest SFML, Ogre 1.8 head and boost-1.50.

5 years agoController now listens Window close events.
Antti Virtanen [Sat, 13 Oct 2012 13:56:59 +0000 (16:56 +0300)]
Controller now listens Window close events.
Window doesn't hook mouse listener anymore.
WorldManager temporarily ignores RopeObjects.
WorldRunner doesn't manually add rockets to newObjects list anymore. This cause Controller to see object creations twice.

5 years agoWorldManager creates needed resource groups.
Antti Virtanen [Sat, 13 Oct 2012 12:47:27 +0000 (15:47 +0300)]
WorldManager creates needed resource groups.
Temporarily disabled shape triangularization.

5 years agoSynced with upstream.
Antti Virtanen [Sat, 13 Oct 2012 12:24:01 +0000 (15:24 +0300)]
Synced with upstream.

5 years agoAdded initial support for creating non-model world for debugging purposes.
Antti Virtanen [Sat, 13 Oct 2012 10:34:27 +0000 (13:34 +0300)]
Added initial support for creating non-model world for debugging purposes.

5 years agoClient now gracefully shuts down if exception occurs and prints error message.
Antti Virtanen [Tue, 9 Oct 2012 21:51:35 +0000 (00:51 +0300)]
Client now gracefully shuts down if exception occurs and prints error message.