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
Gleb Mazovetskiy
d07ac14440
Handle nullptr localtime
...
`localtime` can return `nullptr` on some platforms (e.g. NXDK)
Improve portability by handling the `nullptr` result.
4 years ago
Gleb Mazovetskiy
39ff1825c1
drlg_l2.cpp: Fix `-Wmissing-braces` from clang
4 years ago
Gleb Mazovetskiy
ac15c3bbb4
MpqWriter: No `std::ios::in` for new archives
4 years ago
Gleb Mazovetskiy
a23ad0113b
MpqWriter constructor: Better error message
4 years ago
Gleb Mazovetskiy
a1aed18c8b
ReadOnlyTest: Use "w" mode instead of "wt"
...
There is no reason to open that file in text mode explicitly
4 years ago
Gleb Mazovetskiy
bfc5639e6b
Fix DVL_EXCEPTIONS on clang
4 years ago
Gleb Mazovetskiy
850f4d0a8c
Bump libmpq
...
Includes 1f4327d2b3
and 6a9fbdc7ed
4 years ago
Mikołaj Piróg
15989609a8
Members' name changes and comments in Monster struct ( #4861 )
4 years ago
Cesar Canassa
de971c6a8b
♻️ Refactor AddMonster to return a monster pointer ( #4894 )
4 years ago
obligaron
3c571bf64b
Avoid overflow of tickCounterOfCurrentFrame ( #4893 )
...
* When MFLAG_ALLOW_SPECIAL is set, don't call processAnimation (avoid overflow of tickCounterOfCurrentFrame)
4 years ago
aetn23
bf568fe480
Remove assert to check if value is in bounds
4 years ago
Cesar Canassa
0d106beaf3
♻️ Refactor M_StartHit to receive a Monster reference
4 years ago
Cesar Canassa
b1275d0163
Renamed m variable into monsterId
4 years ago
Cesar Canassa
443f88b0f7
Rename MonsterTrapHit m parameter to monsterId
4 years ago