• R/O
  • HTTP
  • SSH
  • HTTPS

rulp: 儲存庫摘要


最新提交 RSS

修訂. 時間 作者 訊息
c53563a 2023-07-23 07:59:21 Giulio De Stasio entries graphics/package.lisp: resolved defchain kickstart
c1b8514 2023-07-23 06:45:18 Giulio De Stasio menu.lisp: updated entries, display macro and render-enti...
852eb9f 2023-07-22 16:32:29 Giulio De Stasio master view: entities-list in plane and fixes
f9be7b8 2023-07-19 04:15:06 Giulio De Stasio fixed inputs on new entity management
ca25f48 2023-07-09 20:41:30 Giulio De Stasio FIX: entities under flyweight
29b3ae2 2023-07-08 22:50:11 Giulio De Stasio bugfix: clean the screen when the program closes
f97dac6 2023-06-13 04:57:13 Giulio De Stasio layers/planes: connected with screen flyweight
b78f4e8 2023-06-11 18:31:10 Giulio De Stasio layers/screens.lisp: created render and getscreen functions
79b68cf 2023-06-11 16:41:07 Giulio De Stasio render/: created sdl2 interface
a62053b 2023-06-01 04:40:53 Giulio De Stasio README, Makefile: correction for rulp.asd

分支

名稱 修訂. 時間 作者 訊息
entries c53563a 2023-07-23 07:59:21 Giulio De Stasio graphics/package.lisp: reso...
master 852eb9f 2023-07-22 16:32:29 Giulio De Stasio view: entities-list in plan...

README

# RULP: Ru*** roLeplay Playground

It is a virtual board for roleplay games, it display a table
with a grid to simulate battles and scenaries. It include
an editor to create your own map and events.

## Install on Linux

The software is released as binaries on the osdn page in both appimage
with dependencies and rpm/deb. This software uses raylib, tcl and tk to
run.

If you want to compile, be aware that this software is
developed with Common Lisp and it is tested and deployed with
the "Steel Bank Common Lisp" (sbcl), but it can work
with other implementations such as GNU clisp or Clozure Common Lisp.

* sbcl (or clisp, or ccl)

Also the software uses sdl2 and ltk libraries for display graphics.

* sdl2-devel
* sdl2_image-devel
* tcl
* tk
* quicklisp

To compile you can use buildapp or just do with asdf. To compile with
buildapp you just need to use the makefile

$ make
# make install

Or if you don't use buildapp you can use the asdf tools for that:

$ cd /path/to/sources
$ sbcl --load rulp.asd
* (require :rulp)
* (asdf:make :rulp)

Then use CTRL+D to exit console.

## Install on Windows

To compile on windows you need sbcl and the dlls SDL2.dll,
SDL2-image.dll and SDL2-ttf.dll.

First you can install sbcl from the website or with chocolatey
with

# choco install sbcl

(here the # indicate that you use administrator powershell).

The dlls can be downloaded from the sdl2, sdl2-image and sdl2-ttf
github pages selecting the win32-x64 version. The dlls should
be copied in the rulp folders.

also you need to download the libffi sources and copy the ffi.h and
ffi-target.h files for later use.

Start sbcl on your folder and install quicklisp as written on
the website beta.quicklisp.org.

With quicklisp installed, use the commands

* (ql:quickload "clingon")
* (ql:quickload "sdl2")
* (ql:quickload "sdl2-image")
* (ql:quickload "sdl2-ttf")

sdl2-ttf should fail because it misses the ffi.h files. These files
need to be placed into
quicklisp\dists\quicklisp\software\libffi[whatever version]\
and retry the last command.

Now you should be able to start and compile rulp. Without using
the makefile just execute

> sbcl --load "rulp.asd" --eval "(progn (require :rulp) (asdf:make :rulp))"

The sbcl.exe executable should in the folder.
Show on old repository browser