|
Team |
|
-ID (int) -Name (string) -NumberOfPlayer (int) -TeamColor (int) -Players (array)
|
|
-SetId(int id) -SetName(string name) -SetTeamColor(int color) -AddPlayer(int playerID) -RemovePlayer(int playerID)
-GetId() -GetName() -GetColor() |
|
Shop |
|
-ID (int) -Items (array)
|
|
-SetId(int id) -AddItem(itemPointer item) -RemoveItem(int itemID) -RequestItem(int playerID, string playerFaction, string playerClass, int playerVehicle, int playerScore) -Open() -Close()
-GetColor() |
|
Chat |
|
-ID (int)
|
|
-Say(srting text) -SayTeam(string text) -SetMute(bool mute) -Open() -Close()
|
|
Surface |
|
-m_id (int) |
|
- Load (int id) - RenderCell (elementId, position) - GetPhisics (elementId) - SetNotifier (notifier) - SetCanvas (size, canvas)
- EnumerateElements (elements) - GetMaxBrushSize () - CanvasToElement (id) - ElementToCanvas(elementID) - GetBlankCanvas() - Draw(x,y,brush) - Erase(x,y,brush) |
|
SurfaceBackground |
|
-m_id (int) |
|
- Load (int id) - RenderCell (elementId, position) - GetPhisics (elementId) - SetNotifier (notifier) - SetCanvas (size, canvas)
- EnumerateElements (elements) - GetMaxBrushSize () - CanvasToElement (id) - ElementToCanvas(elementID) - GetBlankCanvas() - Draw(x,y,brush) - Erase(x,y,brush) |
|
Terrain |
|
-m_cells(Cell) -m_size(Size) -m_rect(Rect) -m_box(AABox2D) -m_ppc(ind) -m_ppm(int) |
|
- Create (halfWidth, halfHeight) - Load (file) - Save (file) - Free (notifier) - IsValid ()
- PixelToCell (pos) - CellToPixel (cell) - WorldToPixel (pos) |
|
TerrainView |
|
-m_canvas(u_char) |
|
- Create (halfWidth, halfHeight) - Render () - OnDraw (surface, x,y) |
|
Weapon |
|
-m_class(int) -m_name(char) -m_turn_ratio(float) -m_fire_rate(float) -m_ammo(int) -m_damage(int) -m_range(int) -m_acceleration(float) -m_speed_limit(int) |
|
- Init () - OnKey (key) - OnUpdate (dt) - Buy(int) - Fire() |
|
Vehicle |
|
-m_def (VehicleDef) -m_sprite (Sprite) -m_pos (float) -m_prevPos(float) -m_nextPos(float) -m_rot(float) -m_prevRot(float) -m_nextRot(float) -m_vel(float) -m_nextVel(float) -m_thrust(float) -m_turn(float) -m_brake(float) -m_tickTime(float)
|
|
- Init (def, pos, rot) - Done () - Update (dt) - GetPosition (pos) - OnTick (tickTIme) - GetMessage () - Render () |
|
Server Console |
|
-rcOut(Rect) -wrap(bool) -maxLines(uint) -richEditDll(Hinstance) -format(Charformat) -outHeight(int) -inputBuffer(char) -outputBuffer(char) -clipboard(char) -clpbWrite(int) -clpbRead(int) -clpbNum(int) -maxLevel(Level)
|
|
- Open () - WndMsg (message) - Close () - IsOpened () - Write (char) - SetMaxLines (int) - CleanOutput() |
|
Server Application |
|
-m_console(Sconsole) -m_lua(Lua) -m_socket(Socket) -m_peer(Peer) |
|
- Init () - Done () - OnUpdate (dt) - WndProc (wnd, msg, wparam, lparam) - ProcessCommand (cmd) - Register (name) |
There are no comments on this page. [Add comment]