├── GM ├── Gm.cpp ├── Cbdesign.rc ├── res │ ├── Brush.cur │ ├── Fill.cur │ ├── 3DCheck.bmp │ ├── BadColum.bmp │ ├── BitEdit.ico │ ├── DragTile.cur │ ├── DrawSave.bmp │ ├── Dropper.cur │ ├── Eraser.cur │ ├── GBoxDoc.ico │ ├── IDR_Main.ico │ ├── NoDrop.cur │ ├── Pencil.cur │ ├── ToolBar.bmp │ ├── Crosshair.cur │ ├── DrawLayer.bmp │ ├── HexStyle2.bmp │ ├── IDR_Board.ico │ ├── ImageTool.bmp │ ├── Small4Way.cur │ ├── SysButton.bmp │ ├── cbICON_AAA.ico │ ├── Bmp50Percent.bmp │ ├── ColorChange.cur │ ├── NoDropTooBig.cur │ └── manifest.xml ├── targetver.h ├── StdAfx.cpp ├── ClipBrd.h ├── DlgMakts.h ├── DlgPcep.h ├── DlgPgrpn.h ├── DlgMgrpn.h ├── DlgMgrpn.cpp ├── DlgPcep.cpp ├── DlgPgrpn.cpp ├── FrmDockTile.h ├── DlgPaste.h ├── DlgTsetp.h ├── DlgBmask.h ├── DlgMakts.cpp ├── DlgGPass.h ├── DlgMrkp.h ├── DlgSPass.h ├── DlgTexto.h ├── DlgNtile.h ├── DlgBrdsz.h ├── DlgMEditMulti.h ├── DlgGboxp.h ├── DlgPaste.cpp ├── DlgTilsz.h ├── DlgTsetp.cpp └── DlgGPass.cpp ├── GP ├── Cbplay.rc ├── res │ ├── GP.ico │ ├── 3DCheck.bmp │ ├── BadColum.bmp │ ├── BrdView.ico │ ├── CMovMode.cur │ ├── DragTile.cur │ ├── GMovDoc.ico │ ├── GamDoc.ico │ ├── GsnDoc.ico │ ├── NoDrop.cur │ ├── ToolBar.bmp │ ├── menuicon.bmp │ ├── tbmenu.bmp │ ├── tbmove.bmp │ ├── tbview.bmp │ ├── CrossHair.cur │ ├── SysButton.bmp │ ├── tbplayback.bmp │ ├── Bmp50Percent.bmp │ ├── Gp_MainFrame.bmp │ ├── NoDropTooBig.cur │ └── manifest.xml ├── DlgNewGeoBoard.cpp ├── targetver.h ├── StdAfx.cpp ├── FileLib.h ├── Arrows.h ├── WStateGp.h ├── DlgNPly.h ├── DlgYnew.h ├── DlgMarkCount.h ├── DlgMdesc.h ├── DlgState.h ├── WinMyspl.h ├── DlgPass.h ├── DlgScnp.h ├── FrmProj.h ├── DlgNPly.cpp ├── DlgTrunc.h ├── FrmDockMark.h ├── DlgMarkCount.cpp ├── Editnocv.h ├── FrmDockTray.h ├── DlgPass.cpp ├── DlgRot.h ├── DlgItray.h ├── DlgEdtEl.h ├── DlgSlbrd.h ├── DlgRmsg.h ├── DlgChgGameOwner.h ├── DlgSelOwner.h ├── DlgYnew.cpp ├── DlgMPly.h ├── WinDynspl.h ├── GamState.h ├── DlgEPly.h └── MoveHist.h ├── GShr ├── Font.cpp ├── targetver.h ├── StrLib.h ├── Arclib.cpp └── WinTiny.h ├── GHelp ├── MakeIDH.exe ├── images │ ├── new.png │ ├── btn-paypal.gif │ ├── cb-logo-link.png │ ├── gm-pal-color.png │ ├── gm-pal-tiles.png │ ├── gp-pal-tray.png │ ├── gp-pal-markers.png │ ├── gm-btn-edit-copy.png │ ├── gm-btn-edit-cut.png │ ├── gm-btn-edit-paste.png │ ├── gm-btn-file-new.png │ ├── gm-btn-file-open.png │ ├── gm-btn-file-save.png │ ├── gm-btn-play-start.png │ ├── gm-btn-tools-snap.png │ ├── gm-btn-view-grid.png │ ├── gm-pal-tile-tools.png │ ├── gm-window-project.png │ ├── gp-btn-act-dice.png │ ├── gp-btn-act-stack.png │ ├── gp-btn-act-toback.png │ ├── gp-btn-file-new.png │ ├── gp-btn-file-open.png │ ├── gp-btn-file-save.png │ ├── gp-btn-play-done.png │ ├── gp-btn-play-end.png │ ├── gp-btn-play-next.png │ ├── gp-btn-play-prev.png │ ├── gp-btn-play-start.png │ ├── gp-btn-view-marks.png │ ├── gp-btn-view-tips.png │ ├── gm-btn-edit-layer1.png │ ├── gm-btn-edit-layer2.png │ ├── gm-btn-edit-layer3.png │ ├── gm-btn-tools-toback.png │ ├── gm-pal-board-tools.png │ ├── gp-btn-act-message.png │ ├── gp-btn-act-tofront.png │ ├── gp-btn-view-pieces.png │ ├── gp-btn-view-toggle.png │ ├── gp-btn-view-tray-a.png │ ├── gp-btn-view-tray-b.png │ ├── gm-btn-tools-tofront.png │ ├── gm-btn-window-colors.png │ ├── gm-btn-window-tilepal.png │ ├── gm-window-board-edit.png │ ├── gm-window-tile-editor.png │ ├── gp-btn-act-comp-accept.png │ ├── gp-btn-act-comp-begin.png │ ├── gp-btn-act-comp-cancel.png │ ├── gp-btn-act-flip-over.png │ ├── gp-btn-act-plot-accept.png │ ├── gp-btn-act-plot-begin.png │ ├── gp-btn-act-plot-cancel.png │ ├── gp-btn-file-open-move.png │ ├── gp-btn-file-save-move.png │ ├── gp-btn-play-next-hist.png │ ├── gp-window-gam-project.png │ ├── gp-window-gsn-project.png │ ├── gm-btn-window-bit-tools.png │ ├── gp-window-playing-board.png │ └── gm-btn-window-board-tools.png ├── gen-main-release-history.htm ├── gp-tut-cover.htm ├── gm-tut-cover.htm ├── gm-main-cover.htm ├── gm-ref-keyboard-shortcuts.htm ├── gp-main-cover.htm ├── gp-ref-keyboard-shortcuts.htm ├── gp-ref-cover.htm ├── gm-ref-cover.htm ├── gm-ref-pal-tile.htm ├── gp-ref-pal-tray.htm ├── gm-ref-pal-color.htm ├── gp-ref-pal-markers.htm ├── gm-ref-window-board-edit.htm ├── gm-ref-window-tile-edit.htm ├── gp-ref-window-board.htm ├── gm-ref-window-project.htm ├── gp-ref-window-gam-project.htm ├── gp-ref-window-gsn-project.htm ├── gp-adv-how-to.htm ├── gp-ref-menu-window.htm ├── gp-ref-menu-project.htm ├── gm-ref-menu-file.htm ├── gm-ref-menu-view.htm ├── gm-ref-menu-help.htm ├── gm-ref-pal-board-tools.htm ├── gp-ref-menu-help.htm ├── gm-ref-pal-tile-tools.htm ├── gm-ref-menu-edit.htm ├── gen-main-concepts.htm ├── gm-ref-menu-window.htm ├── gen-main-overview.htm ├── gp-ref-menu-file.htm ├── master.js ├── gen-main-cover.htm ├── gp-ref-menu-playback.htm ├── gp-ref-menu-edit.htm ├── gp-ref-menu-view.htm ├── gp-adv-object-locking.htm ├── gm-adv-how-to.htm ├── gp-ref-menu-actions.htm ├── gm-ref-menu-project.htm ├── gp-adv-object-text.htm ├── gen-tech-gtl-files.htm └── CBoard.hhp ├── .gitmodules ├── .gitignore ├── LICENSE.txt ├── CMakeSettings.json ├── CMakeLists.txt ├── .github └── workflows │ └── main.yml └── CyberBoard.sln /GM/Gm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/Gm.cpp -------------------------------------------------------------------------------- /GM/Cbdesign.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/Cbdesign.rc -------------------------------------------------------------------------------- /GP/Cbplay.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/Cbplay.rc -------------------------------------------------------------------------------- /GP/res/GP.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/GP.ico -------------------------------------------------------------------------------- /GShr/Font.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GShr/Font.cpp -------------------------------------------------------------------------------- /GM/res/Brush.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Brush.cur -------------------------------------------------------------------------------- /GM/res/Fill.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Fill.cur -------------------------------------------------------------------------------- /GHelp/MakeIDH.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/MakeIDH.exe -------------------------------------------------------------------------------- /GM/res/3DCheck.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/3DCheck.bmp -------------------------------------------------------------------------------- /GM/res/BadColum.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/BadColum.bmp -------------------------------------------------------------------------------- /GM/res/BitEdit.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/BitEdit.ico -------------------------------------------------------------------------------- /GM/res/DragTile.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/DragTile.cur -------------------------------------------------------------------------------- /GM/res/DrawSave.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/DrawSave.bmp -------------------------------------------------------------------------------- /GM/res/Dropper.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Dropper.cur -------------------------------------------------------------------------------- /GM/res/Eraser.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Eraser.cur -------------------------------------------------------------------------------- /GM/res/GBoxDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/GBoxDoc.ico -------------------------------------------------------------------------------- /GM/res/IDR_Main.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/IDR_Main.ico -------------------------------------------------------------------------------- /GM/res/NoDrop.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/NoDrop.cur -------------------------------------------------------------------------------- /GM/res/Pencil.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Pencil.cur -------------------------------------------------------------------------------- /GM/res/ToolBar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/ToolBar.bmp -------------------------------------------------------------------------------- /GP/res/3DCheck.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/3DCheck.bmp -------------------------------------------------------------------------------- /GP/res/BadColum.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/BadColum.bmp -------------------------------------------------------------------------------- /GP/res/BrdView.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/BrdView.ico -------------------------------------------------------------------------------- /GP/res/CMovMode.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/CMovMode.cur -------------------------------------------------------------------------------- /GP/res/DragTile.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/DragTile.cur -------------------------------------------------------------------------------- /GP/res/GMovDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/GMovDoc.ico -------------------------------------------------------------------------------- /GP/res/GamDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/GamDoc.ico -------------------------------------------------------------------------------- /GP/res/GsnDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/GsnDoc.ico -------------------------------------------------------------------------------- /GP/res/NoDrop.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/NoDrop.cur -------------------------------------------------------------------------------- /GP/res/ToolBar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/ToolBar.bmp -------------------------------------------------------------------------------- /GP/res/menuicon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/menuicon.bmp -------------------------------------------------------------------------------- /GP/res/tbmenu.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/tbmenu.bmp -------------------------------------------------------------------------------- /GP/res/tbmove.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/tbmove.bmp -------------------------------------------------------------------------------- /GP/res/tbview.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/tbview.bmp -------------------------------------------------------------------------------- /GHelp/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/new.png -------------------------------------------------------------------------------- /GM/res/Crosshair.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Crosshair.cur -------------------------------------------------------------------------------- /GM/res/DrawLayer.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/DrawLayer.bmp -------------------------------------------------------------------------------- /GM/res/HexStyle2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/HexStyle2.bmp -------------------------------------------------------------------------------- /GM/res/IDR_Board.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/IDR_Board.ico -------------------------------------------------------------------------------- /GM/res/ImageTool.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/ImageTool.bmp -------------------------------------------------------------------------------- /GM/res/Small4Way.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Small4Way.cur -------------------------------------------------------------------------------- /GM/res/SysButton.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/SysButton.bmp -------------------------------------------------------------------------------- /GM/res/cbICON_AAA.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/cbICON_AAA.ico -------------------------------------------------------------------------------- /GP/DlgNewGeoBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/DlgNewGeoBoard.cpp -------------------------------------------------------------------------------- /GP/res/CrossHair.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/CrossHair.cur -------------------------------------------------------------------------------- /GP/res/SysButton.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/SysButton.bmp -------------------------------------------------------------------------------- /GP/res/tbplayback.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/tbplayback.bmp -------------------------------------------------------------------------------- /GM/res/Bmp50Percent.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/Bmp50Percent.bmp -------------------------------------------------------------------------------- /GM/res/ColorChange.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/ColorChange.cur -------------------------------------------------------------------------------- /GM/res/NoDropTooBig.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GM/res/NoDropTooBig.cur -------------------------------------------------------------------------------- /GP/res/Bmp50Percent.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/Bmp50Percent.bmp -------------------------------------------------------------------------------- /GP/res/Gp_MainFrame.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/Gp_MainFrame.bmp -------------------------------------------------------------------------------- /GP/res/NoDropTooBig.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GP/res/NoDropTooBig.cur -------------------------------------------------------------------------------- /GHelp/images/btn-paypal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/btn-paypal.gif -------------------------------------------------------------------------------- /GHelp/images/cb-logo-link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/cb-logo-link.png -------------------------------------------------------------------------------- /GHelp/images/gm-pal-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-pal-color.png -------------------------------------------------------------------------------- /GHelp/images/gm-pal-tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-pal-tiles.png -------------------------------------------------------------------------------- /GHelp/images/gp-pal-tray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-pal-tray.png -------------------------------------------------------------------------------- /GHelp/images/gp-pal-markers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-pal-markers.png -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/wxWidgets"] 2 | path = deps/wxWidgets 3 | url = https://github.com/wxWidgets/wxWidgets.git 4 | -------------------------------------------------------------------------------- /GHelp/gen-main-release-history.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/gen-main-release-history.htm -------------------------------------------------------------------------------- /GHelp/images/gm-btn-edit-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-edit-copy.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-edit-cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-edit-cut.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-edit-paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-edit-paste.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-file-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-file-new.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-file-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-file-open.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-file-save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-file-save.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-play-start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-play-start.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-tools-snap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-tools-snap.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-view-grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-view-grid.png -------------------------------------------------------------------------------- /GHelp/images/gm-pal-tile-tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-pal-tile-tools.png -------------------------------------------------------------------------------- /GHelp/images/gm-window-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-window-project.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-dice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-dice.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-stack.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-toback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-toback.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-file-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-file-new.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-file-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-file-open.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-file-save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-file-save.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-play-done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-play-done.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-play-end.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-play-end.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-play-next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-play-next.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-play-prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-play-prev.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-play-start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-play-start.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-view-marks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-view-marks.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-view-tips.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-view-tips.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-edit-layer1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-edit-layer1.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-edit-layer2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-edit-layer2.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-edit-layer3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-edit-layer3.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-tools-toback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-tools-toback.png -------------------------------------------------------------------------------- /GHelp/images/gm-pal-board-tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-pal-board-tools.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-message.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-tofront.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-tofront.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-view-pieces.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-view-pieces.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-view-toggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-view-toggle.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-view-tray-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-view-tray-a.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-view-tray-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-view-tray-b.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-tools-tofront.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-tools-tofront.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-window-colors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-window-colors.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-window-tilepal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-window-tilepal.png -------------------------------------------------------------------------------- /GHelp/images/gm-window-board-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-window-board-edit.png -------------------------------------------------------------------------------- /GHelp/images/gm-window-tile-editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-window-tile-editor.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-comp-accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-comp-accept.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-comp-begin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-comp-begin.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-comp-cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-comp-cancel.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-flip-over.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-flip-over.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-plot-accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-plot-accept.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-plot-begin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-plot-begin.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-act-plot-cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-act-plot-cancel.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-file-open-move.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-file-open-move.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-file-save-move.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-file-save-move.png -------------------------------------------------------------------------------- /GHelp/images/gp-btn-play-next-hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-btn-play-next-hist.png -------------------------------------------------------------------------------- /GHelp/images/gp-window-gam-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-window-gam-project.png -------------------------------------------------------------------------------- /GHelp/images/gp-window-gsn-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-window-gsn-project.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-window-bit-tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-window-bit-tools.png -------------------------------------------------------------------------------- /GHelp/images/gp-window-playing-board.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gp-window-playing-board.png -------------------------------------------------------------------------------- /GHelp/images/gm-btn-window-board-tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CyberBoardPBEM/cbwindows/HEAD/GHelp/images/gm-btn-window-board-tools.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.ncb 2 | *.suo 3 | *.aps 4 | *.vpw 5 | *.vpwhist 6 | *.vtg 7 | *.vpj 8 | [Dd]ebug 9 | [Dd]ebugU 10 | [Rr]elease 11 | [Rr]eleaseU 12 | GP/gphelpidmap.h 13 | GM/gmhelpidmap.h 14 | GHelp/CBoard.chm 15 | out 16 | *.old 17 | *.user 18 | .vs/ -------------------------------------------------------------------------------- /GHelp/gp-tut-cover.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/GHelp/gp-ref-pal-tray.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gm-ref-pal-color.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gp-ref-pal-markers.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gm-ref-window-board-edit.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gm-ref-window-tile-edit.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gp-ref-window-board.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gm-ref-window-project.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gp-ref-window-gam-project.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gp-ref-window-gsn-project.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/GHelp/gp-adv-how-to.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | The following are various tips and tricks that don't warrant 12 | a topic on their own.
13 | 14 |



11 |
12 |
11 |
12 | 

All the functionality in the CyberBoard is provided by two programs:
13 |CBDesign.exe - The game designer program.CBPlay.exe - The game setup and playing program.



11 | The CyberBoard board gaming system makes playing board games by mail and 12 | electronic mail a more enjoyable experience. The system allows one to easily 13 | graphically design the various parts of a board game on your computer. The 14 | players can make their moves and exchange recorded versions of the moves 15 | with their opponents. The opponent can then play back the moves. Although 16 | many types of games may be created using CyberBoard, games that use counters 17 | or chits such as wargames work particularly well.
18 |19 | CyberBoard is not an artificial opponent. It provides no artificial 20 | intelligence capability.
21 | 22 | 23 | -------------------------------------------------------------------------------- /GHelp/gp-ref-menu-file.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |




12 | CyberBoard™
13 |
Play-by-EMail Board Gaming System
15 | 16 ||
18 | 19 | Please Support 20 | 22 |CyberBoard™ 23 | |
27 | Unless otherwise noted, all content is
28 | Copyright © 1994-2010 by Dale L. Larson
29 | All rights Reserved
Contact: dlarson@norsesoft.com
31 |Revision: 1/2/2010
32 |






Places a bitmap image of the selected board onto the clipboard.
15 | 16 | 17 |Stores a bitmap image of the selected board in a BMP format disk file.
Destroys all selected markers.
25 | 26 | 27 |Selects all markers on the current board view.
30 | 31 | 32 |Selects all objects that were created from a specific marker group. For instance, 35 | this could be is useful for deleting all combat markers.
36 | 37 |Displays a dialog used to edit an object's associated text. Only a single object's text 40 | may be edited at a time. You may also double-click an object to use this dialog.
41 | 42 | 43 |Displays the properties dialog for the current playing board.
46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /GP/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 1994-2020 By Dale L. Larson, All Rights Reserved. 2 | // 3 | // Permission is hereby granted, free of charge, to any person obtaining 4 | // a copy of this software and associated documentation files (the 5 | // "Software"), to deal in the Software without restriction, including 6 | // without limitation the rights to use, copy, modify, merge, publish, 7 | // distribute, sublicense, and/or sell copies of the Software, and to 8 | // permit persons to whom the Software is furnished to do so, subject to 9 | // the following conditions: 10 | // 11 | // The above copyright notice and this permission notice shall be 12 | // included in all copies or substantial portions of the Software. 13 | // 14 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | // 22 | // stdafx.cpp : source file that includes just the standard includes 23 | // stdafx.pch will be the pre-compiled header 24 | // stdafx.obj will contain the pre-compiled type information 25 | 26 | #include "stdafx.h" 27 | -------------------------------------------------------------------------------- /GHelp/gp-ref-menu-view.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |







12 | Pieces and markers can be locked to the board's surface. When an object 13 | is locked it is impossible to select it. It's as if the object is part 14 | of the original board design.
15 |16 | Objects can be locked while in either Scenario or Game mode.
17 |18 | To use the locking feature first select the objects you wish to lock. 19 | Then use the Actions/Lock Objects 20 | menu command. The objects will be locked and deselected.
21 |22 | If you need to unlock a piece you would first deactivate the locks with the 23 | Actions/Suspend Object Locks 24 | menu command. This gives you access to all 25 | locked object on the board. Then select the objects you wish to 26 | unlock and use the Actions/Lock Objects to unlock them. Finally 27 | reactivate the locks with the "Actions/Suspend Object Locks" menu command. 28 | 29 |
Some possible applications of this feature are:
30 |The following are various tips and tricks that don't warrant 12 | a topic on their own.
13 | 14 |











This dialog is used to create a new playing board.
14 | 15 | 16 |This dialog is used to create a new tile image group. Tile image groups are helpful 19 | for organizing tile images within a GameBox.
20 | 21 | 22 |This dialog is used to create a new playing piece group. 25 | Playing piece groups are helpful for organizing pieces within a GameBox. 26 | Note that playing piece groups and trays (in the CyberBoard player 27 | program) are two totally different things.
28 | 29 | 30 |This dialog is used to create a new marker group. Markers are 33 | graphical objects that can be created in unlimited quantities in the CyberBoard 34 | player program.
35 | 36 | 37 |This dialog is used to change properties that apply to the entire GameBox file. 40 | Those properties include: name, author, description, compression, and password.
41 | 42 | 43 |All GameBox files have a unique internal identifier associated with them called its 46 | fingerprint. This fingerprint is used to bind games and scenarios with the 47 | proper GameBox file. If you wish to use a GameBox file as the basis for a totally new 48 | GameBox you should use this command to assign it a new fingerprint.
49 | 50 | 51 |Saves the currently selected tiles in a special tile library file. The file 54 | can be used to transfer tile images to other GameBox files.
55 | 56 | 57 |Loads the contents of a tile library file into the currently selected tile group.
60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /GP/FrmProj.h: -------------------------------------------------------------------------------- 1 | // FrmProg.h 2 | // 3 | // Copyright (c) 1994-2020 By Dale L. Larson, All Rights Reserved. 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining 6 | // a copy of this software and associated documentation files (the 7 | // "Software"), to deal in the Software without restriction, including 8 | // without limitation the rights to use, copy, modify, merge, publish, 9 | // distribute, sublicense, and/or sell copies of the Software, and to 10 | // permit persons to whom the Software is furnished to do so, subject to 11 | // the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be 14 | // included in all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | // 24 | 25 | #ifndef _FRMPROJ_H 26 | #define _FRMPROJ_H 27 | 28 | ///////////////////////////////////////////////////////////////////////////// 29 | // CProjFrame frame 30 | 31 | class CProjFrame : public CMDIChildWndEx 32 | { 33 | DECLARE_DYNCREATE(CProjFrame) 34 | protected: 35 | CProjFrame(); // protected constructor used by dynamic creation 36 | BOOL PreCreateWindow(CREATESTRUCT& cs); 37 | 38 | // Attributes 39 | public: 40 | 41 | // Operations 42 | public: 43 | 44 | // Implementation 45 | protected: 46 | virtual ~CProjFrame(); 47 | 48 | virtual void OnUpdateFrameTitle(BOOL bAddToTitle); 49 | 50 | // Generated message map functions 51 | //{{AFX_MSG(CProjFrame) 52 | afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 53 | //}}AFX_MSG 54 | DECLARE_MESSAGE_MAP() 55 | public: 56 | afx_msg void OnClose(); 57 | }; 58 | 59 | #endif 60 | 61 | -------------------------------------------------------------------------------- /GHelp/gp-adv-object-text.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |11 | Pieces and markers can have multi-line text associated with them. 12 | To see the text you allow the mouse pointer to hover over the unit 13 | for a moment. If the balloon tips annoy you, they can be 14 | turned off using the View/Show Object Text Tips 15 | menu command.
16 |17 | Two sided playing pieces store a different text item for each side of the 18 | piece.
19 |20 | When pieces or markers that have text are visible in lists 21 | (i.e., the select list or in a tray), an asterisk character is 22 | displayed to the left of the list item.
23 |24 | To set text for a piece or marker on a board or in a tray first 25 | select just a single object. You can't set or edit text for more 26 | than one object at a time. Right click on the item and choose the 27 | Edit Object Text command. 28 | In many cases simply double clicking 29 | on the object will also display the dialog.
30 |31 | If a piece is double sided you can set the text for both sides at once. 32 | Just check the "Set text on both sides of pieces" check box. Otherwise 33 | you will only be setting the text for the current topmost face of the piece.
34 |35 | Markers have a special option available to them that cause a text 36 | entry dialog to pop-up when the marker is created. This could be 37 | used for easy entry of post-it style notes on a game board. This 38 | option is set in the create marker dialog.
39 |40 | Another good trick is to create transparent markers that are used 41 | to annotate areas of the map. Set the text prompt option so you 42 | can enter the text before losing track of the marker. You can 43 | also lock the marker so it can't be selected to create permanent 44 | annotated hot zones.
45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /GP/DlgNPly.cpp: -------------------------------------------------------------------------------- 1 | // DlgNPly.cpp 2 | // 3 | // Copyright (c) 1994-2025 By Dale L. Larson & William Su, All Rights Reserved. 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining 6 | // a copy of this software and associated documentation files (the 7 | // "Software"), to deal in the Software without restriction, including 8 | // without limitation the rights to use, copy, modify, merge, publish, 9 | // distribute, sublicense, and/or sell copies of the Software, and to 10 | // permit persons to whom the Software is furnished to do so, subject to 11 | // the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be 14 | // included in all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | // 24 | 25 | #include "stdafx.h" 26 | #include "Gp.h" 27 | #include "DlGNply.h" 28 | 29 | #ifdef _DEBUG 30 | #define new DEBUG_NEW 31 | #undef THIS_FILE 32 | static char THIS_FILE[] = __FILE__; 33 | #endif 34 | 35 | ///////////////////////////////////////////////////////////////////////////// 36 | // CCreatePlayersDialog dialog 37 | 38 | CCreatePlayersDialog::CCreatePlayersDialog(wxWindow* pParent /*= &CB::GetMainWndWx()*/) : 39 | CB_XRC_BEGIN_CTRLS_DEFN(pParent, CCreatePlayersDialog) 40 | CB_XRC_CTRL_VAL(m_editPlayerCount, m_nPlayerCount, size_t(0), size_t(26)) 41 | CB_XRC_END_CTRLS_DEFN() 42 | { 43 | m_nPlayerCount = size_t(0); 44 | 45 | // KLUDGE: don't see a way to use GetSizeFromText() in .xrc 46 | wxSize editSize = m_editPlayerCount->GetSizeFromText("99"); 47 | m_editPlayerCount->SetInitialSize(editSize); 48 | SetMinSize(wxDefaultSize); 49 | Fit(); 50 | Centre(); 51 | } 52 | -------------------------------------------------------------------------------- /GM/DlgGPass.h: -------------------------------------------------------------------------------- 1 | // DlgGPass.h : header file 2 | // 3 | // Copyright (c) 1994-2023 By Dale L. Larson & William Su, All Rights Reserved. 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining 6 | // a copy of this software and associated documentation files (the 7 | // "Software"), to deal in the Software without restriction, including 8 | // without limitation the rights to use, copy, modify, merge, publish, 9 | // distribute, sublicense, and/or sell copies of the Software, and to 10 | // permit persons to whom the Software is furnished to do so, subject to 11 | // the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be 14 | // included in all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | // 24 | 25 | #ifndef _DLGGPASS_H_ 26 | #define _DLGGPASS_H_ 27 | 28 | #if _MSC_VER > 1000 29 | #pragma once 30 | #endif // _MSC_VER > 1000 31 | 32 | ///////////////////////////////////////////////////////////////////////////// 33 | // DlgGPass dialog 34 | 35 | class CDlgGetGameboxPassword : public wxDialog 36 | { 37 | // Construction 38 | public: 39 | CDlgGetGameboxPassword(wxWindow* parent = &CB::GetMainWndWx()); // standard constructor 40 | 41 | // Dialog Data 42 | wxString m_strPassword; 43 | 44 | 45 | // Overrides 46 | protected: 47 | 48 | // Implementation 49 | protected: 50 | 51 | #if 0 52 | afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); 53 | afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 54 | #endif 55 | wxDECLARE_EVENT_TABLE(); 56 | 57 | CB_XRC_BEGIN_CTRLS_DECL() 58 | RefPtrA CyberBoard Tile Library file contains one or more tiles 12 | in a format that can be directly loaded into a GameBox tile grouping. 13 | Each tile is composed of a COLORREF value for the color of the small 14 | scale tile and two device independent bitmaps (DIB) in CF_DIB clipboard 15 | format. One DIB is for the full size tile image, the other is for the 16 | half size image. The half size tile is 1/2 the size of the full size 17 | tile rounded up. For example, if the full size tile is 15 pixels 18 | the half size tile is 8 pixels.
19 |20 | The overall structure of the file is:
21 |
22 | BYTE chSig[4]; // File Signature = "GTLB"
23 | WORD wVersion; // Version = 0x0100 (1.00)
24 | DWORD dwNumTiles; // Number of <Tile_Definition>'s in the file
25 | // dwNumTiles tile definitions follow...
26 | <Tile_Definition>
27 | :
28 | :
29 | <Tile_Definition>
30 |
31 |
32 | Each <Tile_Definition> is structured like so:
34 | DWORD dwSmallTileColor; // Color of small tile (COLORREF format)
35 | <Packed_DIB> dibFullSizeTile; // The DIB data for the full size tile
36 | <Packed_DIB> dibHalfSizeTile; // The DIB data for the half size tile
37 |
38 | 39 | Each <Packed_DIB> record looks like:
40 |
41 | DWORD dwRecordSize; // Size in bytes of bitmap that follows.
42 |
43 | // The following is the same stuff
44 | // that gets put on the clipboard
45 | // for the CF_DIB format...
46 | struct BITMAPINFO dib; // (See the Win32 SDK docs)
47 | <bitmap_data>
48 |
49 | 50 | Oh...one more thing...all numbers larger than a byte are stored in 51 | little-endian (aka Intel) byte order:
52 |
53 | Least Significant Byte....Most Significant Byte.
55 | Oh...Get the format of your file right because there isn't 56 | heck of a lot of checking going on in CyberBoard to make sure the 57 | incoming format is correct.
58 | 59 | 60 | -------------------------------------------------------------------------------- /GM/DlgGboxp.h: -------------------------------------------------------------------------------- 1 | // DlgGboxp.h : header file 2 | // 3 | // Copyright (c) 1994-2023 By Dale L. Larson & William Su, All Rights Reserved. 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining 6 | // a copy of this software and associated documentation files (the 7 | // "Software"), to deal in the Software without restriction, including 8 | // without limitation the rights to use, copy, modify, merge, publish, 9 | // distribute, sublicense, and/or sell copies of the Software, and to 10 | // permit persons to whom the Software is furnished to do so, subject to 11 | // the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be 14 | // included in all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | // 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // CGmBoxPropsDialog dialog 27 | 28 | class CGmBoxPropsDialog : public wxDialog 29 | { 30 | // Construction 31 | public: 32 | CGmBoxPropsDialog(wxWindow* parent = &CB::GetMainWndWx()); // standard constructor 33 | 34 | // Dialog Data 35 | wxString m_strAuthor; 36 | wxString m_strDescr; 37 | wxString m_strTitle; 38 | 39 | bool m_bPropEdit = true; // Set to true is editing existing props 40 | int m_nCompressLevel = wxZ_BEST_SPEED; 41 | 42 | bool m_bPassSet = false; 43 | wxString m_strPassword; 44 | 45 | // Implementation 46 | private: 47 | bool TransferDataToWindow() override; 48 | bool TransferDataFromWindow() override; 49 | 50 | void OnSetPassword(wxCommandEvent& event); 51 | #if 0 52 | afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); 53 | afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 54 | #endif 55 | 56 | wxDECLARE_EVENT_TABLE(); 57 | 58 | // adapt between m_nCompressLevel and m_comboCompress 59 | int32_t m_nCompressLevelIndex; 60 | 61 | CB_XRC_BEGIN_CTRLS_DECL() 62 | RefPtr