Commit Graph
2173 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 4ea3a4e941 Make Source/ dialogs call DiabloUI/dialogs.cpp
The diabdat.mpq absence error is handled by stubbing the art with solid
colors.
2019-10-03 08:17:32 +02:00
Anders Jenbo d2c4b461d4 Add option to compile shareware version 2019-10-01 17:42:40 +02:00
Anders Jenbo d2b1f0cfc8 Apply the Cel helper functions in a few more places 2019-09-30 11:50:18 +02:00
Anders Jenbo e97061f126 Correct bad definition of nDataSize 2019-09-28 17:14:54 +02:00
Anders Jenbo ed746a6d2d Fix Cl2DecodeFrm3 2019-09-28 17:10:43 +02:00
Anders Jenbo 1a2f2b5f52 Implement CelGetFrameClipped from the Mac 9 port 2019-09-28 06:07:24 +02:00
Anders Jenbo 64824cab2b Implement CelGetFrameStart 2019-09-28 06:07:24 +02:00
Anders Jenbo fae2be813a Merge branch 'master' of github.com:diasurgical/devilution 2019-09-28 04:31:04 +02:00
Anders Jenbo 6dd0893bce Implement CelGetFrameSize 2019-09-28 00:14:01 +02:00
Robin Eklind 5a2d1e2c83 Merge pull request #1743 from AJenbo/mac9
Implement CelGetFrame (CEL decoder helper)
2019-09-27 23:07:24 +02:00
Anders Jenbo ce6fc51b50 Implement CelGetFrame (CEL decoder helper)
This implements the first of the inlined CEL decoder helper functions
that are still visable in the Mac port code.

Functions are still bin exact
2019-09-27 21:02:44 +02:00
qndel ea5c8bd23a SpecialThemeFit cleanup 2019-09-27 15:49:48 +02:00
Anders Jenbo 890f414cb9 Small clean up of unused code 2019-09-27 07:02:04 +02:00
qndel 1516ad57ac GetManaAmount cleanup (#1737) 2019-09-27 03:16:26 +02:00
qndel 449b9fd2dc CastSpell cleanup 2019-09-27 02:46:00 +02:00
Anders Jenbo 743ebc2048 Always load MPQ files in read-only mode 2019-09-27 02:30:01 +02:00
Anders Jenbo e88e574c5f Drop unimplemented code 2019-09-26 07:32:47 +02:00
Anders Jenbo 06bcd3c3f9 Handle file paths in a clean way
Belated birthday present for @mewmew

Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
2019-09-26 07:32:47 +02:00
Anders Jenbo 606d5536f2 Set version and project name via CMake 2019-09-26 07:32:47 +02:00
qndel 0704393bc3 StoreAutoPlace cleanup 2019-09-26 01:13:58 +02:00
qndel d0421621c4 InitMonsterGFX cleanup 2019-09-26 01:13:38 +02:00
qndel 5253e28584 InitAutomap cleanup 2019-09-26 01:13:06 +02:00
qndel d3389f3f7c DrawSLine cleanup 2019-09-25 22:53:16 +02:00
qndel ddec3ce5bb PrintStoreItem cleanup 2019-09-25 22:06:05 +02:00
Anders Jenbo 1d03064fee Clean up sound code 2019-09-25 11:32:30 +02:00
Anders Jenbo 8ee689b803 Remove miniwin abstraction for disabeling the screensaver 2019-09-25 03:32:00 +02:00
Gleb Mazovetskiy 2cc0c2cfbb Clang: Remove -fms-extensions -fms-compatibility 2019-09-25 03:32:00 +02:00
Gleb Mazovetskiy 43a27e6f50 Also link SDL int devilution (Source) 2019-09-25 03:32:00 +02:00
Anders Jenbo 88813c4042 Strip some now unused parts of miniwin and windows api 2019-09-25 01:18:42 +02:00
Anders Jenbo da78f54712 Apply plr_class 2019-09-24 19:07:17 +02:00
Anders Jenbo 3de9b4b1e9 Clean up MPQ loading and make it more portable 2019-09-23 05:48:27 +02:00
Anders Jenbo 5b2a878945 Remove check for multiple application instances
(it's currently not working any way)
2019-09-23 05:48:27 +02:00
Anders Jenbo 55717bb429 Remove RegisterClassEx part of miniwin 2019-09-23 05:26:34 +02:00
Anders Jenbo 049178cb2e Clean up load/save code
Remove most call to memcpy in preperation for Big Endian support
Document what pointers are being skipped
Align save and load code (easier to verify that both are correct)
2019-09-22 01:27:26 +02:00
Anders Jenbo b90ef1336d Fix Segfault when loading game
Fixes #224
Not this breaks save games generated with master since 2019-07-15
2019-09-21 22:51:07 +02:00
qndel 32e519415a GetDirection cleanup 2019-09-21 17:01:37 +02:00
qndel 76eb0a3d68 MI_Firewall cleanup 2019-09-20 20:05:46 +02:00
qndel 4b0ffef781 AddRhino cleanup 2019-09-20 20:05:11 +02:00
qndel 880a5d6b72 AddStone cleanup 2019-09-20 20:05:00 +02:00
Robin Eklind d16f603537 all: remove unused storm imports
While no storm functions are called from these source files
it is determined that they included storm in the original
source files as made visible by the inclusion of infinity
in the data segments of the respective source files.

ref: diasurgical/devilution#1695.
2019-09-20 11:05:25 +02:00
qndel bba1ab1da9 AddResurrectBeam cleanup 2019-09-20 07:11:19 +02:00
qndel 4940163d0e AddTeleport cleanup 2019-09-20 04:43:47 +02:00
Robin Eklind 0b7fca12af multi: use sizeof(sgGameInitInfo) for initdatabytes 2019-09-19 03:32:40 +02:00
qndel a593f3a1d2 6 functions cleanup 2019-09-18 00:54:43 +02:00
qndel c629eb1e60 codec_decode cleanup (#1661) 2019-09-18 00:51:49 +02:00
qndel 13c957a445 Freeupstairs cleanup 2019-09-18 00:46:00 +02:00
qndel 12435a9317 SetSpell cleanup 2019-09-18 00:35:20 +02:00
qndel 6a1ab27a1a gmenu_clear_buffer cleanup 2019-09-17 14:56:53 +02:00
Anders Jenbo 56f04e1919 Update dthread.cpp 2019-09-17 04:40:41 +02:00
Anders Jenbo c5a9917aee Merge branch 'master' of github.com:diasurgical/devilution 2019-09-17 03:29:59 +02:00