Giter VIP home page Giter VIP logo

Comments (3)

ETLegacyTeam avatar ETLegacyTeam commented on May 11, 2024

From: @IR4T4 (IR4T4)
Date: 2012-03-16T09:51:53Z


... and gameExport_t

//
// functions exported by the game subsystem
//
typedef enum {
	GAME_INIT = 0,	// ( int levelTime, int randomSeed, int restart );
	// init and shutdown will be called every single level
	// The game should call G_GET_ENTITY_TOKEN to parse through all the
	// entity configuration text and spawn gentities.

	GAME_SHUTDOWN,	// (void);

	GAME_CLIENT_CONNECT,	// ( int clientNum, qboolean firstTime, qboolean isBot );
	// return NULL if the client is allowed to connect, otherwise return
	// a text string with the reason for denial

	GAME_CLIENT_BEGIN,				// ( int clientNum );

	GAME_CLIENT_USERINFO_CHANGED,	// ( int clientNum );

	GAME_CLIENT_DISCONNECT,			// ( int clientNum );

	GAME_CLIENT_COMMAND,			// ( int clientNum );

	GAME_CLIENT_THINK,				// ( int clientNum );

	GAME_RUN_FRAME,					// ( int levelTime );

	GAME_CONSOLE_COMMAND,			// ( void );
	// ConsoleCommand will be called when a command has been issued
	// that is not recognized as a builtin function.
	// The game can issue trap_argc() / trap_argv() commands to get the command
	// and parameters.  Return qfalse if the game doesn't recognize it as a command.

	GAME_SNAPSHOT_CALLBACK = 10,			// ( int entityNum, int clientNum ); // return qfalse if you don't want it to be added

	// IRATA: these gameExport_t are not used anymore
	// BOTAI_START_FRAME,              // ( int time ); - NOT USED IN NQ - keep for compatibility

	// Ridah, Cast AI
	//BOT_VISIBLEFROMPOS, // - NOT USED IN NQ - keep for compatibility
	//BOT_CHECKATTACKATPOS,//- NOT USED IN NQ - keep for compatibility
	// done.

	// zinx
	GAME_MESSAGERECEIVED = 14,			// ( int cno, const char *buf, int buflen, int commandTime );
	// -zinx
} gameExport_t;
</code>

from etlegacy.

ETLegacyTeam avatar ETLegacyTeam commented on May 11, 2024

From: @JanSimek (Radegast)
Date: 2012-03-17T14:04:15Z


commit:1e50d883 "partially removed botlib, fixes #3" broke compatibility with mods.

I give up.

from etlegacy.

ETLegacyTeam avatar ETLegacyTeam commented on May 11, 2024

From: @IR4T4 (IR4T4)
Date: 2012-04-25T10:24:01Z


see

http://etlegacy.com/projects/etlegacy/repository/revisions/96f272aa418912678223063ac3ef0e121e13f99e

to remove functions

from etlegacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.