V-GlobalData.inc
资源名称:VeMU.rar [点击查看]
上传用户:santakups8
上传日期:2021-03-23
资源大小:544k
文件大小:3k
源码类别:
模拟服务器
开发平台:
Asm
- ;-----------------------------------------------------------------------------------
- ; VeMU
- ; Its a package that allows the user to set his own server of the game
- ; "MuOnline", this is not an emulator since i am not "emulating"
- ; what the actual games does, i am "creating" a method for set a Server
- ; of this Game.
- ;
- ; Copyright (C) 2010 FelipeYa馿z
- ;
- ; 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 3 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, see http://www.gnu.org/licenses/.
- ;-----------------------------------------------------------------------------------
- ;-----------------------------------------------------------------------------------
- ; -----------------
- ; Coded /
- ; By /
- ; -={FeN$x)=-
- ; / Felipe Y.
- ; /
- ; -----------------
- ; Programming Lang: ASM
- ; Country: Chile
- ; My respect for all those who lost their lifes
- ; In the earthquake of my country...
- ; Let god take their spirits home...
- ;-----------------------------------------------------------------------------------
- ; #########################################################################
- ;=================
- ; Include prototypes
- ;=================
- include V-Procedures.inc
- ; #########################################################################
- ; #########################################################################
- ;=================
- ; ; Global Data
- ; ;=================
- .Const
- ON equ 1
- OFF equ 0
- MAXSERVERUSER equ 500 ;The name says it
- MAXPRINTCHAR equ 200
- MAXPRINTLINES equ 50
- MAX_PACKETSEND_LENGTH equ 50 ;Standar limit of length for send a packet
- MAX_OBJ_ID equ 7400 ;MuOnline limit for Mobs & PlayersID
- START_OBJ_PLAYERID equ 6400 ;From ID 6400 to up are PlayersID
- include .Valk-CoreV-GlobalStructs.asm ;Include all global structs
- .Data
- ;/////////////////////////////////////////////////////////
- ;Valkyrie Important data
- ;/////////////////////////////////////////////////////////
- V_ProcessHeapHandle Dword ? ;Handler for fastalloc proc
- SaveBytes DB 100 Dup (0) ;Big buffer for GetToken
- StringToken CHAR 100 Dup(0) ;Buffer for GetString
- VPrintNewLine Byte ? ;Byte for check if print a new line
- VPrintTotalLines Dword ? ;Total lines writted by vprint fuction
- GShWnd DD ? ;Handler of the window
- .Data?
- pObjectPaint DB SizeOf VPRINTs*MAXPRINTLINES Dup(?)
- pObjSpace DB MAX_OBJ_ID * SizeOf Object Dup(?)
- ; #########################################################################