Skip to content

Commit e46e162

Browse files
committed
Merge branch 'release/0_9_9_8'
2 parents 76f4e21 + 810d4eb commit e46e162

File tree

151 files changed

+9545
-6651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+9545
-6651
lines changed

.gitignore

+17-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,20 @@ CMakeLists.txt
55
cmake-build-debug/
66
mod.info
77
revision.info
8-
*.a
8+
*.a
9+
*.mp3
10+
*.wav
11+
bin/core.wad
12+
bin/doom.prc
13+
bin/doomrl.wad
14+
src/doomrl.lps
15+
src/makewad.lps
16+
src/backup/
17+
bin/log.txt
18+
temp/
19+
bin/backup/
20+
src/fpcmade.x86_64-linux
21+
src/Makefile
22+
*.wad
23+
bin/makewad
24+
bin/doomrl

Makefile.fpc

-5
This file was deleted.

README.md

+26-23
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,45 @@
11
# doomrl
22

3-
DRL a.k.a. doomrl, a.k.a, D**m, the Roguelike
3+
DRL a.k.a. doomrl, a.k.a, D**m, the Roguelike, version 0.9.9.8
44
http://drl.chaosforge.org/
55

6-
This release is dedicated to *eniMax, and the Jupiter Hell Kickstarter:
6+
This release is dedicated to Jupiter Hell Classic, the newly announced commercial remake/expansion to DRL:
77

8-
https://www.kickstarter.com/projects/2020043306/jupiter-hell-a-modern-turn-based-sci-fi-roguelike
8+
https://store.steampowered.com/app/3126530/Jupiter_Hell_Classic/
99

10-
If you enjoy this Open Source release, please consider pledging!
10+
If you enjoy this Open Source release, please consider wishlisting and later buying Jupiter Hell Classic! Also, you might be interested in DRL's modern 3D spiritual successor, Jupiter Hell (yes, it's still turn-based :P):
1111

12-
Parts of this codebase date back to 2002, please do not judge! :P
12+
https://store.steampowered.com/app/811320/Jupiter_Hell/
1313

14-
## Additional Information
15-
1. This FreePascal source code release is provided as is.
16-
2. You can try compiling it using the latest version of Lazarus ( http://www.lazarus-ide.org/ ).
17-
3. You need to download the 32 bit version (64-bit is possible, but much more tricky).
18-
4. You will also need the FPC Valkyrie library ( https://github.com/ChaosForge/fpcvalkyrie/ ).
19-
5. You will also probably need the binary files of the full game downloadable from http://drl.chaosforge.org/ (in particular the sound, soundhq, music and mp3 folder contents, and the premade doomrl.wad and core.wad if you don't want to create it yourself).
14+
Parts of this codebase date back to 2002, please do not judge! :P
2015

21-
## Build
22-
Detailed compilation instructions will appear at some later point after the Jupiter Hell Kickstarter finishes.
16+
This FreePascal source code release is provided as is. You can try compiling it using the latest version of Lazarus ( http://www.lazarus-ide.org/ ). You will also need the FPC Valkyrie library ( https://github.com/ChaosForge/fpcvalkyrie/ ), version 0.9.0. You will also probably need the binary files of the full game downloadable from http://drl.chaosforge.org/ (in particular the sound, soundhq, music and mp3 folder contents, and the premade drl.wad and core.wad if you don't want to create it yourself).
2317

24-
Short version:
18+
Compilation instructions, short version:
2519

26-
1. Download 32-bit DoomRL from http://drl.chaosforge.org/
27-
2. Copy bin/mp3, bin/music, bin/sound, bin/soundhq from the DoomRL folders to the source tree bin folder
28-
3. Download 32-bit Lazarus
20+
1. Download DRL from http://drl.chaosforge.org/
21+
2. Copy bin/mp3, bin/music, bin/sound, bin/soundhq from the DRL folders to the source tree bin folder
22+
3. Download 64-bit Lazarus
2923
4. Open src/makewad.lpi build, do not run
30-
5. Run makewad.exe from the command line in the bin folder to generate doomrl.wad and core.wad (precompiled lua files)
31-
6. Open src/doomrl.lpi, build and run
24+
5. Run makewad.exe from the command line in the bin folder to generate drl.wad and core.wad (precompiled lua files)
25+
6. Open src/drl.lpi, build and run
3226
7. Profit (?)
3327

34-
## Legal Information
35-
All code is (C) 2003-2016 Kornel Kisielewicz
28+
Lua makefile path (tested on Windows, might work on Linux):
29+
30+
1. Have lua (5.1 is tested, but any should work?) in your path
31+
2. Have fpc bin directory in your path
32+
3. From the root folder run lua5.1 makefile.lua
33+
4. You can build packages by running "lua5.1 makefile.lua all" or lq or hq
34+
35+
All code is (C) 2003-2024 Kornel Kisielewicz
36+
3637
Code is distributed under the GPL 2.0 license (see LICENSE file in this folder)
3738

38-
All art is (C) 2003-2016 Derek Yu
39+
All art is (C) 2003-2024 Derek Yu
40+
3941
Art is distributed under the CC-BY-SA 4.0 license (see LICENSE file in the bin/graphics/ folder)
4042

4143
sincerely,
42-
Kornel Kisielewicz of ChaosForge
44+
45+
Kornel Kisielewicz of ChaosForge

bin/colors.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Custom coloring based on entity ID's. Search the DoomRL wiki
1+
-- Custom coloring based on entity ID's. Search the DRL wiki
22
-- for id's for entities.
33
--
44
-- In case of cells, there are two overrides - [id]_light and [id]_dark
@@ -21,7 +21,7 @@ LIGHTMAGENTA= 13
2121
YELLOW = 14
2222
WHITE = 15
2323

24-
-- An example of how to change DoomRL's color scheme.
24+
-- An example of how to change DRL's color scheme.
2525
Colors = {
2626
-- floor_dark = GREEN,
2727
-- floor_light = BLUE,

bin/config.lua

+28-119
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- ----------------------------------------------------------------------
2-
-- This is the DoomRL initialization file. Modify at your own risk :).
2+
-- This is the DRL initialization file. Modify at your own risk :).
33
-- If you mess up something overwrite with a new config.lua.
44
-- ----------------------------------------------------------------------
55

@@ -9,8 +9,6 @@ dofile "colors.lua"
99
dofile "music.lua"
1010
dofile "sound.lua"
1111

12-
dofile "keybindings.lua"
13-
1412
-- Graphics mode. Can be CONSOLE for raw console, or TILES for graphical
1513
-- tiles. Overriden by -graphics and -console command line parameters.
1614
Graphics = "TILES"
@@ -21,122 +19,44 @@ Graphics = "TILES"
2119
-- Possible values are FMOD, SDL, NONE, DEFAULT
2220
SoundEngine = "DEFAULT"
2321

24-
-- SDL sound only options. See SDL_mixer manual on what to put here if
25-
-- defaults don't get you working audio. Format needs to be decoded because
26-
-- Lua doesn't support hex notation.
27-
SDLMixerFreq = 44100
28-
SDLMixerFormat = 32784
29-
SDLMixerChunkSize = 1024
30-
31-
-- Windows and GFX mode only:
32-
-- Set to false to turn off the Fullscreen query at run time. If false you
33-
-- can use StartFullscreen to control fullscreen at startup.
34-
FullscreenQuery = true
35-
36-
-- whether to start in fullscreen mode, use ALT-Enter to toggle, only
37-
-- used when FullscreenQuery is set to false
38-
StartFullscreen = false
39-
40-
-- Windowed sizes
41-
WindowedWidth = 800
42-
WindowedHeight = 600
43-
-- Multiplication values of font and tile display - use at most 2
44-
WindowedFontMult = 1
45-
WindowedTileMult = 1
46-
-- minimap size multiplication, set to 0 to remove minimap, -1 is auto
47-
-- choice based on resolution
48-
WindowedMiniMapSize = -1
49-
50-
-- Fullscreen resolution sizes
51-
-- -1 means auto-detection of screen size, and fontmult and tilemult and
52-
-- minimap based on it
53-
FullscreenWidth = -1
54-
FullscreenHeight = -1
55-
FullscreenFontMult = -1
56-
FullscreenTileMult = -1
57-
FullscreenMiniMapSize = -1
58-
5922
-- Whether to allow high-ASCII signs. Set to false if you see weird signs
6023
-- on the screen. Not setting it at all will use the default which
6124
-- is true on Windows and false on OS X and Linux
6225
-- AllowHighAscii = true
6326

64-
-- Setting to true will skip name entry procedure and choose a random name
65-
-- instead
66-
AlwaysRandomName = false
67-
6827
-- Specifies wether items in inventory and equipment should be colored
6928
ColoredInventory = true
7029

71-
-- Menu styles can be LETTER for letter choince only menus, CHOICE for only arrow
72-
-- selection or HYBRID for both. Note that additional commands (like BACKSPACE for
73-
-- in-menu drop and TAB for swap) wont work in the LETTER mode.
74-
InvMenuStyle = "HYBRID"
75-
EqMenuStyle = "HYBRID"
76-
HelpMenuStyle = "HYBRID"
77-
7830
-- Setting this to anything except "" will always use that as the name.
7931
-- Warning - no error checking, so don't use too long names, or especially
8032
-- the "@" sign (it's a control char). This setting overrides the one above!
81-
AlwaysName = ""
82-
83-
-- Setting to true will skip the intro
84-
SkipIntro = false
85-
86-
-- Setting to true will remove the bloodslide effect
87-
NoBloodSlides = false
88-
89-
-- Setting to true will remove the flashing effect
90-
NoFlashing = false
91-
92-
-- Setting to true will make the run command not stop on items
93-
RunOverItems = false
33+
--AlwaysName = ""
9434

9535
-- Setting to false will turn off music during gameplay
9636
GameMusic = true
9737

9838
-- Setting to false will turn off sounds during gameplay
9939
GameSound = true
10040

101-
-- Setting to false will turn off Menu change/select sound
102-
MenuSound = true
103-
10441
-- Setting to true will turn on enhancements for blind people playing
105-
-- DoomRL using a screen reader. Yes, some do.
42+
-- DRL using a screen reader. Yes, some do.
10643
BlindMode = false
10744

108-
-- Setting to true will turn on enhancements for colorblind people.
109-
ColorBlindMode = false
110-
11145
-- Setting to true will make old messages disappear from the screen
11246
-- (useful in BlindMode)
11347
ClearMessages = false
11448

115-
-- Setting to false will prevent DoomRL from waiting for confirmation
49+
-- Setting to false will prevent DRL from waiting for confirmation
11650
-- when too many messages are printed in a turn. Usefull for Speedrunning.
11751
MorePrompt = true
11852

119-
-- Setting to true will make the game wait for an enter/space key if
120-
-- trying to fire an empty weapon.
121-
EmptyConfirm = false
122-
12353
-- If set to true, pickup sound will be used for quickkeys and weapon
12454
-- swapping.
12555
SoundEquipPickup = false
12656

127-
-- Controls whether gameplay hints appear on the intro level. Once you learn
128-
-- to use the game, you can safely turn it off!
129-
Hints = true
130-
131-
-- Sets the delay value when running. Value is in milliseconds. Set to 0 for no delay.
57+
-- (ASCII Only) Sets the delay value when running. Value is in milliseconds. Set to 0 for no delay.
13258
RunDelay = 20
13359

134-
-- Music volume in the range of 0..25
135-
MusicVolume = 12
136-
137-
-- Sound volume in the range of 0..25
138-
SoundVolume = 20
139-
14060
-- Handles what should be done in case of trying to unwield an item when inventory
14161
-- is full : if set to false will ask the player if he wants to drop it. If set
14262
-- to true will drop it without questions.
@@ -160,7 +80,7 @@ PlayerBackups = 7
16080
-- is held for a given day.
16181
ScoreBackups = 7
16282

163-
-- If set to false DoomRL will quit on death and quitting. Normally it will go back
83+
-- If set to false DRL will quit on death and quitting. Normally it will go back
16484
-- to the main menu.
16585
MenuReturn = true
16686

@@ -175,7 +95,7 @@ MaxWait = 20
17595
-- true by default.
17696
LockBreak = true
17797

178-
-- Windows only - Disables closing of DoomRL by console close button.
98+
-- Windows only - Disables closing of DRL by console close button.
17999
-- true by default.
180100
LockClose = true
181101

@@ -194,38 +114,6 @@ TimeStamp = "yyyy/mm/dd hh:nn:ss"
194114
-- to turn this off
195115
SaveOnCrash = true
196116

197-
-- This is the global internet connection switch, allowing DoomRL
198-
-- to use internet connection features. Think twice before disabling
199-
-- it, or you'll loose the features listed below and MOTD and ModServer
200-
-- support!
201-
NetworkConnection = true
202-
203-
-- Should DoomRL check if there's a new version at runtime. If
204-
-- NetworkConnection is set to true this check is made regardless,
205-
-- but there will be no alert if set to false.
206-
VersionCheck = true
207-
208-
-- Should DoomRL check if there's a new BETA version at runtime. If
209-
-- NetworkConnection is set to true this check is made regardless,
210-
-- but there will be no alert if set to false. BETA versions are only
211-
-- available to Supporters, but why not hop in and join the fun?
212-
-- By default it's set to VERSION_BETA which is true for beta releases
213-
-- and false for stable releases. Set to true, to get notified of the
214-
-- next BETA batch!
215-
BetaCheck = VERSION_BETA
216-
217-
-- Should DoomRL check for other alerts. Sometimes we will want to
218-
-- point you out to a major ChaosForge release or news flash. This feature
219-
-- will not be abused, and each alert will be displayed only once, so
220-
-- please consider leaving this set to true! :)
221-
AlertCheck = true
222-
223-
-- DoomRL by default uses it's own mod server, where we host only screened
224-
-- mods from the DoomRL community. A day may come when there will be an
225-
-- unofficial server, for example for mods in testing. You can specify it
226-
-- here. Note that this overrides the default server.
227-
CustomModServer = ''
228-
229117
-- Message coloring system. Works only if MessageColoring
230118
-- variable is set to true. Use basic color names available in
231119
-- colors.lua.
@@ -241,3 +129,24 @@ Messages = {
241129
["Your * damaged!"] = BROWN,
242130
["You feel relatively safe now."] = BLUE
243131
}
132+
133+
-- == Path configuration ==
134+
-- You can use command line switch -config=/something/something/config.lua
135+
-- to load a different config!
136+
137+
-- Uncomment the following paths if needed:
138+
139+
-- This is the directory path to the read only data folder (current dir by
140+
-- default, needs slash at end if changed). -datapath= to override on
141+
-- command line.
142+
--DataPath = ""
143+
144+
-- This is the directory path for writing (save, log) (current dir by
145+
-- default, needs slash at end if changed). -writepath= to override on
146+
-- command line.
147+
--WritePath = ""
148+
149+
-- This is the directory path for score table (by default it will be the
150+
-- same as WritePath, change for multi-user systems. -scorepath= to override
151+
-- on command line.
152+
--ScorePath = ""

0 commit comments

Comments
 (0)