目录结构调整
This commit is contained in:
358
codes/games/client/Edit/DockWindows.ini
Normal file
358
codes/games/client/Edit/DockWindows.ini
Normal file
@@ -0,0 +1,358 @@
|
||||
[Root]
|
||||
DockControlCount=12
|
||||
|
||||
[0]
|
||||
ClassName=TdxDockSite
|
||||
Name=dkSiteMain
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=2
|
||||
Children0=7
|
||||
Children1=11
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
Width=2552
|
||||
Height=1224
|
||||
OriginalWidth=2552
|
||||
OriginalHeight=1224
|
||||
Visible=1
|
||||
AutoSize=0
|
||||
|
||||
[7]
|
||||
ClassName=TdxLayoutDockSite
|
||||
Name=dxLayoutDockSite7
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=2
|
||||
Children0=8
|
||||
Children1=10
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=1
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=2224
|
||||
Height=1224
|
||||
OriginalWidth=300
|
||||
OriginalHeight=200
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[8]
|
||||
ClassName=TdxLayoutDockSite
|
||||
Name=dxLayoutDockSite2
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=2
|
||||
Children0=9
|
||||
Children1=1
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=1
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=2224
|
||||
Height=1224
|
||||
OriginalWidth=300
|
||||
OriginalHeight=200
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[9]
|
||||
ClassName=TdxLayoutDockSite
|
||||
Name=dxLayoutDockSite5
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=0
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=1
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=2224
|
||||
Height=1224
|
||||
OriginalWidth=300
|
||||
OriginalHeight=200
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[1]
|
||||
ClassName=TdxDockPanel
|
||||
Name=dkPnlMain
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=0
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=0
|
||||
AllowDockClientsTop=0
|
||||
AllowDockClientsRight=0
|
||||
AllowDockClientsBottom=0
|
||||
AllowDockClientsClient=0
|
||||
AllowFloating=0
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=0
|
||||
Width=2224
|
||||
Height=1224
|
||||
OriginalWidth=185
|
||||
OriginalHeight=140
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[10]
|
||||
ClassName=TdxTabContainerDockSite
|
||||
Name=dxTabContainerDockSite2
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=2
|
||||
Children0=2
|
||||
Children1=3
|
||||
DockType=5
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=1
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=2224
|
||||
Height=359
|
||||
OriginalWidth=185
|
||||
OriginalHeight=359
|
||||
Visible=0
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
ActiveChildIndex=-1
|
||||
ShowCaption=1
|
||||
TabsPosition=1
|
||||
TabsScroll=1
|
||||
|
||||
[2]
|
||||
ClassName=TdxDockPanel
|
||||
Name=dkPnlOutput
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=0
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=0
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=848
|
||||
Height=67
|
||||
OriginalWidth=185
|
||||
OriginalHeight=115
|
||||
Visible=0
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[3]
|
||||
ClassName=TdxDockPanel
|
||||
Name=dkPnlFindOut
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=0
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=0
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=2224
|
||||
Height=359
|
||||
OriginalWidth=185
|
||||
OriginalHeight=359
|
||||
Visible=0
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[11]
|
||||
ClassName=TdxTabContainerDockSite
|
||||
Name=dxTabContainerDockSite1
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=3
|
||||
Children0=4
|
||||
Children1=5
|
||||
Children2=6
|
||||
DockType=2
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=1
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=328
|
||||
Height=1224
|
||||
OriginalWidth=328
|
||||
OriginalHeight=140
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
ActiveChildIndex=0
|
||||
ShowCaption=1
|
||||
TabsPosition=1
|
||||
TabsScroll=1
|
||||
|
||||
[4]
|
||||
ClassName=TdxDockPanel
|
||||
Name=dkPnlProject
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=0
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=0
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=324
|
||||
Height=1176
|
||||
OriginalWidth=328
|
||||
OriginalHeight=140
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[5]
|
||||
ClassName=TdxDockPanel
|
||||
Name=dkPnlScript
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=0
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=0
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=324
|
||||
Height=1176
|
||||
OriginalWidth=328
|
||||
OriginalHeight=140
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
[6]
|
||||
ClassName=TdxDockPanel
|
||||
Name=dkPnlEngine
|
||||
ParentForm=frmMain_edit
|
||||
ChildCount=0
|
||||
DockType=1
|
||||
AllowDockLeft=1
|
||||
AllowDockTop=1
|
||||
AllowDockRight=1
|
||||
AllowDockBottom=1
|
||||
AllowDockClient=1
|
||||
AllowDockClientsLeft=1
|
||||
AllowDockClientsTop=1
|
||||
AllowDockClientsRight=1
|
||||
AllowDockClientsBottom=1
|
||||
AllowDockClientsClient=1
|
||||
AllowFloating=0
|
||||
CaptionButtonClose=1
|
||||
CaptionButtonHide=1
|
||||
CaptionButtonMaximize=1
|
||||
Dockable=1
|
||||
Width=324
|
||||
Height=1176
|
||||
OriginalWidth=328
|
||||
OriginalHeight=140
|
||||
Visible=1
|
||||
AutoHide=0
|
||||
StoredAutoHide=0
|
||||
|
||||
471
codes/games/client/Edit/DocumentTypes/HTML.xml
Normal file
471
codes/games/client/Edit/DocumentTypes/HTML.xml
Normal file
@@ -0,0 +1,471 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<SynUniHighlighter Version="2.0">
|
||||
<SyntaxColoring>
|
||||
<Info>
|
||||
<General Name="HTML" Extensions="htm html asp" Version="1" Revision="0" Sample="<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
<!-- Styles example: -->
|
||||
<style>
|
||||
H1 {
|
||||
background-color :black;
|
||||
color : White;
|
||||
font-family : Arial, Helvetica, sans-serif;
|
||||
font : 9pt Arial;
|
||||
font-size : 9pt;}
|
||||
</style>
|
||||
<body bgcolor="#DDDDDD" onLoad ="checkowner()">
|
||||
<form method="POST" name="Form1">&nbsp;
|
||||
<div align="center"><center><table border="0" width="100%">
|
||||
<tr>
|
||||
<td><font size="1"></font></td>
|
||||
<script type="text/javascript" src="coolmenu.js"></script>
|
||||
<td align="right" valign="top"><font size="1"><input
|
||||
type="button" name="b2" value="&lt;&lt;Íàçà?quot;
|
||||
onclick="previous(Form1)"> <input type="button"
|
||||
name="b1" value="&lt;&lt;Íàçà?quot;
|
||||
onclick="next(Form1)"> </font></td>
|
||||
</tr>
|
||||
<!-- Javascript -->
|
||||
<script language="JavaScript">
|
||||
function checkowner()
|
||||
{
|
||||
try
|
||||
{
|
||||
if (parent.window.frames[1].name !="main")
|
||||
{
|
||||
window.document.location ="start.htm"
|
||||
}
|
||||
}
|
||||
catch(errorObject)
|
||||
/*from page1*/
|
||||
_child = new String;
|
||||
if (parent.window.frames[0].name=="f1")
|
||||
{
|
||||
return
|
||||
}//if (parent.window.frames[0].name=="f1")
|
||||
if (parseInt(_child) > _chcount)
|
||||
{
|
||||
_chcount = _chcount+1
|
||||
return
|
||||
}//if (_child != "0")
|
||||
else
|
||||
</script>
|
||||
<html>
|
||||
<!-- VBscript -->
|
||||
<SCRIPT LANGUAGE="VBScript">
|
||||
<!--
|
||||
Function CanDeliver(Dt)
|
||||
CanDeliver = (CDate(Dt) - Now()) > 2
|
||||
End Function
|
||||
-->
|
||||
</SCRIPT>
|
||||
<TITLE>Place Your Order</TITLE>
|
||||
<SCRIPT LANGUAGE="VBScript">
|
||||
<!--
|
||||
Function CanDeliver(Dt)
|
||||
CanDeliver = (CDate(Dt) - Now()) > 2
|
||||
End Function
|
||||
//Copyright?1998 Microsoft Corporation. All Rights Reserved.
|
||||
//**Start Encode**
|
||||
function verifyCorrectBrowser(){
|
||||
if(navigator.appName == "Microsoft Internet Explorert")
|
||||
if (navigator.appVersion.indexOf ("5.") >= 0)
|
||||
return(true);
|
||||
else
|
||||
return(false);
|
||||
}
|
||||
function getAppropriatePage(){
|
||||
var str4 = "would have been loaded.";
|
||||
if (verifyCorrectBrowser())
|
||||
document.write(str1 + str3 + str4);
|
||||
else
|
||||
document.write(str1 + str2 + str3 + str4);
|
||||
}
|
||||
-->
|
||||
</SCRIPT>
|
||||
|
||||
<!-- ASP (VB Script) -->
|
||||
<%
|
||||
Option Explicit
|
||||
Dim sql,rsRoot
|
||||
username = Request.Cookies("pb_username")
|
||||
'repliesdisplay alters amount of replies to display on page
|
||||
if recordnum = "" then recordnum = 0 end if
|
||||
id = Request.QueryString("id")
|
||||
%>
|
||||
<!--#include file="conn.asp"-->
|
||||
|
||||
|
||||
|
||||
" History=""/>
|
||||
<Author Name="Vitaly Nevzorov" Mail="nevzorov@yahoo.com" Web="www.delphist.com" Copyright="Copyright (c) Vitaly Nevzorov, 2002" Company="N/A" Remark=""/>
|
||||
</Info>
|
||||
<Schemes/>
|
||||
<Editor/>
|
||||
<MainRules Name="SyntaxColoring" Style="Root">
|
||||
<Attributes Foreground="clBlack" Background="clWhite"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<SubRules>
|
||||
<Range Name="HTML Tag" Style="">
|
||||
<Attributes Foreground="clBlack" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="<" Close=">"/>
|
||||
</MultiTokens>
|
||||
<SubRules>
|
||||
<Range Name="Values "..."" Style="">
|
||||
<Attributes Foreground="$00FF0080" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open=""" Close="""/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<Range Name="Values '...'" Style="">
|
||||
<Attributes Foreground="$00FF0080" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="'" Close="'"/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<KeyList Name="Standard Tags" Enabled="True" Style="" Words="html
|
||||
head
|
||||
meta
|
||||
body
|
||||
form
|
||||
div
|
||||
tr
|
||||
td
|
||||
center
|
||||
table
|
||||
font
|
||||
a
|
||||
abbr
|
||||
acronym
|
||||
address
|
||||
applet
|
||||
area
|
||||
b
|
||||
base
|
||||
basefont
|
||||
bdo
|
||||
big
|
||||
blockquote
|
||||
button
|
||||
cite
|
||||
br
|
||||
caption
|
||||
code
|
||||
dd
|
||||
dfn
|
||||
col
|
||||
colgroup
|
||||
dir
|
||||
dl
|
||||
dt
|
||||
em
|
||||
fieldset
|
||||
h2
|
||||
iframe
|
||||
h1
|
||||
i
|
||||
frame
|
||||
frameset
|
||||
h3
|
||||
h4
|
||||
h5
|
||||
h6
|
||||
hr
|
||||
ilayer
|
||||
img
|
||||
input
|
||||
isindex
|
||||
kbd
|
||||
label
|
||||
legend
|
||||
li
|
||||
link
|
||||
map
|
||||
noframes
|
||||
object
|
||||
p
|
||||
menu
|
||||
ol
|
||||
noscript
|
||||
optgroup
|
||||
option
|
||||
param
|
||||
pre
|
||||
q
|
||||
s
|
||||
samp
|
||||
select
|
||||
small
|
||||
span
|
||||
strike
|
||||
strong
|
||||
sub
|
||||
sup
|
||||
tbody
|
||||
text
|
||||
textarea
|
||||
tfoot
|
||||
th
|
||||
thead
|
||||
title
|
||||
tt
|
||||
ul
|
||||
u
|
||||
var
|
||||
style
|
||||
script
|
||||
">
|
||||
<Attributes Foreground="$00A00000" Background="clWhite" ParentBackground="True"/>
|
||||
</KeyList>
|
||||
<KeyList Name="Attributes" Enabled="True" Style="" Words="abbr
|
||||
|
||||
accept-charset
|
||||
accept
|
||||
accesskey
|
||||
action
|
||||
align
|
||||
alink
|
||||
alt
|
||||
archive
|
||||
axis
|
||||
background
|
||||
bgcolor
|
||||
border
|
||||
cellpadding
|
||||
cellspacing
|
||||
char
|
||||
charoff
|
||||
charset
|
||||
checked
|
||||
cite=
|
||||
class
|
||||
classid
|
||||
clear
|
||||
code=
|
||||
codebase
|
||||
codetype
|
||||
color
|
||||
cols
|
||||
colspan
|
||||
compact
|
||||
content
|
||||
coords
|
||||
data
|
||||
datetime
|
||||
declare
|
||||
defer
|
||||
dir=
|
||||
disabled
|
||||
enctype
|
||||
face
|
||||
for
|
||||
frame=
|
||||
frameborder
|
||||
headers
|
||||
height
|
||||
href
|
||||
hreflang
|
||||
hspace
|
||||
http-equiv
|
||||
id
|
||||
ismap
|
||||
label=
|
||||
lang
|
||||
language
|
||||
link
|
||||
longdesc
|
||||
mailto
|
||||
marginheight
|
||||
marginwidth
|
||||
maxlength
|
||||
media
|
||||
method
|
||||
multiple
|
||||
name
|
||||
nohref
|
||||
noresize
|
||||
noshade
|
||||
nowrap
|
||||
object=
|
||||
profile
|
||||
prompt
|
||||
readonly
|
||||
rel
|
||||
rev
|
||||
rows
|
||||
rowspan
|
||||
rules
|
||||
scheme
|
||||
scope
|
||||
scrolling
|
||||
selected
|
||||
shape
|
||||
size
|
||||
span=
|
||||
src
|
||||
standby
|
||||
start
|
||||
style=
|
||||
summary
|
||||
tabindex
|
||||
target
|
||||
text=
|
||||
title=
|
||||
type
|
||||
usemap
|
||||
valign
|
||||
value
|
||||
valuetype
|
||||
version
|
||||
vlink
|
||||
vspace
|
||||
width
|
||||
">
|
||||
<Attributes Foreground="clRed" Background="clWhite" ParentBackground="True"/>
|
||||
</KeyList>
|
||||
<KeyList Name="Standard Events" Enabled="True" Style="" Words="onblur
|
||||
onchange
|
||||
onclick
|
||||
ondblclick
|
||||
onfocus
|
||||
onkeydown
|
||||
onkeypress
|
||||
onkeyup
|
||||
onload
|
||||
onmousedown
|
||||
onmousemove
|
||||
onmouseout
|
||||
onmouseover
|
||||
onmouseup
|
||||
onreset
|
||||
onselect
|
||||
onsubmit
|
||||
onunload
|
||||
">
|
||||
<Attributes Foreground="clRed" Background="clWhite" ParentBackground="True"/>
|
||||
</KeyList>
|
||||
</SubRules>
|
||||
</Range>
|
||||
<Range Name="HTML Remarks" Style="">
|
||||
<Attributes Foreground="clGreen" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="<!--" Close="-->"/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<Range Name="Doc Type" Style="Doc Type">
|
||||
<Attributes Foreground="clBlack" Background="$0080FFFF"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="<!" Close=">"/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<Range Name="Include" Style="">
|
||||
<Attributes Foreground="$00A00000" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="<!--#include" Close="-->"/>
|
||||
</MultiTokens>
|
||||
<SubRules>
|
||||
<Range Name="Name" Style="">
|
||||
<Attributes Foreground="clRed" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open=""" Close="""/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
</SubRules>
|
||||
</Range>
|
||||
</SubRules>
|
||||
</MainRules>
|
||||
</SyntaxColoring>
|
||||
<CodeFolding>
|
||||
<SkipRegion>
|
||||
<Open Symbol="<!--"/>
|
||||
<Close Symbol="-->"/>
|
||||
<RegionType Type="1"/>
|
||||
</SkipRegion>
|
||||
<FoldRegion Name="Style" Type="1">
|
||||
<OpenToken Symbol="<STYLE"/>
|
||||
<CloseToken Symbol="</STYLE>"/>
|
||||
<Properties AllowNoSubs="True"/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
<FoldRegion Name="VB Script" Type="1">
|
||||
<OpenToken Symbol="<SCRIPT LANGUAGE="V"/>
|
||||
<CloseToken Symbol="</SCRIPT>"/>
|
||||
<Properties/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
<FoldRegion Name="Body" Type="1">
|
||||
<OpenToken Symbol="<BODY"/>
|
||||
<CloseToken Symbol="</BODY"/>
|
||||
<Properties/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
<FoldRegion Name="ASP" Type="1">
|
||||
<OpenToken Symbol="<%"/>
|
||||
<CloseToken Symbol="%>"/>
|
||||
<Properties AllowNoSubs="True"/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
<FoldRegion Name="Java Script" Type="1">
|
||||
<OpenToken Symbol="<SCRIPT LANGUAGE="J"/>
|
||||
<CloseToken Symbol="</SCRIPT>"/>
|
||||
<Properties AllowNoSubs="True"/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
<FoldRegion Name="Head" Type="1">
|
||||
<OpenToken Symbol="<HEAD"/>
|
||||
<CloseToken Symbol="</HEAD>"/>
|
||||
<Properties/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
<FoldRegion Name="Table" Type="1">
|
||||
<OpenToken Symbol="<TABLE"/>
|
||||
<CloseToken Symbol="</TABLE>"/>
|
||||
<Properties/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
<FoldRegion Name="{..}" Type="0">
|
||||
<OpenToken Symbol="{"/>
|
||||
<CloseToken Symbol="}"/>
|
||||
<Properties/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
</CodeFolding>
|
||||
<CustomData/>
|
||||
</SynUniHighlighter>
|
||||
186
codes/games/client/Edit/DocumentTypes/Java Script.xml
Normal file
186
codes/games/client/Edit/DocumentTypes/Java Script.xml
Normal file
@@ -0,0 +1,186 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<SynUniHighlighter Version="2.0">
|
||||
<SyntaxColoring>
|
||||
<Info>
|
||||
<General Name="Java script" Extensions="js" Version="1" Revision="0" Sample="// Syntax highlighting
|
||||
function printNumber()
|
||||
{
|
||||
var number = 1234;
|
||||
var x;
|
||||
document.write("The number is " + number);
|
||||
for (var i = 0; i <= number; i++)
|
||||
{
|
||||
x++;
|
||||
x--;
|
||||
x += 1.0;
|
||||
}
|
||||
i += @; // illegal character
|
||||
}
|
||||
body.onLoad = printNumber;
|
||||
|
||||
|
||||
|
||||
" History=""/>
|
||||
<Author Name="Vitaly Nevzorov" Mail="nevzorov@yahoo.com" Web="www.delphist.com" Copyright="Copyright (c) Vitaly Nevzorov, 2002" Company="N/A" Remark=""/>
|
||||
</Info>
|
||||
<Schemes/>
|
||||
<Editor/>
|
||||
<MainRules Name="SyntaxColoring" CaseSensitive="True" Style="Root">
|
||||
<Attributes Foreground="clBlack" Background="clWhite"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<SubRules>
|
||||
<Range Name="Remark //" CaseSensitive="True" Style="">
|
||||
<Attributes Foreground="clGreen" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties CloseOnEol="True"/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="//"/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<Range Name="Remark /*...*/" CaseSensitive="True" Style="">
|
||||
<Attributes Foreground="clGreen" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="/*" Close="*/"/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<Range Name="Strings "..."" CaseSensitive="True" Style="Strings">
|
||||
<Attributes Foreground="$008000FF" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open=""" Close="""/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<Range Name="Strings '...'" CaseSensitive="True" Style="Strings">
|
||||
<Attributes Foreground="$008000FF" Background="clWhite" ParentBackground="True"/>
|
||||
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
|
||||
<OpenToken StartLine=""/>
|
||||
<CloseToken StartLine=""/>
|
||||
<Properties/>
|
||||
<MultiTokens>
|
||||
<Tokens Open="'" Close="'"/>
|
||||
</MultiTokens>
|
||||
<SubRules/>
|
||||
</Range>
|
||||
<KeyList Name="Reserved words" Enabled="True" Style="" Words="if
|
||||
do
|
||||
in
|
||||
case
|
||||
NaN
|
||||
char
|
||||
catch
|
||||
break
|
||||
callee
|
||||
for
|
||||
else
|
||||
var
|
||||
new
|
||||
false
|
||||
int
|
||||
package
|
||||
long
|
||||
void
|
||||
delete
|
||||
byte
|
||||
enum
|
||||
class
|
||||
float
|
||||
this
|
||||
while
|
||||
goto
|
||||
double
|
||||
Null
|
||||
null
|
||||
with
|
||||
try
|
||||
public
|
||||
boolean
|
||||
true
|
||||
default
|
||||
debugger
|
||||
const
|
||||
native
|
||||
static
|
||||
start
|
||||
finally
|
||||
super
|
||||
short
|
||||
interface
|
||||
switch
|
||||
throw
|
||||
abstract
|
||||
typeof
|
||||
import
|
||||
extends
|
||||
private
|
||||
return
|
||||
export
|
||||
continue
|
||||
function
|
||||
throws
|
||||
instanceof
|
||||
protected
|
||||
transient
|
||||
implements
|
||||
prototype
|
||||
synchronized
|
||||
constructor
|
||||
final
|
||||
">
|
||||
<Attributes Foreground="clBlue" Background="clWhite" ParentBackground="True" Style="BI"/>
|
||||
</KeyList>
|
||||
<KeyList Name="Symbols" Enabled="True" Style="" Words="{
|
||||
}
|
||||
(
|
||||
)
|
||||
[
|
||||
]
|
||||
">
|
||||
<Attributes Foreground="clBlack" Background="clWhite" ParentForeground="True" ParentBackground="True" Style="B"/>
|
||||
</KeyList>
|
||||
<Set Name="Numbers" Enabled="True" Style="" Symbols="0123456789" Quantity="0">
|
||||
<Attributes Foreground="clRed" Background="clWhite" ParentBackground="True"/>
|
||||
</Set>
|
||||
</SubRules>
|
||||
</MainRules>
|
||||
</SyntaxColoring>
|
||||
<CodeFolding>
|
||||
<SkipRegion>
|
||||
<Open Symbol="/*"/>
|
||||
<Close Symbol="*/"/>
|
||||
<RegionType Type="1"/>
|
||||
</SkipRegion>
|
||||
<SkipRegion>
|
||||
<Open Symbol="//"/>
|
||||
<RegionType Type="2"/>
|
||||
</SkipRegion>
|
||||
<SkipRegion>
|
||||
<Open Symbol="'"/>
|
||||
<Close Symbol="'"/>
|
||||
<RegionType Type="0"/>
|
||||
</SkipRegion>
|
||||
<SkipRegion>
|
||||
<Open Symbol="""/>
|
||||
<Close Symbol="""/>
|
||||
<RegionType Type="0"/>
|
||||
</SkipRegion>
|
||||
<FoldRegion Name="{..}" Type="1">
|
||||
<OpenToken Symbol="{"/>
|
||||
<CloseToken Symbol="}"/>
|
||||
<Properties/>
|
||||
<SubRegions/>
|
||||
</FoldRegion>
|
||||
</CodeFolding>
|
||||
<CustomData/>
|
||||
</SynUniHighlighter>
|
||||
43
codes/games/client/Edit/DocumentTypes/js/autocp.js
Normal file
43
codes/games/client/Edit/DocumentTypes/js/autocp.js
Normal file
@@ -0,0 +1,43 @@
|
||||
[for{...} | ]
|
||||
for (|) {
|
||||
|
||||
}
|
||||
[fori{...} | ]
|
||||
for (var i = 0; i < |Things.length; i++) {
|
||||
Things[i]
|
||||
}
|
||||
[function{...} | ]
|
||||
function |function_name () {
|
||||
|
||||
};
|
||||
[func{...} | ]
|
||||
|function_name = function() {
|
||||
|
||||
};
|
||||
[if{...} | ]
|
||||
if (|) {
|
||||
|
||||
}
|
||||
[if{...}else{...} | ]
|
||||
if (|) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
[switch_case{...} | ]
|
||||
switch (|){
|
||||
case value:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
[while{...} | ]
|
||||
while (|) {
|
||||
|
||||
}
|
||||
[try{}catch(e) | ]
|
||||
try{
|
||||
|
|
||||
}catch(e){
|
||||
//TODO handle the exception
|
||||
}
|
||||
64
codes/games/client/Edit/DocumentTypes/js/keywords.js
Normal file
64
codes/games/client/Edit/DocumentTypes/js/keywords.js
Normal file
@@ -0,0 +1,64 @@
|
||||
if
|
||||
do
|
||||
in
|
||||
case
|
||||
NaN
|
||||
char
|
||||
catch
|
||||
break
|
||||
callee
|
||||
for
|
||||
else
|
||||
var
|
||||
new
|
||||
false
|
||||
int
|
||||
package
|
||||
long
|
||||
void
|
||||
delete
|
||||
byte
|
||||
enum
|
||||
class
|
||||
float
|
||||
this
|
||||
while
|
||||
goto
|
||||
double
|
||||
Null
|
||||
null
|
||||
with
|
||||
try
|
||||
public
|
||||
boolean
|
||||
true
|
||||
default
|
||||
debugger
|
||||
const
|
||||
native
|
||||
static
|
||||
start
|
||||
finally
|
||||
super
|
||||
short
|
||||
interface
|
||||
switch
|
||||
throw
|
||||
abstract
|
||||
typeof
|
||||
import
|
||||
extends
|
||||
private
|
||||
return
|
||||
export
|
||||
continue
|
||||
function
|
||||
throws
|
||||
instanceof
|
||||
protected
|
||||
transient
|
||||
implements
|
||||
prototype
|
||||
synchronized
|
||||
constructor
|
||||
final
|
||||
169
codes/games/client/Edit/Languages/Ch.ini
Normal file
169
codes/games/client/Edit/Languages/Ch.ini
Normal file
@@ -0,0 +1,169 @@
|
||||
[Language]
|
||||
Name=Chinese
|
||||
|
||||
[frmMain]
|
||||
actFileNew.Caption=新建
|
||||
actFileOpen.Caption=打开...
|
||||
actFileSave.Caption=保存
|
||||
actFileSaveAs.Caption=另存为...
|
||||
actFileSaveAll.Caption=全部保存
|
||||
actFileClose.Caption=关闭
|
||||
actFileCloseAll.Caption=全部关闭
|
||||
actFilePrint.Caption=打印...
|
||||
actFileExit.Caption=退出
|
||||
actFileMRUClear.Caption=清空文件列表
|
||||
actEditCut.Caption=剪切
|
||||
actEditCopy.Caption=复制
|
||||
actEditPaste.Caption=粘贴
|
||||
actEditDel.Caption=删除
|
||||
actEditDelLine.Caption=删除行
|
||||
actEditDelBol.Caption=删除至行首
|
||||
actEditDelEol.Caption=删除至行尾
|
||||
actEditSelAll.Caption=全选
|
||||
actEditSelLineBol.Caption=选择至行首
|
||||
actEditSelLineEol.Caption=选择至行尾
|
||||
actEditIndent.Caption=插入制表符
|
||||
actEditUnIndent.Caption=删除制表符
|
||||
actEditUndo.Caption=撤销
|
||||
actEditRedo.Caption=重做
|
||||
actEditBackWards.Caption=后退
|
||||
actEditForWards.Caption=前进
|
||||
actEditComment.Caption=添加/删除 注释
|
||||
actSearchFind.Caption=查找...
|
||||
actSearchFindNext.Caption=查找下一个
|
||||
actSearchReplace.Caption=替换...
|
||||
actSearchFindInFiles.Caption=在文件中查找
|
||||
actGoToLine.Caption=转到指定行...
|
||||
actToolOptions.Caption=设置...
|
||||
actCodeFormat.Caption=代码格式化
|
||||
actCodeToDefined.Caption=转到定义
|
||||
actProFilesOrd.Caption=文件加载顺序...
|
||||
actToolEncode.Caption=转换文本编码...
|
||||
actViewTools.Caption=工具栏
|
||||
actViewStatusBar.Caption=状态栏
|
||||
actViewProject.Caption=项目
|
||||
actViewScript.Caption=脚本
|
||||
actViewEngine.Caption=引擎
|
||||
actViewOutput.Caption=输出结果
|
||||
actViewFindOut.Caption=搜索结果
|
||||
actViewUncollapseAll.Caption=展开所有层
|
||||
actViewCollapseAll.Caption=折叠所有层
|
||||
|
||||
miFile.Caption=文件
|
||||
miFileRecentFiles.Caption=最近打开的文件
|
||||
miEdit.Caption=编辑
|
||||
miEditDel.Caption=删除
|
||||
miEditSel.Caption=选择
|
||||
miEditIndent.Caption=缩进
|
||||
miSearch.Caption=搜索
|
||||
miTools.Caption=工具
|
||||
miView.Caption=视图
|
||||
miWindowView.Caption=界面布局
|
||||
|
||||
dkPnlProject.Caption=项目
|
||||
dkPnlScript.Caption=脚本
|
||||
dkPnlEngine.Caption=引擎
|
||||
dkPnlOutput.Caption=输出结果
|
||||
dkPnlFindOut.Caption=搜索结果
|
||||
|
||||
[SearchDialog]
|
||||
tsFind.Caption=查找
|
||||
lblFind.Caption=查找项:
|
||||
btnFind.Caption=查找下一个
|
||||
tsReplace.Caption=替换
|
||||
lblReplace.Caption=替换项:
|
||||
btnReplace.Caption=替换下一个
|
||||
btnReplaceAll.Caption=全部替换
|
||||
tsFindInFile.Caption=文件中查找
|
||||
lblDir.Caption=目录:
|
||||
chkSubDir.Caption=包含子目录
|
||||
btnFindInFile.Caption=全部查找
|
||||
btnDir.Caption=...
|
||||
btnClose.Caption=取消
|
||||
gbConditions.Caption=选项
|
||||
chkWhole.Caption=全词匹配
|
||||
chkCase.Caption=区分大小写
|
||||
chkRegExp.Caption=正则表达式
|
||||
chkLoop.Caption=循环查找
|
||||
gbDirection.Caption=方向
|
||||
rbUp.Caption=向上
|
||||
rbDown.Caption=向下
|
||||
gbPosition.Caption=文件位置
|
||||
rbFileActive.Caption=当前打开
|
||||
rbFilesInDir.Caption=选择目录中
|
||||
rbFilesInProject.Caption=当前项目中
|
||||
rbFilesOpen.Caption=所有已打开
|
||||
|
||||
[OptionsDialog]
|
||||
Caption=设置
|
||||
tsGeneral.Caption=常规
|
||||
tsEditor.Caption=编辑
|
||||
tsKeyboard.Caption=键盘
|
||||
lblInterfaceLanguage.Caption=界面语言:
|
||||
lblDefDocumentType.Caption=默认文件类型:
|
||||
lblDefDocumentEncode.Caption=默认文件编码:
|
||||
gbGeneral.Caption=常用
|
||||
chkAutoIndent.Caption=自动缩进
|
||||
chkCodeFolding.Caption=代码折叠
|
||||
chkCodeFoldHint.Caption=显示折叠代码提示
|
||||
chkIndentGuides.Caption=显示折叠线
|
||||
chkMatchSymbol.Caption=符号自动匹配
|
||||
chkHighlightLine.Caption=高亮显示当前行
|
||||
chkSpecialCharacters.Caption=显示特殊字符
|
||||
chkTabsToSpaces.Caption=Tab转换为空格
|
||||
chkWordWrap.Caption=自动换行
|
||||
lblActiveLine.Caption=当前行高亮颜色:
|
||||
lblTabWidth.Caption=Tab宽度:
|
||||
chkDropEdit.Caption=允许拖动编辑
|
||||
chkDropFiles.Caption=允许外部文件拖放
|
||||
gbGutterMargin.Caption=行号栏及右边线
|
||||
chkShowGutter.Caption=显示行号栏
|
||||
chkShowRightMargin.Caption=显示右边缘线
|
||||
chkShowLineNumbers.Caption=显示行号
|
||||
lblRightMarginPos.Caption=右边缘线位置:
|
||||
lblGutterColor.Caption=行号栏背景:
|
||||
lblFoldingButton.Caption=折叠按钮样式:
|
||||
lblFoldingBarColor.Caption=折叠栏背景:
|
||||
lblFoldingLinesColor.Caption=折叠线颜色:
|
||||
gbKeyboard.Caption=快捷键
|
||||
chkCtrl.Caption=Ctrl
|
||||
chkShift.Caption=Shift
|
||||
chkAlt.Caption=Alt
|
||||
btnOK.Caption=保存
|
||||
btnCancel.Caption=关闭
|
||||
btnRecovery.Caption=还原默认
|
||||
|
||||
[FileListDialog]
|
||||
Caption=调整文件加载顺序
|
||||
lblTip.Caption=拖动文件调整加载顺序
|
||||
btnSave.Caption=保存
|
||||
btnCancel.Caption=取消
|
||||
|
||||
[EncodeDialog]
|
||||
Caption=转换文本编码
|
||||
lblSetEncode.Caption=选择编码方式:
|
||||
btnOK.Caption=确定
|
||||
btnCancel.Caption=取消
|
||||
|
||||
[GoToLineDialog]
|
||||
Caption=转到指定行
|
||||
lblGoTo.Caption=请输入行号:
|
||||
btnOK.Caption=确定
|
||||
btnCancel.Caption=取消
|
||||
|
||||
[Strings]
|
||||
String0=更改
|
||||
String1=插入
|
||||
String2=覆盖
|
||||
String3=只读
|
||||
String4=大写锁定
|
||||
String5=小键盘锁定
|
||||
String6=<Unknown>
|
||||
String7=new%d
|
||||
String8=文件不存在:"%s"
|
||||
String9=提示
|
||||
String10=是否保存对 "%s" 的修改?
|
||||
String11=没有找到字符串:"%s"
|
||||
String12="%s" 已标识为只读
|
||||
String13=字体: %s, %d
|
||||
String14=搜索 "%s" : %d个结果
|
||||
174
codes/games/client/Edit/Settings.ini
Normal file
174
codes/games/client/Edit/Settings.ini
Normal file
@@ -0,0 +1,174 @@
|
||||
[Editor]
|
||||
ActiveLineColor=$00C0C0C0
|
||||
AutoIndent=1
|
||||
CodeFolding=0
|
||||
CodeFoldHint=1
|
||||
ExtraLineSpacing=0
|
||||
FontName=Consolas
|
||||
FontSize=14
|
||||
GroupUndo=1
|
||||
GutterColor=$20000000
|
||||
HighlightActiveLine=1
|
||||
HighlightIndentGuides=1
|
||||
InsertCaret=0
|
||||
InsertMode=1
|
||||
LeadingZeros=0
|
||||
MaxUndo=1024
|
||||
OverwriteCaret=3
|
||||
RightMarginPosition=80
|
||||
ScrollPastEOF=0
|
||||
ScrollPastEOL=0
|
||||
ShowGutter=1
|
||||
ShowIndentGuides=1
|
||||
ShowLineNumbers=1
|
||||
ShowRightMargin=0
|
||||
ShowSpecialChars=0
|
||||
TabWidth=4
|
||||
TabsToSpaces=0
|
||||
TrimTrailingSpaces=0
|
||||
WordWrap=0
|
||||
ZeroStart=0
|
||||
FoldingButtonStyle=0
|
||||
ShowLeadingZeros=0
|
||||
FoldingBarColor=$20000000
|
||||
FoldingBarLinesColor=$20000000
|
||||
EnhanceHomeKey=0
|
||||
DragDropEditing=1
|
||||
DropFiles=1
|
||||
TabIndent=1
|
||||
MatchSymbol=1
|
||||
|
||||
[EditorFonts]
|
||||
FontName1=Courier New
|
||||
FontSize1=10
|
||||
FontName2=Courier
|
||||
FontSize2=10
|
||||
FontName3=Terminal
|
||||
FontSize3=9
|
||||
FontName4=Lucida Console
|
||||
FontSize4=9
|
||||
FontName5=Fixedsys
|
||||
FontSize5=9
|
||||
|
||||
[Filters]
|
||||
Filter0=Any file (*.*)|*.*|
|
||||
Filter1=JavaScript (*.js)|*.js|
|
||||
Filter2=HTML (*.htm;*.html)|*.htm;*.html|
|
||||
|
||||
[General]
|
||||
ActiveLanguage=Chinese
|
||||
DefaultDocumentType=0
|
||||
DefaultDocumentEncode=4
|
||||
MRUFilesCount=10
|
||||
|
||||
[Keyboard]
|
||||
actFileNew=Ctrl+N
|
||||
actFileOpen=Ctrl+O
|
||||
actFileSave=Ctrl+S
|
||||
actFileSaveAs=
|
||||
actFileSaveAll=Shift+Ctrl+S
|
||||
actFileClose=Ctrl+W
|
||||
actFileCloseAll=Shift+Ctrl+W
|
||||
actFilePrint=Ctrl+P
|
||||
actFileExit=
|
||||
actEditCut=Ctrl+X
|
||||
actEditCopy=Ctrl+C
|
||||
actEditPaste=Ctrl+V
|
||||
actEditDel=Del
|
||||
actEditDelLine=Ctrl+Y
|
||||
actEditDelBol=Shift+BkSp
|
||||
actEditDelEol=Shift+Del
|
||||
actEditSelAll=Ctrl+A
|
||||
actEditSelLineBol=Shift+Home
|
||||
actEditSelLineEol=Shift+End
|
||||
actEditIndent=Tab
|
||||
actEditUnIndent=Shift+Tab
|
||||
actEditUndo=Ctrl+Z
|
||||
actEditRedo=Shift+Ctrl+Z
|
||||
actEditBackWards=
|
||||
actEditForWards=
|
||||
actEditComment=Ctrl+Q
|
||||
actSearchFind=Ctrl+F
|
||||
actSearchFindNext=F3
|
||||
actSearchReplace=Ctrl+H
|
||||
actSearchFindInFiles=Shift+Ctrl+F
|
||||
actToolOptions=
|
||||
actCodeFormat=Ctrl+D
|
||||
actCodeToDefined=
|
||||
actProFilesOrd=
|
||||
actViewTools=
|
||||
actViewStatusBar=
|
||||
actViewProject=
|
||||
actViewScript=
|
||||
actViewEngine=
|
||||
actViewOutput=
|
||||
actViewFindOut=
|
||||
actViewUncollapseAll=
|
||||
actViewCollapseAll=
|
||||
actToolEncode=
|
||||
actGoToLine=
|
||||
|
||||
[DocumentTypes]
|
||||
DocumentTypeName0=JavaScript
|
||||
DocumentTypeExtensions0=.js
|
||||
DocumentTypeSyntaxFile0=Java Script.xml
|
||||
DocumentTypeAutoCPFile0=js\autocp.js
|
||||
DocumentTypeKeyWordsFile0=js\keywords.js
|
||||
DocumentTypeFunctionRegExp0=^function([\x20\t]*)[A-Za-z]+[A-Za-z0-9_]*\([^)]*\)
|
||||
DocumentTypeName1=HTML
|
||||
DocumentTypeExtensions1=.html;.htm
|
||||
DocumentTypeSyntaxFile1=HTML.xml
|
||||
DocumentTypeAutoCPFile1=
|
||||
DocumentTypeKeyWordsFile1=
|
||||
DocumentTypeFunctionRegExp1=
|
||||
|
||||
[MRUFiles]
|
||||
MRUItem1=G:\Works\YouleGames\games\games\Projects\clinet\gamehall\js\gamemain.js
|
||||
MRUItem2=G:\Works\YouleGames\games\games\Projects\clinet\zpy\js\gamemain.js
|
||||
MRUItem3=G:\Works\YouleGames\games\games\Projects\Project1\js\gamemain.js
|
||||
MRUItem4=G:\Works\YouleGames\games\games\Projects\clinet\sangelaok\js\gamemain.js
|
||||
MRUItem5=G:\Works\YouleGames\games\games\Projects\clinet\niuniu\js\gamemain.js
|
||||
MRUItem6=G:\Works\YouleGames\games\games\Projects\clinet\guanpai-jx\js\gamemain.js
|
||||
MRUItem7=G:\Works\YouleGames\games\games\Projects\clinet\doudizhu\js\gamemain.js
|
||||
MRUItem8=G:\Works\JinXianProjects\JinXianMahjong\Projects\client\js\gamemain.js
|
||||
MRUItem9=G:\Works\JinXianProjects\JinXianMahjong\Projects\Project1\js\gamemain.js
|
||||
MRUItem10=G:\Works\JinXianProjects\JinXianMahjong\Projects\client\js\client_Event.js
|
||||
|
||||
[MRUFindText]
|
||||
MRUItem1=ÅäÖÃ
|
||||
MRUItem2=GameData.sysConfig
|
||||
MRUItem3=sysConfig.deviceLogin
|
||||
MRUItem4=3254
|
||||
MRUItem5=3253
|
||||
MRUItem6=ÊÖ»ú
|
||||
MRUItem7=.PlayerList
|
||||
MRUItem8=Desk.PlayerList
|
||||
MRUItem9=GameUI.updatePlayerInfoUI
|
||||
MRUItem10=Func.SwitchOverGameData
|
||||
MRUItem11=SwitchOverGameData
|
||||
MRUItem12=1405
|
||||
MRUItem13=selectCard
|
||||
MRUItem14=select
|
||||
MRUItem15=updateJushuKouka
|
||||
MRUItem16=Game_Modify.CreateRoomData.Type_9
|
||||
MRUItem17=Game_Modify.Type_1
|
||||
MRUItem18=Game_Modify.CreateRoomData.Type_2
|
||||
MRUItem19=GameData.gameConfig
|
||||
MRUItem20=game_config
|
||||
|
||||
[MRUFReplaceText]
|
||||
|
||||
[MRUFindDirs]
|
||||
|
||||
[SearchDialog]
|
||||
chkWhole.Check=0
|
||||
chkCase.Check=0
|
||||
chkRegExp.Check=0
|
||||
chkLoop.Check=1
|
||||
rbUp.Check=0
|
||||
rbDown.Check=1
|
||||
chkSubDir.Check=0
|
||||
rbFileActive.Check=0
|
||||
rbFilesOpen.Check=0
|
||||
rbFilesInProject.Check=1
|
||||
rbFilesInDir.Check=0
|
||||
144
codes/games/client/Edit/SettingsDefault.ini
Normal file
144
codes/games/client/Edit/SettingsDefault.ini
Normal file
@@ -0,0 +1,144 @@
|
||||
[Editor]
|
||||
ActiveLineColor=$00F2EAEF
|
||||
AutoIndent=1
|
||||
CodeFolding=0
|
||||
CodeFoldHint=1
|
||||
ExtraLineSpacing=0
|
||||
FontName=Courier New
|
||||
FontSize=10
|
||||
GroupUndo=1
|
||||
GutterColor=$20000000
|
||||
HighlightActiveLine=1
|
||||
HighlightIndentGuides=1
|
||||
InsertCaret=0
|
||||
InsertMode=1
|
||||
LeadingZeros=0
|
||||
MaxUndo=1024
|
||||
OverwriteCaret=3
|
||||
RightMarginPosition=80
|
||||
ScrollPastEOF=0
|
||||
ScrollPastEOL=0
|
||||
ShowGutter=1
|
||||
ShowIndentGuides=1
|
||||
ShowLineNumbers=1
|
||||
ShowRightMargin=0
|
||||
ShowSpecialChars=0
|
||||
TabWidth=4
|
||||
TabsToSpaces=0
|
||||
TrimTrailingSpaces=0
|
||||
WordWrap=0
|
||||
ZeroStart=0
|
||||
FoldingButtonStyle=0
|
||||
ShowLeadingZeros=0
|
||||
FoldingBarColor=$20000000
|
||||
FoldingBarLinesColor=$20000000
|
||||
EnhanceHomeKey=0
|
||||
DragDropEditing=1
|
||||
DropFiles=1
|
||||
TabIndent=1
|
||||
MatchSymbol=1
|
||||
|
||||
[EditorFonts]
|
||||
FontName1=Courier New
|
||||
FontSize1=10
|
||||
FontName2=Courier
|
||||
FontSize2=10
|
||||
FontName3=Terminal
|
||||
FontSize3=9
|
||||
FontName4=Lucida Console
|
||||
FontSize4=9
|
||||
FontName5=Fixedsys
|
||||
FontSize5=9
|
||||
|
||||
[Filters]
|
||||
Filter0=Any file (*.*)|*.*|
|
||||
Filter1=JavaScript (*.js)|*.js|
|
||||
Filter2=HTML (*.htm;*.html)|*.htm;*.html|
|
||||
|
||||
[General]
|
||||
ActiveLanguage=Chinese
|
||||
DefaultDocumentType=0
|
||||
DefaultDocumentEncode=4
|
||||
MRUFilesCount=10
|
||||
|
||||
[Keyboard]
|
||||
actFileNew=Ctrl+N
|
||||
actFileOpen=Ctrl+O
|
||||
actFileSave=Ctrl+S
|
||||
actFileSaveAs=
|
||||
actFileSaveAll=Shift+Ctrl+S
|
||||
actFileClose=Ctrl+W
|
||||
actFileCloseAll=Shift+Ctrl+W
|
||||
actFilePrint=Ctrl+P
|
||||
actFileExit=
|
||||
actEditCut=Ctrl+X
|
||||
actEditCopy=Ctrl+C
|
||||
actEditPaste=Ctrl+V
|
||||
actEditDel=Del
|
||||
actEditDelLine=Ctrl+Y
|
||||
actEditDelBol=Shift+BkSp
|
||||
actEditDelEol=Shift+Del
|
||||
actEditSelAll=Ctrl+A
|
||||
actEditSelLineBol=Shift+Home
|
||||
actEditSelLineEol=Shift+End
|
||||
actEditIndent=Tab
|
||||
actEditUnIndent=Shift+Tab
|
||||
actEditUndo=Ctrl+Z
|
||||
actEditRedo=Shift+Ctrl+Z
|
||||
actEditBackWards=
|
||||
actEditForWards=
|
||||
actEditComment=Ctrl+Q
|
||||
actSearchFind=Ctrl+F
|
||||
actSearchFindNext=F3
|
||||
actSearchReplace=Ctrl+H
|
||||
actSearchFindInFiles=Shift+Ctrl+F
|
||||
actToolOptions=
|
||||
actCodeFormat=Ctrl+D
|
||||
actCodeToDefined=
|
||||
actProFilesOrd=
|
||||
actViewTools=
|
||||
actViewStatusBar=
|
||||
actViewProject=
|
||||
actViewScript=
|
||||
actViewEngine=
|
||||
actViewOutput=
|
||||
actViewFindOut=
|
||||
actViewUncollapseAll=
|
||||
actViewCollapseAll=
|
||||
actToolEncode=
|
||||
actGoToLine=
|
||||
|
||||
[DocumentTypes]
|
||||
DocumentTypeName0=JavaScript
|
||||
DocumentTypeExtensions0=.js
|
||||
DocumentTypeSyntaxFile0=Java Script.xml
|
||||
DocumentTypeAutoCPFile0=js\autocp.js
|
||||
DocumentTypeKeyWordsFile0=js\keywords.js
|
||||
DocumentTypeFunctionRegExp0=^function([\x20\t]*)[A-Za-z]+[A-Za-z0-9_]*\([^)]*\)
|
||||
DocumentTypeName1=HTML
|
||||
DocumentTypeExtensions1=.html;.htm
|
||||
DocumentTypeSyntaxFile1=HTML.xml
|
||||
DocumentTypeAutoCPFile1=
|
||||
DocumentTypeKeyWordsFile1=
|
||||
DocumentTypeFunctionRegExp1=
|
||||
|
||||
[MRUFiles]
|
||||
|
||||
[MRUFindText]
|
||||
|
||||
[MRUFReplaceText]
|
||||
|
||||
[MRUFindDirs]
|
||||
|
||||
[SearchDialog]
|
||||
chkWhole.Check=0
|
||||
chkCase.Check=0
|
||||
chkRegExp.Check=0
|
||||
chkLoop.Check=1
|
||||
rbUp.Check=1
|
||||
rbDown.Check=0
|
||||
chkSubDir.Check=0
|
||||
rbFileActive.Check=0
|
||||
rbFilesOpen.Check=0
|
||||
rbFilesInProject.Check=1
|
||||
rbFilesInDir.Check=0
|
||||
1
codes/games/client/Edit/Sprite.js
Normal file
1
codes/games/client/Edit/Sprite.js
Normal file
@@ -0,0 +1 @@
|
||||
//精灵事件单元...
|
||||
163
codes/games/client/Edit/gameabc_face.js
Normal file
163
codes/games/client/Edit/gameabc_face.js
Normal file
@@ -0,0 +1,163 @@
|
||||
var gameabc_face = gameabc_face||{};
|
||||
{
|
||||
gameabc_face.tag=12; //定义你的游戏全局内存
|
||||
gameabc_face.tag1=123;//定义你的游戏全局内存
|
||||
gameabc_face.tag2=123;//定义你的游戏全局内存
|
||||
gameabc_face.tag3=123;//定义你的游戏全局内存
|
||||
}
|
||||
|
||||
gameabc_face.gamestart=function(gameid)
|
||||
{
|
||||
//游戏初始化代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.ani_doend=function(id,sx,count,allend)
|
||||
{
|
||||
logmessage(id+"/"+sx+"/"+count+"/"+allend);
|
||||
//play_ani(0,2,18,50,200,0,1000,0,0,0,0,6000,1);//主动关闭
|
||||
};
|
||||
|
||||
gameabc_face.box_doend=function(id,sx,timelen)
|
||||
{
|
||||
//play_box 结束事件
|
||||
//showmessage("box_doend:"+id+"/"+sx+"/"+timelen);
|
||||
logmessage("box_doend:"+id+"/"+sx+"/"+timelen);
|
||||
};
|
||||
|
||||
gameabc_face.onloadurl1=function(recid,rectype,url,error,count,len)
|
||||
{
|
||||
//修改为gameabc_face.onloadurl 则自己处理图片加载进度
|
||||
//资源加载完成函数
|
||||
//recid:资源id
|
||||
//rectype:1 图片 2声音
|
||||
//url :网络地址
|
||||
//error:是否加载错误
|
||||
//len:资源大小
|
||||
//count:加载的个数百分比
|
||||
|
||||
logmessage("onload:"+recid+"/"+rectype+"/"+count+"/"+error);
|
||||
|
||||
/*
|
||||
if (rectype==0)
|
||||
{
|
||||
open_load("","1.mp3","");
|
||||
gameabc_face.randombase=0;//使用系统浏览器缓存
|
||||
}
|
||||
|
||||
if (count==100)
|
||||
{
|
||||
game_close_zsmsg("");
|
||||
|
||||
} else
|
||||
{
|
||||
game_open_zsmsg(count+"%"+" 加载中...");
|
||||
};
|
||||
*/
|
||||
};
|
||||
|
||||
gameabc_face.chongzhi=function(userid,zt,data)
|
||||
{
|
||||
//游戏接口代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.onresize=function(pmw/*屏幕宽*/,pmh/*屏幕宽*/,sjweww/*设计宽*/,sjnewh/*设计宽*/,nweww/*显示宽*/,newh/*显示高*/)
|
||||
{
|
||||
|
||||
//屏幕变化
|
||||
// 在此调整 列表控件的宽高和区域 不是整体缩放
|
||||
logmessage("onresize:"+pmw+"/"+pmh+"/"+sjweww+"/"+sjnewh+"/"+nweww+"/"+newh);
|
||||
};
|
||||
|
||||
gameabc_face.gamebegindraw=function(gameid, spid, times, timelong)
|
||||
{
|
||||
//更新开始代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.gameenddraw=function(gameid, spid, times, timelong)
|
||||
{
|
||||
//更新完成代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.mousedown=function(gameid, spid, downx, downy, no1, no2, no3, no4, no5, no6)
|
||||
{
|
||||
//点击代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.mousedown_nomove=function(gameid, spid, downx, downy, timelong, no1, no2, no3, no4, no5)
|
||||
{
|
||||
//点击代没移动代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.mouseup=function(gameid, spid_down, downx, downy, spid_up, upx, upy, timelong, no1, no2)
|
||||
{
|
||||
//点击弹起代码
|
||||
//可以通过spid_down和spid_up 的比较 来判断是 点击还是 移动
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.mousemove=function(gameid, spid, downx, downy, movex,movey ,timelong,offmovex, offmovey, no1)
|
||||
{
|
||||
//点击后移动代码
|
||||
//set_self(spid,18,offmovex,1,0);
|
||||
//set_self(spid,19,offmovey,1,0);
|
||||
};
|
||||
|
||||
gameabc_face.gamemydraw=function(gameid, spid, times, timelong, no2, no3, no4, no5, no6, no7)
|
||||
{
|
||||
//每个精灵更新绘画代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.gamemydrawbegin=function(gameid, spid, times, timelong, no2, no3, no4, no5, no6, no7)
|
||||
{
|
||||
//每个精灵更新前绘画代码
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.ontimer= function(gameid, spid, /* 本次间隔多少次了 */ times, /* 本次间隔多久 */ timelong,/* 开启后运行多少次了 */ alltimes){
|
||||
/*请在下面输入您的代码
|
||||
*/
|
||||
//set_self(1,18,5,1,0);
|
||||
|
||||
} ;
|
||||
|
||||
gameabc_face.tcpconnected=function(tcpid)
|
||||
{
|
||||
/*
|
||||
ifast_tcp_open(1,"127.0.0.1:5414");//连接ws tcp
|
||||
*/
|
||||
logmessage("tcpopen:"+tcpid);
|
||||
|
||||
};
|
||||
gameabc_face.tcpmessage=function(tcpid,data)
|
||||
{
|
||||
logmessage("tcpread:"+data);
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.tcpdisconnected=function(tcpid)
|
||||
{
|
||||
logmessage("tcpclose:"+tcpid);
|
||||
|
||||
|
||||
};
|
||||
gameabc_face.tcperror=function(tcpid,data)
|
||||
{
|
||||
logmessage("tcperror:"+tcpid);
|
||||
|
||||
};
|
||||
|
||||
gameabc_face.httpmessage=function(myid,url,data)
|
||||
{
|
||||
/*
|
||||
ifast_http(1,"web/test.txt",1);//获取文件 同域
|
||||
*/
|
||||
logmessage("httpread:"+myid+"/"+url+":"+data);
|
||||
|
||||
};
|
||||
1252
codes/games/client/Edit/gameabc_func.js
Normal file
1252
codes/games/client/Edit/gameabc_func.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user