Anders Jenbo
fe45e617dd
Test single chamber chathedral
4 years ago
Anders Jenbo
6ec782fb7a
Fix FillChambers() and clean up rotated layout
4 years ago
Stephen C. Wills
4398c1e06a
Use absolute coordinates for temp position when north-walking ( #4937 )
4 years ago
Andrew James
593a9f3b4b
Pull distinct points from VisionCrawlTable used by guardians ( #4844 )
4 years ago
Gleb Mazovetskiy
53975d9264
monstdat: Simplify paths
...
1. Remove `Monsters\` from `sndfile` and `TransFile`.
2. Where `sndfile` is the same as `GraphicType`, set `sndfile` to
`nullptr`.
4 years ago
Gleb Mazovetskiy
197e1180b2
Add StrCat and StrAppend
...
Adds simple string / integer concatenation functions.
Many of the uses of `fmt::format` are simply concatenation
of a few strings and integers.
`StrCat` is an easier-to-read alternative to such uses of `fmt`.
4 years ago
ephphatha
1fb45a7f25
Take Player reference in FixPlrWalkTags
4 years ago
ephphatha
4802c0c8cf
Split loops by phases
...
Hoping the comments make it easier to understand, I think this is what the intent was.
4 years ago
ephphatha
3812d75480
Use point/size for WillThemeRoomFit, rename to match use
4 years ago
ephphatha
7bb401d9e8
Simplify loop used to find the area for a theme room
4 years ago
ephphatha
7a8fa64e69
Include leftover coinflips following conflict resolution
4 years ago
ephphatha
7bda8dcc9a
Include coin flips from room gen cleanup
4 years ago
ephphatha
420a248e0c
Use FlipCoin for most uses of GenerateRnd with variable frequency
4 years ago
ephphatha
7c54066f31
Use PickRandomlyAmong when choosing between two options
4 years ago
ephphatha
bc0a058350
Invert FlipCoin
4 years ago
Anders Jenbo
8351aac2c8
Clean up monster mode
4 years ago
burningserenity
b5378f74d5
Apply formatting
4 years ago
burningserenity
69e0c51d8c
Another approach
4 years ago
burningserenity
0b6e81a598
Fix flash, town portal, and identify scroll descriptions
4 years ago
Gleb Mazovetskiy
15bb2f41a1
Xbox NXDK: Add xbe logo
4 years ago
Gleb Mazovetskiy
5f813c3bec
Xbox NXDK: Disable upscaling by default
4 years ago
Gleb Mazovetskiy
0a64ae3b6b
Xbox NXDK: Default vsync to false and hide option
...
Looks like vsync doesn't work on NXDK at the moment.
Defaults it to false and hides it from the menu.
It is still possible to manually enable it via `diablo.ini` for testing.
4 years ago
Gleb Mazovetskiy
ace30d2085
Xbox NXDK: Handle drives
...
1. Automount D drive
2. Mount E drive
3. Set preference and config paths to `E:\UDATA\devilutionx`
Co-authored-by: Ryzee119 <wendland@live.com.au>
4 years ago
Gleb Mazovetskiy
0812cbd65d
Xbox NXDK: Build a zip instead of iso
...
ISO is not useful for us because the user still has to put diabdat.mpq
on the hard drive. At this point, might as well put DevilutionX on the
hard drive as well.
Changes the CI to produce a zip file with our assets and the `default.xbe`
executable.
4 years ago
Gleb Mazovetskiy
361f56c1e3
Xbox NXDK: Generate ISO
4 years ago
Anders Jenbo
c7f19336c9
[xbox] Initialize the video system and specify search path
4 years ago
Gleb Mazovetskiy
4063afb792
Xbox NXDK platform
4 years ago
staphen
17a12e273a
Restore vanilla Diablo behavior for elemental damage on weapons
4 years ago
Cesar Canassa
4d5aa90d77
♻️ Refactor M_WalkDir
...
- 🔥 Removed DumbWalk
- 🚚 Renames M_WalkDir to Walk
This integrates the DirOK check into M_WalkDir itself, that makes the DumbWalk function useless and most places that were calling DirOK before M_WalkDir can now be simplified.
4 years ago
Anders Jenbo
a633951947
Move crypt code to crypt.cpp
4 years ago
Anders Jenbo
8765160885
Apply enums to the remaining Cathedral Mega tiles
4 years ago
Gleb Mazovetskiy
c8ddf7df65
Crawl: Move implementation from header to cpp
4 years ago
Gleb Mazovetskiy
2f09c20b08
cel_render: Remove unused `LineEndFn`
...
This was used for stippled transparency which we no longer support.
4 years ago
Anders Jenbo
ce4595b440
Split Crypt from Cathedral
4 years ago
Anders Jenbo
be35285cdb
Clean up parameters
4 years ago
Anders Jenbo
bd7d5a0143
Deduplicate using spells
4 years ago
staphen
4a3a8f5a57
Validate spell IDs that are sent over the network
4 years ago
staphen
cab75ded6b
Check both SPL_NULL and SPL_INVALID to determine spell validity
4 years ago
Gleb Mazovetskiy
254806e027
Optimize translation RAM usage
...
1. Store all key data and all values data as 2 char arrays.
2. Change map keys to char pointers.
3. Change map values to offsets into the values array.
Example savings for Russian: 460 KiB -> 374.2 KiB (-85.8 KiB)
* Map: 68.5 KiB (with `string_view` keys it would be 101.5 KiB)
* Keys array: 108.7 KiB
* Values array: 197.0 KiB
4 years ago
Anders Jenbo
791a6b6266
Decode DRLG2 ASCII
4 years ago
Anders Jenbo
e09059c20e
Reuse DungeonMask for lockout in DRLG3
4 years ago
Anders Jenbo
8ed3cb476b
Clean up initial room generation
4 years ago
Andrew James
c479488fd7
Remove unnecessary assert ( #4911 )
4 years ago
Oleksandr Kalko
c84eabba22
Update Ukrainian translation ( #4860 )
4 years ago
Cesar Canassa
bb3fb36ddc
✨ Introduces FlipCoin() ( #4908 )
4 years ago
Vladimir Olteanu
f463f08642
Refactor FindClosestValidPosition to use Crawl
4 years ago
Vladimir Olteanu
bed5bd9ec1
Eliminate CrawlTable
4 years ago
Cesar Canassa
e538acb248
📝 Fixes Doxygen warnings ( #4904 )
4 years ago
Bubio
79410eab98
Localize the wording returned by the system on macOS/iOS.
4 years ago
Gleb Mazovetskiy
59a335a478
Bump SDL_audiolib
4 years ago