Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Nerdkill game for PocketPC

, 28 Jun 2004 CPOL
A shoot'em up platform in C# for the .NET Compact Framework.
nerdkillpocket_src_v100.zip
NerdkillPocket_Src_v100
doc
Nerdkill-BeDope-Review_files
bedope_logo_words.gif
bedope_spacer.gif
latest_bedope_logo.gif
spacer.gif
nerdkill_pocket.gif
src
Core
Engine
Gameplay
NerdkillPocket.csdproj
Platform
RPocketSound
Resources
background.jpg
board256.png
nerdfun1.wav
nerdfun2.wav
nerdfun3.wav
nerdfun4.wav
Nerdkill.ico
nerd_in.wav
nerd_out.wav
n_ah1.wav
n_ah10.wav
n_ah2.wav
n_ah3.wav
n_ah4.wav
n_ah5.wav
n_ah6.wav
n_ah7.wav
n_ah8.wav
n_ah9.wav
n_elec1.wav
n_explos.wav
n_gun1.wav
n_gun2.wav
n_mine.wav
n_roul1.wav
n_roul2.wav
n_select.wav
splashscreen.jpg
sprites24.png
sprites256.png
weapons24.png
nerdkillpocket_v100.zip
NerdkillPocket_v100
Nerdkill-BeDope-Review_files
bedope_logo_words.gif
bedope_spacer.gif
CVS
Entries
Repository
Root
Template
latest_bedope_logo.gif
spacer.gif
NerdkillPocket_PPC.ARM.CAB
NerdkillPocket_PPC.ARM.DAT
NerdkillPocket_PPC.ARMV4.CAB
NerdkillPocket_PPC.ARMV4.DAT
NerdkillPocket_PPC.MIPS.CAB
NerdkillPocket_PPC.MIPS.DAT
NerdkillPocket_PPC.SH3.CAB
NerdkillPocket_PPC.SH3.DAT
NerdkillPocket_PPC.WCE420X86.CAB
NerdkillPocket_PPC.WCE420X86.DAT
NerdkillPocket_PPC.X86.CAB
NerdkillPocket_PPC.X86.DAT
nerdkill_pocket.gif
nerdkillpocket_v100_arm.zip
NerdkillPocket_v100_ARM
Nerdkill-BeDope-Review_files
bedope_logo_words.gif
bedope_spacer.gif
CVS
Entries
Repository
Root
Template
latest_bedope_logo.gif
spacer.gif
NerdkillPocket_PPC.ARM.CAB
NerdkillPocket_PPC.ARM.DAT
nerdkill_pocket.gif
nerdkillpocket_v100_mips.zip
NerdkillPocket_v100_MIPS
Nerdkill-BeDope-Review_files
bedope_logo_words.gif
bedope_spacer.gif
CVS
Entries
Repository
Root
Template
latest_bedope_logo.gif
spacer.gif
NerdkillPocket_PPC.MIPS.CAB
NerdkillPocket_PPC.MIPS.DAT
nerdkill_pocket.gif
nerdkillpocket_v100_x86.zip
NerdkillPocket_v100_x86
Nerdkill-BeDope-Review_files
bedope_logo_words.gif
bedope_spacer.gif
CVS
Entries
Repository
Root
Template
latest_bedope_logo.gif
spacer.gif
NerdkillPocket_PPC.X86.CAB
NerdkillPocket_PPC.X86.DAT
nerdkill_pocket.gif
//*******************************************************************
/*

	Solution:	NerdkillPocket
	Project:	NerdkillPocket
	File:		IEngineProcess.cs

	Copyright 2003, 2004, Raphael MOLL.

	This file is part of NerdkillPocket.

	NerdkillPocket 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.

	NerdkillPocket 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 NerdkillPocket; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

*/
//*******************************************************************

using System;

//******************************
namespace Alfray.Nerdkill.Engine
{
	//******************************************
	/// <summary>
	/// Summary description for IEngineProcess.
	/// </summary>
	//******************************************
	public interface IEngineProcess: IDisposable
	{
		//-------------------------------------------
		//----------- Public Properties -------------
		//-------------------------------------------


		//************
		bool IsRunning
		{
			get;
			set;
		}


		//***********
		bool IsPaused
		{
			get;
			set;
		}


		//************
		bool IsSoundOn
		{
			get;
			set;
		}


		//*************
		bool IsFinished
		{
			get;
		}


		//-------------------------------------------
		//----------- Public Methods ----------------
		//-------------------------------------------

		
		//*************
		/// <summary>
		/// Inherited from IDisposable
		/// </summary>
		//*************
		// void Dispose();


		//**************************************
		bool Initialize(IEngineContext context);


		//*************************************
		bool Terminate(IEngineContext context);

		
		//****************************************
		/// <summary>
		/// Processes the next frame.
		/// </summary>
		/// <param name="context">The engine context</param>
		/// <returns>True as long as the main loop should continue to process
		/// frames, false if the main loop must be interrrupted (typically
		/// because of a fatal processing error.</returns>
		//****************************************
		bool ProcessFrame(IEngineContext context);


		//*****************************************
		bool ProcessEvents(IEngineContext context);


		//**********************************
		bool PostEvent(Engine.REvent evt);


	} // interface IEngineProcess 
} // namespace Alfray.Nerdkill.Engine


//---------------------------------------------------------------
//
//	$Log: IEngineProcess.cs,v $
//	Revision 1.2  2004/05/26 08:49:18  ralf
//	Polishing.
//	
//	Revision 1.1.1.1  2004/05/24 14:21:57  ralf
//	Stable port to PockerPC/.Net Compact Framework.
//	Uses .Net/GDI+ for graghic. Uses WinCE's SoundPlay for sound.
//	
//---------------------------------------------------------------

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Raphael Moll
Web Developer
United States United States
Raphael is a senior software engineer with a background in electronics engineering.
He enjoys programming in C++ since 1994.
He developed professional software for the BeOS and now focuses on Windows, MacOS and Linux software development.
He uses C++, C#, Java,VB.Net, PHP, Bash and Perl on a regular basis. He is familiar with C, Objective-C, VB6, Python, ML, Haskell, Lisp, Scheme, some obsolete languages (Basic and Pascal) and x86/Motorola assembly languages.
Raphael is a big fan of the .Net platform.
A number of open source personal projects can be found on his web site.

| Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 29 Jun 2004
Article Copyright 2004 by Raphael Moll
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid