Skip to content

Commit 56a6123

Browse files
committed
Remake all starting from the latest version of the example
1 parent db2fc68 commit 56a6123

File tree

8 files changed

+2051
-1543
lines changed

8 files changed

+2051
-1543
lines changed

chessboard.pas

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
program chessboard;
33

44
{$mode objfpc}{$h+}
5-
{$ifdef mswindows}
6-
{$apptype gui}
7-
{$endif}
5+
{$ifdef mswindows}{$apptype gui}{$endif}
86

97
uses
108
{$ifdef unix}
119
cthreads,
12-
{$endif}
10+
{$endif}
1311
msegui, main;
14-
12+
1513
begin
1614
application.createform(tmainfo, mainfo);
1715
application.run;

chessboard.prj

Lines changed: 57 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,9 @@ order14=0
1717
order15=0
1818
order16=0
1919
[projectoptions]
20-
projectdir=/C:/Roland/pascal/echecs/msegui/chessboard-202002041338
21-
projectfilename=/C:/Roland/pascal/echecs/msegui/chessboard-202002041338/chessboard.prj
22-
finddialog=8
23-
[finddialogfo.selectedonly]
24-
value=0
25-
[finddialogfo]
26-
stackedunder=
27-
x=319
28-
y=205
29-
cx=371
30-
cy=93
31-
options=133
20+
projectdir=/C:/Roland/pascal/echecs/msegui/chessboard-202002110447
21+
projectfilename=/C:/Roland/pascal/echecs/msegui/chessboard-202002110447/chessboard.prj
22+
options=131
3223
[projectoptionsfo.toolshortcuts]
3324
dropdowncolwidths=3
3425
70
@@ -107,8 +98,7 @@ options=133
10798
sortdescend7=0
10899
[projectoptionsfo.makeoptionsgrid]
109100
propcolwidthref=739
110-
values0=5
111-
101+
values0=4
112102

113103

114104

@@ -122,11 +112,10 @@ options=133
122112
sortdescend5=0
123113
sortdescend6=0
124114
sortdescend7=0
125-
values8=5
115+
values8=4
126116
-Xg -l -Mobjfpc -Sh -Fcutf8
127117
-gl -O-
128118
-B
129-
-dDEBUG
130119
-O2 -XX -Xs -CX
131120
sortdescend8=0
132121
[projectoptionsfo.makegroupbox]
@@ -158,8 +147,8 @@ options=133
158147
index=2
159148
[projectoptionsfo]
160149
stackedunder=
161-
x=225
162-
y=87
150+
x=302
151+
y=109
163152
cx=832
164153
cy=581
165154
sourcefilemasks=3
@@ -268,8 +257,8 @@ targetfile=${PROJECTNAME}${EXEEXT}
268257
makecommand=${COMPILER}
269258
makedir=
270259
unitdirs=5
271-
./library/chess
272-
./library
260+
library/chess
261+
library
273262
${MSEDIR}lib/addon/*/
274263
${MSELIBDIR}kernel/$TARGETOSDIR/
275264
${MSELIBDIR}*/
@@ -280,25 +269,22 @@ objpref=-Fo
280269
targpref=-o
281270
befcommand=0
282271
aftcommand=0
283-
makeoptions=5
272+
makeoptions=4
284273
-Xg -l -Mobjfpc -Sh -Fcutf8
285274
-gl -O-
286275
-B
287-
-dDEBUG
288276
-O2 -XX -Xs -CX
289277
reversepathorder=0
290-
makeoptpurpose=5
291-
278+
makeoptpurpose=4
292279

293280

294281

295282

296283
befcommandon=0
297-
makeoptionson=5
284+
makeoptionson=4
298285
63
299286
31
300287
34
301-
28
302288
32
303289
aftcommandon=0
304290
unitdirson=5
@@ -535,7 +521,7 @@ modulenames=1
535521
moduletypes=1
536522
TMAINFO
537523
modulefiles=1
538-
/C:/Roland/pascal/echecs/msegui/chessboard-202002041338/main.mfm
524+
/C:/Roland/pascal/echecs/msegui/chessboard-202002110447/main.mfm
539525
macrogroup=0
540526
forcezorder=0
541527
stripmessageesc=0
@@ -614,41 +600,35 @@ envvarons=0
614600
[edit]
615601
hintwidth=0
616602
hintheight=0
617-
finddtext=pieceimage
618-
findhistory=1
619-
pieceimage
603+
finddtext=
604+
findhistory=0
620605
findoptions=1
621-
editpos=3
622-
4,234
623-
0,-1073741823
624-
0,-1073741823
606+
editpos=2
607+
17,80
608+
22,17
625609
bookmarks0=0
626610
bookmarks1=0
627-
bookmarks2=0
628-
sourcefiles=3
629-
/C:/Roland/pascal/echecs/msegui/chessboard-202002041338/main.pas
630-
/C:/Roland/pascal/echecs/msegui/chessboard-20200204/chessboard.pas
631-
/C:/Roland/pascal/echecs/msegui/chessboard-20200204/rules.pas
632-
relpaths=3
611+
sourcefiles=2
612+
/C:/Roland/pascal/echecs/msegui/chessboard-202002110447/main.pas
613+
/C:/Roland/pascal/echecs/msegui/chessboard-202002110447/rules.pas
614+
relpaths=2
633615
main.pas
634-
chessboard.pas
635616
rules.pas
636-
ismoduletexts=3
637-
0
617+
ismoduletexts=2
638618
0
639619
0
640620
modules=1
641-
/C:/Roland/pascal/echecs/msegui/chessboard-202002041338/main.mfm
621+
/C:/Roland/pascal/echecs/msegui/chessboard-202002110447/main.mfm
642622
moduleoptions=1
643623
0
644624
visiblemodules=1
645625
-1
646626
nomenumodules=1
647627
0
648628
[sourcefo.tabwidget]
649-
tabsize=60
629+
tabsize=114
650630
firsttab=0
651-
index=0
631+
index=1
652632
[layout]
653633
windowlayout=568
654634
[mainfo.openform]
@@ -692,7 +672,7 @@ windowlayout=568
692672
ncx=0
693673
ncy=0
694674
x=8
695-
y=31
675+
y=116
696676
cx=323
697677
cy=64
698678
rcx=0
@@ -904,32 +884,32 @@ windowlayout=568
904884
[objectinspectorfo]
905885
splitdir=0
906886
useroptions=268451947
907-
stackedunder=_mse_mainfo_mse_
887+
stackedunder=mainfo
908888
parent=
909889
mdistate=0
910890
nx=0
911891
ny=0
912892
ncx=0
913893
ncy=0
914-
x=951
915-
y=98
916-
cx=296
917-
cy=566
894+
x=1087
895+
y=117
896+
cx=276
897+
cy=605
918898
rcx=0
919899
rcy=0
920900
wsize=0
921901
active=0
922902
visible=1
923903
[objectinspectorfo.grid]
924-
propcolwidthref=286
925-
width0=105
904+
propcolwidthref=266
905+
width0=99
926906
sortdescend0=0
927-
width1=175
907+
width1=161
928908
sortdescend1=0
929909
[symbolfo]
930910
splitdir=0
931911
useroptions=268451963
932-
stackedunder=breakpointsfo
912+
stackedunder=mainfo.panel2
933913
parent=
934914
mdistate=0
935915
nx=0
@@ -1017,15 +997,15 @@ windowlayout=568
1017997
ncx=0
1018998
ncy=0
1019999
x=0
1020-
y=510
1000+
y=500
10211001
cx=675
10221002
cy=95
10231003
rcx=675
1024-
rcy=605
1004+
rcy=595
10251005
[componentstorefo]
10261006
splitdir=0
10271007
useroptions=268460155
1028-
stackedunder=targetconsolefo
1008+
stackedunder=projecttreefo
10291009
parent=
10301010
mdistate=0
10311011
nx=0
@@ -1088,17 +1068,17 @@ windowlayout=568
10881068
[componentpalettefo]
10891069
splitdir=0
10901070
useroptions=268460139
1091-
stackedunder=mainfo
1071+
stackedunder=mainfo.panel1
10921072
parent=
10931073
mdistate=0
10941074
nx=0
10951075
ny=0
10961076
ncx=0
10971077
ncy=0
1098-
x=335
1099-
y=31
1100-
cx=685
1101-
cy=103
1078+
x=8
1079+
y=33
1080+
cx=1350
1081+
cy=50
11021082
rcx=0
11031083
rcy=0
11041084
wsize=0
@@ -1135,7 +1115,7 @@ windowlayout=568
11351115
x=0
11361116
y=0
11371117
cx=675
1138-
cy=605
1118+
cy=595
11391119
rcx=0
11401120
rcy=0
11411121
[actionsmo.watchesonact]
@@ -1146,9 +1126,9 @@ windowlayout=568
11461126
irqoff=0
11471127
splitdir=0
11481128
useroptions=268451947
1149-
stackedunder=projecttreefo
1129+
stackedunder=breakpointsfo
11501130
parent=
1151-
mdistate=0
1131+
mdistate=3
11521132
nx=0
11531133
ny=0
11541134
ncx=0
@@ -1165,17 +1145,17 @@ windowlayout=568
11651145
[mainfo.panel1]
11661146
splitdir=2
11671147
useroptions=302022123
1168-
stackedunder=componentpalettefo
1148+
stackedunder=_mse_mainfo_mse_
11691149
parent=
11701150
mdistate=0
11711151
nx=0
11721152
ny=0
11731153
ncx=0
11741154
ncy=0
1175-
x=479
1176-
y=82
1155+
x=398
1156+
y=117
11771157
cx=685
1178-
cy=605
1158+
cy=595
11791159
rcx=0
11801160
rcy=0
11811161
wsize=0
@@ -1184,7 +1164,7 @@ windowlayout=568
11841164
[mainfo.panel2]
11851165
splitdir=2
11861166
useroptions=302022123
1187-
stackedunder=objectinspectorfo
1167+
stackedunder=componentpalettefo
11881168
parent=
11891169
mdistate=0
11901170
nx=0
@@ -1203,17 +1183,17 @@ windowlayout=568
12031183
[_mse_mainfo_mse_]
12041184
splitdir=0
12051185
useroptions=268451963
1206-
stackedunder=mainfo.panel1
1186+
stackedunder=objectinspectorfo
12071187
parent=
12081188
mdistate=3
12091189
nx=0
12101190
ny=0
12111191
ncx=0
12121192
ncy=0
1213-
x=26
1214-
y=149
1215-
cx=392
1216-
cy=440
1193+
x=2
1194+
y=212
1195+
cx=390
1196+
cy=431
12171197
rcx=0
12181198
rcy=0
12191199
wsize=0

0 commit comments

Comments
 (0)