code
string
repo_name
string
path
string
language
string
license
string
size
int64
/** * uri.c: set of generic URI related routines * * Reference: RFC 2396 * * See Copyright for the status of this software. * * daniel@veillard.com */ #define IN_LIBXML #include "libxml.h" #include <string.h> #include <libxml/xmlmemory.h> #include <libxml/uri.h> #include <libxml/globals.h> ...
zybex1986-learn
iolib/Pa/libxml/src/uri.c
C
asf20
54,062
/* * valid.c : part of the code use to do the DTD handling and the validity * checking * * See Copyright for the status of this software. * * daniel@veillard.com */ #define IN_LIBXML #include "libxml.h" #include <string.h> #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif #include <...
zybex1986-learn
iolib/Pa/libxml/src/valid.c
C
asf20
178,815
/* * regexp.c: generic and extensible Regular Expression engine * * Basically designed with the purpose of compiling regexps for * the variety of validation/shemas mechanisms now available in * XML related specifications thise includes: * - XML-1.0 DTD validation * - XML Schemas structure part 1 ...
zybex1986-learn
iolib/Pa/libxml/src/xmlregexp.c
C
asf20
122,741
/* * nanohttp.c: minimalist HTTP GET implementation to fetch external subsets. * focuses on size, streamability, reentrancy and portability * * This is clearly not a general purpose HTTP implementation * If you look for one, check: * http://www.w3.org/Library/ * * See Copyright for t...
zybex1986-learn
iolib/Pa/libxml/src/nanohttp.c
C
asf20
39,621
/* * parser.c : an XML 1.0 parser, namespaces and validity support are mostly * implemented on top of the SAX interfaces * * References: * The XML specification: * http://www.w3.org/TR/REC-xml * Original 1.0 version: * http://www.w3.org/TR/1998/REC-xml-19980210 * XML second ed...
zybex1986-learn
iolib/Pa/libxml/src/parser.c
C
asf20
325,344
/* * tree.c : implementation of access function for an XML tree. * * References: * XHTML 1.0 W3C REC: http://www.w3.org/TR/2002/REC-xhtml1-20020801/ * * See Copyright for the status of this software. * * daniel@veillard.com * */ #define IN_LIBXML #include "libxml.h" #include <string.h> /* f...
zybex1986-learn
iolib/Pa/libxml/src/tree.c
C
asf20
228,856
/** * catalog.c: set of generic Catalog related routines * * Reference: SGML Open Technical Resolution TR9401:1997. * http://www.jclark.com/sp/catalog.htm * * XML Catalogs Working Draft 06 August 2001 * http://www.oasis-open.org/committees/entity/spec-2001-08-06.html ...
zybex1986-learn
iolib/Pa/libxml/src/catalog.c
C
asf20
93,323
/* * xmlreader.c: implements the xmlTextReader streaming node API * * NOTE: * XmlTextReader.Normalization Property won't be supported, since * it makes the parser non compliant to the XML recommendation * * See Copyright for the status of this software. * * daniel@veillard.com */ /* * TO...
zybex1986-learn
iolib/Pa/libxml/src/xmlreader.c
C
asf20
85,371
/* * schemastypes.c : implementation of the XML Schema Datatypes * definition and validity checking * * See Copyright for the status of this software. * * Daniel Veillard <veillard@redhat.com> */ #define IN_LIBXML #include "libxml.h" #ifdef LIBXML_SCHEMAS_ENABLED #include <string.h> ...
zybex1986-learn
iolib/Pa/libxml/src/xmlschemastypes.c
C
asf20
89,943
/* * SAX.c : Default SAX handler to build a tree. * * See Copyright for the status of this software. * * Daniel Veillard <daniel@veillard.com> */ #define IN_LIBXML #include "libxml.h" #include <stdlib.h> #include <string.h> #include <libxml/xmlmemory.h> #include <libxml/tree.h> #include <libxml/p...
zybex1986-learn
iolib/Pa/libxml/src/SAX.c
C
asf20
61,076
/* * debugXML.c : This is a set of routines used for debugging the tree * produced by the XML parser. * * See Copyright for the status of this software. * * Daniel Veillard <daniel@veillard.com> */ #define IN_LIBXML #include "libxml.h" #ifdef LIBXML_DEBUG_ENABLED #include <string.h> ...
zybex1986-learn
iolib/Pa/libxml/src/debugXML.c
C
asf20
77,119
/* * parserInternals.c : Internal routines (and obsolete ones) needed for the * XML and HTML parsers. * * See Copyright for the status of this software. * * daniel@veillard.com */ #define IN_LIBXML #include "libxml.h" #if defined(WIN32) && !defined (__CYGWIN__) #define XML_DIR_...
zybex1986-learn
iolib/Pa/libxml/src/parserInternals.c
C
asf20
111,583
/* * xlink.c : implementation of the hyperlinks detection module * This version supports both XML XLinks and HTML simple links * * See Copyright for the status of this software. * * daniel@veillard.com */ #define IN_LIBXML #include "libxml.h" #include <string.h> /* for memset() only */ ...
zybex1986-learn
iolib/Pa/libxml/src/xlink.c
C
asf20
4,681
/************************************************************************* * * $Id: triostr.c,v 1.1 2003/06/23 02:43:30 SiGMan Exp $ * * Copyright (C) 2001 Bjorn Reese and Daniel Stenberg. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby gra...
zybex1986-learn
iolib/Pa/libxml/src/triostr.c
C
asf20
44,161
/************************************************************************* * * $Id: trionan.h,v 1.1 2003/06/23 02:43:30 SiGMan Exp $ * * Copyright (C) 2001 Bjorn Reese <breese@users.sourceforge.net> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is ...
zybex1986-learn
iolib/Pa/libxml/src/trionan.h
C
asf20
2,118
/* * xpath.c: XML Path Language implementation * XPath is a language for addressing parts of an XML document, * designed to be used by both XSLT and XPointer * * Reference: W3C Recommendation 16 November 1999 * http://www.w3.org/TR/1999/REC-xpath-19991116 * Public reference: * ...
zybex1986-learn
iolib/Pa/libxml/src/xpath.c
C
asf20
326,909
/************************************************************************* * * $Id: trionan.c,v 1.1 2003/06/23 02:43:30 SiGMan Exp $ * * Copyright (C) 2001 Bjorn Reese <breese@users.sourceforge.net> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is ...
zybex1986-learn
iolib/Pa/libxml/src/trionan.c
C
asf20
23,800
/* * HTMLtree.c : implementation of access function for an HTML tree. * * See Copyright for the status of this software. * * daniel@veillard.com */ #define IN_LIBXML #include "libxml.h" #ifdef LIBXML_HTML_ENABLED #include <string.h> /* for memset() only ! */ #ifdef HAVE_CTYPE_H #include <ctype...
zybex1986-learn
iolib/Pa/libxml/src/HTMLtree.c
C
asf20
30,713
/* * xmlmemory.c: libxml memory allocator wrapper. * * daniel@veillard.com */ #define IN_LIBXML #include "libxml.h" #include <string.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #ifdef HAVE_TIME_H #include <time.h> #endif #ifdef HAVE_STDLIB_H #include <stdlib.h> #else #ifdef ...
zybex1986-learn
iolib/Pa/libxml/src/xmlmemory.c
C
asf20
21,912
/* * encoding.c : implements the encoding conversion functions needed for XML * * Related specs: * rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies * rfc2781 UTF-16, an encoding of ISO 10646, P. Hoffman, F. Yergeau * [ISO-10646] UTF-8 and UTF-16 in Annexes * [ISO-8859-1] ISO Lat...
zybex1986-learn
iolib/Pa/libxml/src/encoding.c
C
asf20
69,108
/* * HTMLparser.c : an HTML 4.0 non-verifying parser * * See Copyright for the status of this software. * * daniel@veillard.com */ #define IN_LIBXML #include "libxml.h" #ifdef LIBXML_HTML_ENABLED #include <string.h> #ifdef HAVE_CTYPE_H #include <ctype.h> #endif #ifdef HAVE_STDLIB_H #include <st...
zybex1986-learn
iolib/Pa/libxml/src/HTMLparser.c
C
asf20
174,217
/************************************************************************* * * $Id: trio.c,v 1.1 2003/06/23 02:43:29 SiGMan Exp $ * * Copyright (C) 1998 Bjorn Reese and Daniel Stenberg. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby grante...
zybex1986-learn
iolib/Pa/libxml/src/trio.c
C
asf20
166,234
/* * "Canonical XML" implementation * http://www.w3.org/TR/xml-c14n * * "Exclusive XML Canonicalization" implementation * http://www.w3.org/TR/xml-exc-c14n * * See Copyright for the status of this software. * * Author: Aleksey Sanin <aleksey@aleksey.com> */ #define IN_LIBXML #include "libxml.h"...
zybex1986-learn
iolib/Pa/libxml/src/c14n.c
C
asf20
63,508
/* * xmlwin32version.h : compile-time version informations for the XML parser * when compiled on the Windows platform * * See Copyright for the status of this software. * * daniel@veillard.com */ #ifndef __XML_VERSION_H__ #define __XML_VERSION_H__ #ifdef __cplusplus extern "C" ...
zybex1986-learn
iolib/Pa/libxml/xmlwin32version.h
C
asf20
4,695
/* * "Canonical XML" implementation * http://www.w3.org/TR/xml-c14n * * "Exclusive XML Canonicalization" implementation * http://www.w3.org/TR/xml-exc-c14n * See Copyright for the status of this software. * * Author: Aleksey Sanin <aleksey@aleksey.com> */ #ifndef __XML_C14N_H__ #define __XML_C...
zybex1986-learn
iolib/Pa/libxml/c14n.h
C
asf20
2,309
/* * xpathInternals.c: internal interfaces for XML Path Language implementation * used to build new modules on top of XPath * * See COPYRIGHT for the status of this software * * Author: daniel@veillard.com */ #ifndef __XML_XPATH_INTERNALS_H__ #define __XML_XPATH_INTERNALS_H__ #inc...
zybex1986-learn
iolib/Pa/libxml/xpathInternals.h
C
asf20
18,298
/* * regexp.h : describes the basic API for libxml regular expressions handling * * See Copyright for the status of this software. * * Daniel Veillard <veillard@redhat.com> */ #ifndef __XML_REGEXP_H__ #define __XML_REGEXP_H__ #include <libxml/xmlversion.h> #ifdef LIBXML_REGEXP_ENABLED #ifdef __...
zybex1986-learn
iolib/Pa/libxml/xmlregexp.h
C
asf20
1,981
/* * xlink.h : interfaces to the hyperlinks detection module * * See Copyright for the status of this software. * * Related specification: http://www.w3.org/TR/xlink * http://www.w3.org/HTML/ * and XBase * * daniel@veillard.com */ #ifndef __XML_XLINK_H__ #define __XML...
zybex1986-learn
iolib/Pa/libxml/xlink.h
C
asf20
5,109
/* * xmlversion.h : compile-time version informations for the XML parser. * * See Copyright for the status of this software. * * daniel@veillard.com */ #ifndef __XML_VERSION_H__ #define __XML_VERSION_H__ #ifdef __cplusplus extern "C" { #endif /* * use those to be sure nothing nasty will happen...
zybex1986-learn
iolib/Pa/libxml/xmlversion.h
C
asf20
5,111
/* * DOCBparser.h : interface for a DocBook SGML non-verifying parser * * See Copyright for the status of this software. * * daniel@veillard.com */ #ifndef __DOCB_PARSER_H__ #define __DOCB_PARSER_H__ #include <libxml/parser.h> #ifdef __cplusplus extern "C" { #endif /* * Most of the back-end s...
zybex1986-learn
iolib/Pa/libxml/DOCBparser.h
C
asf20
2,850
/* * entities.h : interface for the XML entities handling * * See Copyright for the status of this software. * * daniel@veillard.com */ #ifndef __XML_ENTITIES_H__ #define __XML_ENTITIES_H__ #include <libxml/tree.h> #ifdef __cplusplus extern "C" { #endif /* * The different valid entity types...
zybex1986-learn
iolib/Pa/libxml/entities.h
C
asf20
3,644
/* * xpointer.h : API to handle XML Pointers * * World Wide Web Consortium Working Draft 03-March-1998 * http://www.w3.org/TR/1998/WD-xptr-19980303 * * See Copyright for the status of this software. * * daniel@veillard.com */ #ifndef __XML_XPTR_H__ #define __XML_XPTR_H__ #include <libxml/tree....
zybex1986-learn
iolib/Pa/libxml/xpointer.h
C
asf20
2,614
/* * xmlIO.h : interface for the I/O interfaces used by the parser * * See Copyright for the status of this software. * * daniel@veillard.com * */ #ifndef __XML_IO_H__ #define __XML_IO_H__ #include <stdio.h> #include <libxml/xmlversion.h> #ifdef __cplusplus extern "C" { #endif /* * Those...
zybex1986-learn
iolib/Pa/libxml/xmlIO.h
C
asf20
8,403
/* * xpath.c: interface for XML Path Language implementation * * Reference: W3C Working Draft 5 July 1999 * http://www.w3.org/Style/XSL/Group/1999/07/xpath-19990705.html * * See COPYRIGHT for the status of this software * * Author: daniel@veillard.com */ #ifndef __XML_XPATH_H__ #define ...
zybex1986-learn
iolib/Pa/libxml/xpath.h
C
asf20
12,838
/* * automata.h : description of the API to build regexp automats * * See Copyright for the status of this software. * * Daniel Veillard <veillard@redhat.com> */ #ifndef __XML_AUTOMATA_H__ #define __XML_AUTOMATA_H__ #include <libxml/xmlversion.h> #include <libxml/tree.h> #ifdef LIBXML_AUTOMATA_EN...
zybex1986-learn
iolib/Pa/libxml/xmlautomata.h
C
asf20
2,821
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
iolib/Pa/pa.xml.builder.h
C++
asf20
2,055
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
iolib/Pa/pa.convert.utf8.cpp
C++
asf20
1,921
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
iolib/Pa/pa.serialize.h
C++
asf20
5,316
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
iolib/Pa/pa.sax.handler.h
C++
asf20
4,125
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
zybex1986-learn
iolib/Pa/pa.sax.h
C
asf20
1,230
package kingdom.app.ui { import fl.controls.Button; import fl.controls.List; import fl.events.ComponentEvent; import flash.display.Sprite; import flash.events.Event; public class UILobby extends Sprite { public static const EVENT_JOIN:String = "event_join"; private var m_btnCreateRoom:...
zy-game
trunk/client/src/kingdom/app/ui/UILobby.as
ActionScript
oos
1,405
package kingdom.app.ui { import fl.controls.Button; import fl.controls.TextInput; import fl.events.ComponentEvent; import flash.display.Sprite; public class UILogin extends Sprite { private var m_uidTextInput:TextInput; private var m_loginButton:Button; private var m_confirmCallBack:Fu...
zy-game
trunk/client/src/kingdom/app/ui/UILogin.as
ActionScript
oos
1,193
package kingdom.app { import Engine.Display; import Engine.StateMachine.StateMachine; import kingdom.game.Game; import flash.display.Sprite; public class App extends StateMachine { private var m_display:Display; private var m_game:Game; public function get display():Sprite { re...
zy-game
trunk/client/src/kingdom/app/App.as
ActionScript
oos
585
package kingdom.app.state { import Engine.StateMachine.StateEvent; import kingdom.app.App; import kingdom.game.Game; import kingdom.multiplay.GameServer; import kingdom.multiplay.Session; import flash.utils.ByteArray; public class ASGame extends ASBase { public function ASGame(app:App) ...
zy-game
trunk/client/src/kingdom/app/state/ASGame.as
ActionScript
oos
610
package kingdom.app.state { import Engine.Connection.ConnectionBase; import Engine.Connection.SocketConnection; import Engine.StateMachine.StateEvent; import Engine.avatar.Avatar; import flash.events.Event; import flash.events.MouseEvent; import flash.text.TextField; import flash.utils.ByteArray; ...
zy-game
trunk/client/src/kingdom/app/state/ASLogin.as
ActionScript
oos
3,486
package kingdom.app.state { import kingdom.app.ui.UILobby; import flash.events.Event; import kingdom.app.App; public class ASLobby extends ASBase { private var ui:UILobby = new UILobby(); public function ASLobby(app:App) { super(app); } public override function enter(param:Ob...
zy-game
trunk/client/src/kingdom/app/state/ASLobby.as
ActionScript
oos
693
package kingdom.app.state { import Engine.StateMachine.StateBase; import kingdom.app.App; public class ASBase extends StateBase { protected var m_app:App = null; public function get app():App { return m_app; } public function ASBase(app:App) { super(app); m_app =...
zy-game
trunk/client/src/kingdom/app/state/ASBase.as
ActionScript
oos
337
package kingdom.app.state { import kingdom.app.App; public class ASLoad extends ASBase { public function ASLoad(app:App) { super(app); } } }
zy-game
trunk/client/src/kingdom/app/state/ASLoad.as
ActionScript
oos
165
package kingdom.app.state { import Engine.StateMachine.StateEvent; import flash.utils.ByteArray; import kingdom.app.App; public class ASInit extends ASBase { public function ASInit(app:App) { super(app); } public override function enter(event:StateEvent):void { trace("ente...
zy-game
trunk/client/src/kingdom/app/state/ASInit.as
ActionScript
oos
586
package kingdom.game { import Engine.entities.EntityLayer; import flash.display.Graphics; import flash.display.Sprite; import flash.events.MouseEvent; import flash.geom.Point; import kingdom.game.entity.Entity; import kingdom.game.entity.farm.Cropland; import kingdom.game.entity.player.Player; ...
zy-game
trunk/client/src/kingdom/game/World.as
ActionScript
oos
4,674
package kingdom.game { import Engine.Display; import Engine.StateMachine.StateMachine; import kingdom.app.App; import kingdom.game.entity.npc.Troop; import kingdom.game.entity.player.Player; import kingdom.game.state.GSBase; import kingdom.game.state.GSLoad; import kingdom.game.state.GSPlay; imp...
zy-game
trunk/client/src/kingdom/game/Game.as
ActionScript
oos
2,975
package kingdom.game.entity { import Engine.StateMachine.StateMachine; import flash.display.Sprite; import flash.geom.Point; import kingdom.game.Game; import kingdom.game.World; public class Entity extends StateMachine { protected var m_world:World; protected var m_id:int = 0; protect...
zy-game
trunk/client/src/kingdom/game/entity/Entity.as
ActionScript
oos
1,326
package kingdom.game.entity.npc { import Engine.Anim.AnimSet; public class TroopAnimSet extends AnimSet { public static const ANIM_STAND:String = "stand"; public static const ANIM_MOVE:String = "move"; public function TroopAnimSet() { super(); } } }
zy-game
trunk/client/src/kingdom/game/entity/npc/TroopAnimSet.as
ActionScript
oos
286
package kingdom.game.entity.npc { import Engine.Anim.AnimLoader; import Engine.Anim.AnimLoaderEvent; import kingdom.game.World; import kingdom.game.entity.Entity; import Engine.entities.IAnimator; import Engine.entities.IMover; import kingdom.game.entity.ai.AIMove; import flash.display.MovieClip;...
zy-game
trunk/client/src/kingdom/game/entity/npc/Troop.as
ActionScript
oos
1,416
package kingdom.game.entity.ai { import Engine.entities.IMover; import kingdom.Config; import kingdom.game.entity.Entity; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; import kingdom.game.entity.events.FinishMove; import kingdom.game.entity.npc.Troop; import king...
zy-game
trunk/client/src/kingdom/game/entity/ai/AIMove.as
ActionScript
oos
2,323
package kingdom.game.entity.ai { import kingdom.game.Map; import kingdom.game.entity.Entity; import flash.geom.Point; public class AIPath extends AIBase { private var m_nodes:Object = new Object(); private var m_path:Vector.<String> = new Vector.<String>(); public function AIPath(entity:Enti...
zy-game
trunk/client/src/kingdom/game/entity/ai/AIPath.as
AngelScript
oos
3,366
package kingdom.game.entity.ai { import kingdom.game.entity.Entity; public class AIBase { protected var m_entity:Entity; public function AIBase(entity:Entity) { m_entity = entity; } } }
zy-game
trunk/client/src/kingdom/game/entity/ai/AIBase.as
ActionScript
oos
217
package kingdom.game.entity.ai { import kingdom.game.entity.Entity; import kingdom.game.entity.farm.Cropland; public class AIPlow extends AIBase { public function AIPlow(entity:Entity) { super(entity); } public function startPlow(croplandId:int):void { var cropland:Cropland = m_en...
zy-game
trunk/client/src/kingdom/game/entity/ai/AIPlow.as
ActionScript
oos
556
package kingdom.game.entity { import Engine.StateMachine.StateEvent; import flash.geom.Point; import flash.utils.ByteArray; import kingdom.multiplay.packets.PacketDef; public class EntityEvent implements StateEvent { protected var m_type:int; public function get type():int { return...
zy-game
trunk/client/src/kingdom/game/entity/EntityEvent.as
ActionScript
oos
552
package kingdom.game.entity { import Engine.StateMachine.StateBase; import Engine.StateMachine.StateEvent; import Engine.StateMachine.StateTransition; import flash.events.ActivityEvent; import flash.events.Event; public class EntityTransition implements StateTransition { private var m_eventType:...
zy-game
trunk/client/src/kingdom/game/entity/EntityTransition.as
ActionScript
oos
871
package kingdom.game.entity.events { import flash.geom.Point; import flash.utils.ByteArray; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; public class StartPlow extends EntityEvent { private var m_croplandId:int = 0; public function get croplandId():int ...
zy-game
trunk/client/src/kingdom/game/entity/events/StartPlow.as
ActionScript
oos
789
package kingdom.game.entity.events { import kingdom.game.entity.EntityEventDef; import flash.geom.Point; public class StartMove extends FreeClick { public function StartMove(x:Number = 0, y:Number = 0) { super(x, y); m_type = EntityEventDef.EVENT_START_MOVE; } } }
zy-game
trunk/client/src/kingdom/game/entity/events/StartMove.as
ActionScript
oos
312
package kingdom.game.entity.events { import flash.geom.Point; import kingdom.game.entity.EntityEventDef; public class PlowClick extends FreeClick { public function PlowClick(x:Number = 0, y:Number = 0) { super(x, y); m_type = EntityEventDef.EVENT_PLOW_CLICK; } } }
zy-game
trunk/client/src/kingdom/game/entity/events/PlowClick.as
ActionScript
oos
309
package kingdom.game.entity.events { public class FinishPlow extends StartPlow { import kingdom.game.entity.EntityEventDef; public function FinishPlow(croplandId:int = -1) { super(croplandId); m_type = EntityEventDef.EVENT_FINISH_PLOW; } } }
zy-game
trunk/client/src/kingdom/game/entity/events/FinishPlow.as
ActionScript
oos
286
package kingdom.game.entity.events { import Engine.StateMachine.StateEvent; import flash.geom.Point; import flash.utils.ByteArray; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; public class FreeClick extends EntityEvent implements StateEvent { private var ...
zy-game
trunk/client/src/kingdom/game/entity/events/FreeClick.as
ActionScript
oos
877
package kingdom.game.entity.events { import Engine.StateMachine.StateEvent; import flash.utils.ByteArray; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; public class FinishMove extends FreeClick { public function FinishMove(x:Number = 0, y:Number = 0) { ...
zy-game
trunk/client/src/kingdom/game/entity/events/FinishMove.as
ActionScript
oos
398
package kingdom.game.entity.player { import Engine.StateMachine.StateBase; import Engine.StateMachine.StateEvent; import Engine.avatar.Avatar; import Engine.bt.BTActionNode; import Engine.bt.BTConditionNode; import Engine.bt.BTNode; import Engine.bt.BTSelectorNode; import Engine.bt.BTSequenceNode; im...
zy-game
trunk/client/src/kingdom/game/entity/player/Player.as
ActionScript
oos
8,481
package kingdom.game.entity.player { public class PlayerStateDef { public static const PLAYER_STATE_IDLE:uint = 0; public static const PLAYER_STATE_PLOW:uint = 1; public static const PLAYER_STATE_FREE_MOVE:uint = 2; public static const PLAYER_STATE_PLOW_MOVE:uint = 3; public static const P...
zy-game
trunk/client/src/kingdom/game/entity/player/PlayerStateDef.as
ActionScript
oos
506
package kingdom.game.entity.player.state { import Engine.StateMachine.StateEvent; import flash.events.ErrorEvent; import flash.geom.Point; import flash.utils.ByteArray; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; import kingdom.game.entity.ai.AIMove; import ...
zy-game
trunk/client/src/kingdom/game/entity/player/state/PSMove.as
ActionScript
oos
1,765
package kingdom.game.entity.player.state { import Engine.StateMachine.StateBase; import kingdom.game.entity.player.Player; public class PSBase extends StateBase { protected var m_player:Player; protected var m_parent:PSBase; public function set parent(value:PSBase):void { m_parent = va...
zy-game
trunk/client/src/kingdom/game/entity/player/state/PSBase.as
ActionScript
oos
535
package kingdom.game.entity.player.state { import Engine.StateMachine.StateEvent; import flash.events.Event; import flash.utils.ByteArray; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; import kingdom.game.entity.ai.AIPlow; import kingdom.game.entity.events.Finis...
zy-game
trunk/client/src/kingdom/game/entity/player/state/PSPlow.as
ActionScript
oos
1,038
package kingdom.game.entity.player.state { import Engine.StateMachine.StateEvent; import kingdom.game.entity.player.Player; import flash.geom.Point; import flash.utils.ByteArray; public class PSIdle extends PSBase { public function PSIdle(player:Player, id:int) { super(player, id); ...
zy-game
trunk/client/src/kingdom/game/entity/player/state/PSIdle.as
ActionScript
oos
519
package kingdom.game.entity.player.state { import kingdom.game.entity.player.Player; public class PSInit extends PSBase { public function PSInit(player:Player) { super(player); } public override function enter(param:Object):void { } public override function exit():void ...
zy-game
trunk/client/src/kingdom/game/entity/player/state/PSInit.as
ActionScript
oos
400
package kingdom.game.entity { public class EntityEventDef { public static const EVENT_START_MOVE:int = 0x101; public static const EVENT_FINISH_MOVE:int = 0x102; public static const EVENT_START_PLOW:int = 0x103; public static const EVENT_FINISH_PLOW:int = 0x104; public static const EVENT_FREE...
zy-game
trunk/client/src/kingdom/game/entity/EntityEventDef.as
ActionScript
oos
456
package kingdom.game.entity.ship { import flash.display.MovieClip; import kingdom.game.World; import kingdom.game.entity.Entity; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; import kingdom.game.entity.EntityTransition; import kingdom.game.entity.ship.state.SSIdle;...
zy-game
trunk/client/src/kingdom/game/entity/ship/Ship.as
ActionScript
oos
1,266
package kingdom.game.entity.ship.state { import Engine.StateMachine.StateEvent; import kingdom.game.entity.ship.Ship; public class SSMove extends SSBase { public function SSMove(ship:Ship) { super(ship); } public override function enter(event:StateEvent):void { } pub...
zy-game
trunk/client/src/kingdom/game/entity/ship/state/SSMove.as
ActionScript
oos
436
package kingdom.game.entity.ship.state { import kingdom.game.entity.ship.Ship; public class SSIdle extends SSBase { public function SSIdle(ship:Ship) { super(ship); } } }
zy-game
trunk/client/src/kingdom/game/entity/ship/state/SSIdle.as
ActionScript
oos
196
package kingdom.game.entity.ship.state { import Engine.StateMachine.StateBase; import Engine.StateMachine.StateMachine; import kingdom.game.entity.ship.Ship; public class SSBase extends StateBase { protected var m_ship:Ship; public function SSBase(ship:Ship) { super(ship); m_s...
zy-game
trunk/client/src/kingdom/game/entity/ship/state/SSBase.as
ActionScript
oos
343
package kingdom.game.entity.farm { import flash.display.DisplayObjectContainer; import flash.display.MovieClip; import flash.display.Sprite; import kingdom.game.World; import kingdom.game.entity.Entity; import kingdom.multiplay.packets.data.CroplandInfo; public class Cropland extends Entity { ...
zy-game
trunk/client/src/kingdom/game/entity/farm/Cropland.as
ActionScript
oos
1,453
package kingdom.game.entity.farm { import kingdom.game.entity.Entity; public class Crop extends Entity { public function Crop() { super(); } } }
zy-game
trunk/client/src/kingdom/game/entity/farm/Crop.as
ActionScript
oos
170
package kingdom.game.ui { import fl.controls.Button; import fl.events.ComponentEvent; import flash.display.SimpleButton; import flash.display.Sprite; import flash.events.Event; import flash.events.KeyboardEvent; import flash.events.MouseEvent; import flash.text.TextField; import flash.text.TextFie...
zy-game
trunk/client/src/kingdom/game/ui/UIToolBar.as
ActionScript
oos
2,141
package kingdom.game { import kingdom.Config; import kingdom.game.entity.Entity; import flash.geom.Point; public class Camera { private var m_world:World = null; private var m_focus:Object = null; public function get focus():Object { return m_focus; } public function set fo...
zy-game
trunk/client/src/kingdom/game/Camera.as
ActionScript
oos
874
package kingdom.game.state { import Engine.StateMachine.StateEvent; import flash.utils.ByteArray; import kingdom.game.Game; import kingdom.multiplay.GameServer; public class GSLoad extends GSBase { public function GSLoad(game:Game) { super(game); } public override function ent...
zy-game
trunk/client/src/kingdom/game/state/GSLoad.as
ActionScript
oos
789
package kingdom.game.state { import Engine.StateMachine.StateBase; import kingdom.game.Game; public class GSBase extends StateBase { protected var m_game:Game = null; public function get game():Game { return m_game; } public function GSBase(game:Game) { super(game); ...
zy-game
trunk/client/src/kingdom/game/state/GSBase.as
ActionScript
oos
352
package kingdom.game.state { import Engine.StateMachine.StateEvent; import kingdom.game.Cursor; import kingdom.game.Game; import kingdom.multiplay.GameServer; import flash.events.MouseEvent; import flash.utils.ByteArray; public class GSPlay extends GSBase { public function GSPlay(game:Gam...
zy-game
trunk/client/src/kingdom/game/state/GSPlay.as
ActionScript
oos
811
package kingdom.game { import flash.display.Sprite; import flash.events.MouseEvent; import flash.geom.Point; import kingdom.game.entity.Entity; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.events.FreeClick; import kingdom.game.entity.events.PlowClick; import kingdom.game.enti...
zy-game
trunk/client/src/kingdom/game/Cursor.as
ActionScript
oos
4,237
package kingdom.game { import Engine.Display; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.Graphics; import flash.display.Sprite; import flash.events.MouseEvent; import flash.geom.Point; public class Map { protected var m_tileSizeX:int = 50; ...
zy-game
trunk/client/src/kingdom/game/Map.as
ActionScript
oos
6,531
package kingdom { public class Config { public static const ONLINE:Boolean = true; public static const ONLINE_STATIC_URL:String = "http://192.168.1.102/static/"; public static const ONLINE_GAME_SERVER_ADDRESS:String = "127.0.0.1";//"113.31.32.107"; public static const ONLINE_GAME_SERVER_PORT:int = 7...
zy-game
trunk/client/src/kingdom/Config.as
ActionScript
oos
666
package kingdom.multiplay { import Engine.StateMachine.StateEvent; import flash.events.ErrorEvent; import flash.utils.ByteArray; import kingdom.game.Game; import kingdom.game.entity.Entity; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; import kingdom.game.ent...
zy-game
trunk/client/src/kingdom/multiplay/GameServer.as
ActionScript
oos
5,893
package kingdom.multiplay.packets { public class PacketDef { public static const LOGIN_SERVER:int= 0x1001; public static const LOAD_WORLD:int = 0x2001; public static const ENTER_WORLD:int = 0x2002; public static const ADD_PLAYER:int = 0x2003; public static const ADD_CROPLAND:int= 0x2004; ...
zy-game
trunk/client/src/kingdom/multiplay/packets/PacketDef.as
ActionScript
oos
515
package kingdom.multiplay.packets.data { import flash.utils.ByteArray; public class CroplandInfo extends EntityInfo { public var plowed:Boolean; public var ownerId:int; public var cropId:int; public function CroplandInfo() { super(); } public override function loadBytes(bytes:B...
zy-game
trunk/client/src/kingdom/multiplay/packets/data/CroplandInfo.as
ActionScript
oos
482
package kingdom.multiplay.packets.data { import flash.geom.Point; import flash.utils.ByteArray; public class EntityInfo { public var id:int; public var state:int; public var position:Point = new Point(); public var moveTarget:Point = new Point(); public function EntityInfo() { ...
zy-game
trunk/client/src/kingdom/multiplay/packets/data/EntityInfo.as
ActionScript
oos
611
package kingdom.multiplay.packets.data { import flash.geom.Point; import flash.utils.ByteArray; public class PlayerInfo extends EntityInfo { public var uid:String; public var plowTarget:int; public function PlayerInfo() { super(); } public override function loadBytes(bytes:ByteA...
zy-game
trunk/client/src/kingdom/multiplay/packets/data/PlayerInfo.as
ActionScript
oos
446
package kingdom.multiplay.packets { import flash.utils.ByteArray; public class Packet { public var type:int; public function Packet(_type:int) { type = _type; } public function saveBytes(bytes:ByteArray):void { bytes.writeShort(type); } public function loadBytes(byte...
zy-game
trunk/client/src/kingdom/multiplay/packets/Packet.as
ActionScript
oos
359
package kingdom.multiplay.packets.response { import flash.utils.ByteArray; import kingdom.multiplay.packets.Packet; import kingdom.multiplay.packets.PacketDef; import kingdom.multiplay.packets.data.CroplandInfo; import kingdom.multiplay.packets.data.PlayerInfo; public class ResponseLoadWorld extends ...
zy-game
trunk/client/src/kingdom/multiplay/packets/response/ResponseLoadWorld.as
ActionScript
oos
1,227
package kingdom.multiplay.packets.response { import flash.utils.ByteArray; import kingdom.game.entity.EntityEvent; import kingdom.game.entity.EntityEventDef; import kingdom.game.entity.events.FinishMove; import kingdom.game.entity.events.FinishPlow; import kingdom.game.entity.events.FreeClick; import ...
zy-game
trunk/client/src/kingdom/multiplay/packets/response/ResponsePostEvent.as
ActionScript
oos
1,591
package kingdom.multiplay.packets.response { import flash.utils.ByteArray; import kingdom.multiplay.packets.Packet; import kingdom.multiplay.packets.PacketDef; import kingdom.multiplay.packets.data.PlayerInfo; public class ResponseAddPlayer extends Packet { public var _playerInfo:PlayerInfo; ...
zy-game
trunk/client/src/kingdom/multiplay/packets/response/ResponseAddPlayer.as
ActionScript
oos
551
package kingdom.multiplay.packets.response { import flash.utils.ByteArray; import kingdom.multiplay.packets.Packet; import kingdom.multiplay.packets.PacketDef; public class ResponseChat extends Packet { public var _uid:String; public var _message:String; public function ResponseChat() ...
zy-game
trunk/client/src/kingdom/multiplay/packets/response/ResponseChat.as
ActionScript
oos
494
package kingdom.multiplay.packets.response { import flash.utils.ByteArray; import kingdom.multiplay.packets.Packet; import kingdom.multiplay.packets.PacketDef; import kingdom.multiplay.packets.data.CroplandInfo; public class ResponseAddCropland extends Packet { public var _croplandInfo:CroplandInf...
zy-game
trunk/client/src/kingdom/multiplay/packets/response/ResponseAddCropland.as
ActionScript
oos
569
package kingdom.multiplay.packets.response { import flash.utils.ByteArray; import kingdom.multiplay.packets.Packet; import kingdom.multiplay.packets.PacketDef; public class ResponseLoginServer extends Packet { public var _result:int; public function ResponseLoginServer() { super(PacketD...
zy-game
trunk/client/src/kingdom/multiplay/packets/response/ResponseLoginServer.as
ActionScript
oos
456