/*
* EventCodes.cs
* Authors:
* Copyright (c) 2007-2008 Cornell University
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
using tAC_Engine.GUI;
namespace ColonySim
{
///
/// Enum for all of the events that occur within the colony simulator
///
public enum EventCodes
{
///
/// Defines when a building has been placed
///
PlaceBuilding = 256,
///
/// Defines when the player has quit the game
///
Quit = 257,
///
/// Defines when the player has selected a cube
///
SelectCube = 258,
///
/// Defines when the player has selected a sphere
///
SelectSphere = 259,
///
/// Defines when the view has been recentered
///
RecenterView = 260,
///
/// Defines when zooming in has begun
///
ZoomInStart = 261,
///
/// Defines when zooming in ahs ended
///
ZoomInStop = 262,
///
/// Defines when zooming out has begun
///
ZoomOutStart = 263,
///
/// Defines when zooming out has ended
///
ZoomOutStop = 264,
///
/// Defines when rotation of the camera to the right has begun
///
RotateRightStart = 265,
///
/// Defines when rotation of the camera to the right has ended
///
RotateRightStop = 266,
///
/// Defines when rotation of the camera to the left has begun
///
RotateLeftStart = 267,
///
/// Defines when rotation of the camera to the left has ended
///
RotateLeftStop = 268,
///
/// Defines when tilting of the camera backwards has begun
///
TiltBackStart = 269,
///
/// Defines when tilting of the camera backwards has ended
///
TiltBackStop = 269,
///
/// Defines when tilting of the camera forwards has begun
///
TiltForwardStart = 270,
///
/// Defines when tilting of the camera forwards has ended
///
TiltForwardStop = 280,
///
/// Defines when a connection has been placed
///
PlaceConnection = 281,
///
/// Defines when the plane has been toggled on/off
///
TogglePlane = 282,
//test codes
///
/// Defines when level 1 technology has been researched
///
//ResearchTech1 = 20,
///
/// Defines when level 2 technology has been researched
///
//ResearchTech2 = 21,
///
/// Defines when level 3 technology has been researched
///
//ResearchTech3 = 22,
///
/// Defines when the current level of research has been incremented
///
//IncrementCurrentResearch = 23,
///
/// Defines when the left mouse button has been released
///
ReleaseLeftTrigger = 283,
///
/// Defines when an asteriod has been created
///
//CreateAsteroid = 25,
///
/// Defines when a meteor has been grabbed
///
//GrabMeteor = 26,
///
/// Defines when the right mouse button has been clicked
///
RightClick = 284,
///
/// Defines when a tube has been added
///
AddTube = 285,
///
/// Defines when a four way hub has been added
///
AddFourWayHub = 286,
///
/// Codes used for the colony sim tutorial exclusively
///
CSTutorial_WaitForFactoryResidentialConnect = 287,
CSTutorial_WaitForFactoryResourceConnect = 288,
CSTutorial_WaitForCommericalResidentialConnect = 289,
CSTutorial_WaitForEntertainmentResidentialConnect = 290,
///
/// Codes to match with the GUI.
///
///
/// Represents when the left mouse button has been clicked
///
LEFT_MOUSE_CLICKED = (int)GUIEventCodes.LEFT_MOUSE_CLICKED,
LEFT_MOUSE_RELEASED = (int)GUIEventCodes.LEFT_MOUSE_RELEASED,
RIGHT_MOUSE_CLICKED = (int)GUIEventCodes.RIGHT_MOUSE_CLICKED,
RIGHT_MOUSE_RELEASED = (int)GUIEventCodes.RIGHT_MOUSE_RELEASED,
COLONY_EXIT = (int)GUIEventCodes.COLONY_EXIT,
///
/// Defines when key bindings are being tested
///
TestingKeybindings = -147,
}
}