Skip to content

Commit

Permalink
0.9.26
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonN committed Apr 23, 2019
1 parent 060a9e4 commit c198f76
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 39 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ Download
[![Download icon](http://lixgame.com/img/download-icon.png)](https://github.com/SimonN/LixD/releases)
[Download Lix for Windows or Linux](https://github.com/SimonN/LixD/releases)

Mac or other systems: Build from source, see below.
macOS or others: Build from source, see below.

macOS users beware: Since January 2019, Lix on macOS 10.14
may often show only a black window. You're welcome to help debugging, see
[issue 381: macOS black screen](https://github.com/SimonN/LixD/issues/381).

License/Copying/Public domain
-----------------------------
Expand Down Expand Up @@ -53,7 +57,7 @@ Build instructions

* [Build instructions for Windows](
https://raw.githubusercontent.com/SimonN/LixD/master/doc/build/win64.txt)
* [Build instructions for Linux or MacOS](
* [Build instructions for Linux or macOS](
https://github.com/SimonN/LixD/blob/master/doc/build/linux.md)
* [Notes for Linux package maintainers](
https://raw.githubusercontent.com/SimonN/LixD/master/doc/build/package.txt)
Expand Down
59 changes: 24 additions & 35 deletions doc/build/linux.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
How to build Lix on Linux or MacOS
How to build Lix on Linux or macOS
==================================

If you run into any kind of roadblock, don't be shy and ask me!
Expand All @@ -14,25 +14,29 @@ If you run into any kind of roadblock, don't be shy and ask me!
Install a D environment
-----------------------

I recommend the D compiler LDC, it produces the fastest executables.
Alternatively, DMD is the best D compiler for debugging, it compiles D code
quicker than any other compiler. I haven't tested GDC.
You also need the D standard library Phobos (might be called libphobos for DMD
or liblphobos for LDC), but those often ship with the compilers already.
Finally, dub is the D build system and source library package manager.

On Arch linux, run `# pacman -S dlang`,
this group package will install everything you need.
On Arch Linux, run `# pacman -S dlang`.

On Debian/Ubuntu, run `# apt-get install ldc dub`.

On MacOS, install [Homebrew](https://brew.sh/), then run
`$ brew install ldc dub`.
On macOS, install [Homebrew](https://brew.sh/), then run
`$ brew install ldc dub`. Beware: Since January 2019, Lix on macOS 10.14
shows only black window. You're welcome to help debugging, see
[issue 381: macOS black screen](https://github.com/SimonN/LixD/issues/381).

If you don't use a package manager, download
[LDC](https://github.com/ldc-developers/ldc/releases) and
[dub](https://code.dlang.org/download) manually.

I recommend the D compiler LDC, it produces the fastest executables.
LDC must be based on DMD 2.081.1 or newer, checkable with `ldc2 --version`.
Alternatively, DMD is the best D compiler for debugging, it compiles D code
quicker than any other compiler. You need version 2.081.2 or newer.
I do *not* support GDC, it is based on too old a DMD version.

You need the D standard library Phobos (might be called *libphobos* for DMD
or *liblphobos* for LDC), but those often ship with the compilers already.
Finally, dub is the D build system and source library package manager.



Install required libraries
Expand All @@ -42,36 +46,21 @@ dub only downloads source libraries and D bindings to `~/dub/`.
dub will not download binary libraries or install anything in `/usr/`.
You must install the Allegro 5 and enet binary libraries yourself.

On Arch Linux, install:
Arch Linux:

pkgconf
allegro
enet
# pacman -S pkgconf allegro enet

On Debian/Ubuntu, install:
Debian/Ubuntu:

pkgconf
liballegro5-dev
liballegro-acodec5-dev
liballegro-audio5-dev
liballegro-image5-dev
liballegro-ttf5-dev
libenet-dev
# apt-get install pkgconf liballegro5-dev liballegro-acodec5-dev liballegro-audio5-dev liballegro-image5-dev liballegro-ttf5-dev libenet-dev

On Fedora 29, install:
Fedora 29:

pkgconf-pkg-config
allegro5-devel
allegro5-addon-acodec-devel
allegro5-addon-audio-devel
allegro5-addon-image-devel
allegro5-addon-ttf-devel
enet-devel
# dnf install pkgconf-pkg-config allegro5-devel allegro5-addon-acodec-devel allegro5-addon-audio-devel allegro5-addon-image-devel allegro5-addon-ttf-devel enet-devel

On MacOS, run:
macOS:

$ brew install allegro
$ brew install enet
$ brew install allegro enet

If you don't use a package manager, you might
[build Allegro 5 and enet 1.3 from source](
Expand Down
37 changes: 36 additions & 1 deletion doc/history.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,45 @@
Version history
===============

0.9.26
------

2019-04-24

Added 24 singleplayer levels in misc/lemforum-outtakes. These levels were
once part of out flagship pack lemforum, but have been taken out over time.
They're all proven solvable with 0.9 physics.

Fixed #301: Separated the ping-exit functionality from show-splat-ruler.
In multiplayer, there are now two buttons. Both have much clearer icons
(an exit with beams, a ruler) instead of the generic cool shades.

Fixed #293: Savestate icon, don't use floppy disk (means: write file).
Now, the icon to save state is a flag, and the icon to load state is
a flag with an arrow pointing towards it. Once a savestate exists,
the load icon (default hotkey F2) is to the left of the save icon
(default hotkey F3), to have their default hotkeys (F2, F3) in ascending
order. (Before, load appeared to the right of save).

Renamed the level folder "Community Collab Project" to "Collab"
for concise breadcrumb navigation captions, preventing abbreviation.

Attributed correct authors (Rubix/Simon, Simon/Wuzzy) on two tutorials.

Rewrote screen options functions, to rule out a possible source of a crash
on macOS (no more try-return-catch, always return outside of try/catch).
See issue #381: macOS 10.14: Black screen then crash.

Rewrote internal graphics code to get already-cached images more efficiently.



0.9.25
------

2019-02-04

Added 43 singleplayer levels in levels/single/misc: 17 miniatures by Simon and
Added 44 singleplayer levels in levels/single/misc: 17 miniatures by Simon and
geoo, 13 levels by mobius (originally called leftovers and non-tutorials), 10
levels by Nessy, 4 non-miniatures by Simon. These levels were released around
2017 and 2018 on Lemmings Forums and are now part of the main download.
Expand All @@ -24,6 +57,8 @@ Refactored code for clarity: Alcol constructors -> al_map_rgba_f, magic
numbers in EffectManager -> enums. Split ScoreBoard into two classes and
moved to the GUI code, to decouple from gameplay.



0.9.24
------

Expand Down
2 changes: 1 addition & 1 deletion src/net/version.d
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import std.bitmanip;
import std.conv;
import std.string;

private immutable _gameVersion = Version(0, 9, 25);
private immutable _gameVersion = Version(0, 9, 26);
const(Version) gameVersion() { return _gameVersion; }

struct Version {
Expand Down

0 comments on commit c198f76

Please sign in to comment.