Anders Jenbo
aba0a8fc44
✅ Clean up name spacesage in tests
5 years ago
Anders Jenbo
69b11edace
[hellfire] 🐛 Apply the zen fix
...
Going over the change history of Hellfire and Diablo appears that the
difference was an early version of the fix from patch 1.07
5 years ago
Anders Jenbo
4082dee1c8
✅ Correct inv grid layout of multi tile items
5 years ago
Anders Jenbo
bba73ea20f
✨ Handle mixed item origins in multiplayer
5 years ago
Anders Jenbo
1fb0255d37
✅ Make sure the hero spawns in town
5 years ago
Anders Jenbo
a2656637e4
🎨 Format source
5 years ago
Anders Jenbo
0f2474fb01
✅ Assert unpacking of player
5 years ago
Anders Jenbo
8a3ab4ec3f
✅ Test 8 more item types
5 years ago
pionere
79ed3c897b
[diablo] 🐛 Better direction calculation
...
Rinos would have a slight inclination to move in the 4 main cardinal
directions.
Also missiles should more ofthen show the correct angle compared to
movment.
5 years ago
Anders Jenbo
932d093433
✅ Test GetDirection
5 years ago
pionere
a841be2708
✅ Test CrawlTable
5 years ago
Anders Jenbo
8f09cc3034
[diablo] 🐛 Correct spelling of Sorcerer
...
Fixes #1074
5 years ago
Anders Jenbo
4de1c05c17
✅ Test more item type generation
5 years ago
Anders Jenbo
38fdf34c14
💄 Apply code style
5 years ago
Anders Jenbo
31467cc949
♻️ Remove all usage of basic WIN32 types
...
Note that several WinAPI types are still in use (misc.h)
5 years ago
Anders Jenbo
17803d5923
♻️ Apply proper types to PlayerStruct
5 years ago
Anders Jenbo
e7ec90932a
💚 Expose AddStoreHoldRepair to the tests
5 years ago
Łukasz Łapiński
0f778fbb34
Inventory tests ( #1153 )
...
* Set up inventory tests; add scroll usage tests
* Add calculation and placement tests for gold
* Item removal tests
5 years ago
Xadhoom
f8db350eed
Fix test for pfile_write_hero()
5 years ago
Xadhoom
12c7b715cd
Add test for vanilla pfile_write_hero()
5 years ago
lkk7
e616e21f80
Set up inventory tests; add scroll usage tests
5 years ago
Anders Jenbo
53e4d82bbe
💚 Fix test builds
5 years ago
Anders Jenbo
e280432b92
🚨 Fix all SDL1 warnings
5 years ago
Anders Jenbo
ca75c302ef
✅ Test books and oils
5 years ago
Anders Jenbo
723ff62c20
✅ Fully test UnpackItem and PackItem
5 years ago
Anders Jenbo
6bf7de64b1
✅ Test packing an ear
5 years ago
Anders Jenbo
c71efb5960
✅ Better assertions on item generation tests
...
[Diablo/Hellfire] Also clear PkItemStruct when calling PackItem() to
avoid garbage data ending up in the saves.
5 years ago
Anders Jenbo
82858ceb79
✅ Test ear regeneration and multiplayer spell books
5 years ago
Anders Jenbo
036c9d2719
💰 Test gold stacks get's the correct icon
5 years ago
Anders Jenbo
8773faa512
Test regenerating items in Hellfire and Diablo
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
8742249ac7
Correct rounding erros in repair costs calculation
...
Fixes #997
5 years ago
Anders Jenbo
94e7ee9496
Add test for PM_DoGotHit
...
This maintains the lack of zen combination in Hellfire but uses the
frame spacing from Diablo for both.
5 years ago
Anders Jenbo
35bea2958c
Correct test
5 years ago
Anders Jenbo
32778cdbb9
Perfectly align all resolutions
6 years ago
Anders Jenbo
1ba5a18460
Correct test category names
6 years ago
Anders Jenbo
b813394b0c
Fix automap tests
6 years ago
Gleb Mazovetskiy
c9c1c323cd
mpqapi cleanup ( #624 )
...
* mpqapi FStreamWrapper: Fix silly bugs
* mpqapi cleanup
1. Do not rely on stream positions for getting the initial file size.
2. Remove most `seek` calls that were unnecessary.
3. Replace magic numbers with constants.
4. A class to manage archive lifetime and all associated data.
* Revert "Revert "mpqapi: Log all fstream calls""
This reverts commit e08007670f .
* mpqapi: Fix saves on Amiga
Works around https://github.com/bebbo/libnix/issues/30
* mpqapi: Fix logging format specifiers
This fixes fstream logging on Amiga
* mpqapi: Do not ResizeFile unless it was modified
* Add tests for file_util
* mpqapi: Replace malloc/free with new[]/delete[]
* mpqapi: Keep track of size instead of using tellp
This reduces log noise and reliance on `tellp`.
* mpqapi: Refactor mpqapi_write_file_contents
* mpqapi: Ensure we don't seekp beyond EOF on Amiga
* mpqapi: Minor fixes
* mpqapi: Fix FSTREAM_CHECK on Windows
* mpqapi: Remove undefined methods from header
6 years ago
Anders Jenbo
e7acf8900c
Fix unit tests
6 years ago
Anders Jenbo
9c35dbb7c8
Fully test AddFenceDoors
6 years ago
Anders Jenbo
1b55840e11
Add 9 test files
...
codec, dead, diablo, doom, drlg_l1, drlg_l2, drlg_l3, drlg_l4 and
effects
6 years ago
Anders Jenbo
532ca3cb10
Rename test files and use EXPECT_ instead of ASSERT_
6 years ago
Anders Jenbo
9092eb43e5
Test fatal functions in appfat.cpp
6 years ago
Anders Jenbo
03067f0702
Test SetCursor_()
6 years ago
Anders Jenbo
e49d14e095
Start testing control.cpp
6 years ago
Anders Jenbo
a5222a2684
Add unit tests and codecoverage
6 years ago