Commit Graph
311 Commits
Author SHA1 Message Date
Robin Eklind 27b40436a9 Use pointers instead of references for Devilution exported API
With this change, all exported declarations of Devilution are now
compatible with the C-ABI; that is, all declarations of Source/*.h.

This makes it possible to link against DevilutionX from mods written in
other languages than C++, for instance Rust, Go or Python.

Updates #612.
2020-02-14 22:41:13 +01:00
Anders Jenbo 40ba1e7a6f Merge branch 'master' of github.com:diasurgical/devilution 2020-02-01 14:48:39 +01:00
Anders Jenbo 08aa6a860a Move generic helpers out of miniwin 2020-02-01 13:56:08 +01:00
qndel 3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Marco df2e6b2bb9 affix_item_type enum 2020-01-14 19:12:16 +01:00
Marco 29b9c99e5a added some more values from enums (#1955) 2020-01-14 17:30:13 +01:00
Marco 4626450e11 some more item based enum consts 2019-12-30 22:03:43 +01:00
Anders Jenbo da03bae69d Merge branch 'master' of github.com:diasurgical/devilution 2019-12-25 20:38:25 +01:00
Anders Jenbo 34238dc30a UITYPE_INVALID 2019-12-25 04:10:26 +01:00
Anders Jenbo 0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
Anders Jenbo 9a704ff2f0 Merge branch 'master' of github.com:diasurgical/devilution 2019-12-19 01:05:01 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
Gleb Mazovetskiy 6bb3c14073 Fix OOB in ItemSpaceOk (#484) 2019-12-03 02:13:09 +01:00
Anders Jenbo 284b96cb45 Add bugfix note to ItemSpaceOk 2019-12-03 00:40:50 +01:00
galaxyhaxz 9c98c1e43d Fix all "pass by ref" functions 2019-12-02 09:16:01 +01:00
Anders Jenbo af0a7c0653 Apply SPANEL_WIDTH 2019-11-10 22:35:17 +01:00
Anders Jenbo 215ff59e65 Merge branch 'master' of github.com:diasurgical/devilution 2019-11-01 00:06:53 +01:00
galaxyhaxz 67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
Anders Jenbo 8976e4fd39 Check if panels conver the screen before affecting the viewport 2019-10-28 03:31:26 +01:00
Anders Jenbo 71adfe509e Document more attributes 2019-10-28 03:05:40 +01:00
Anders Jenbo dc157d82b2 Align unique item info box 2019-10-28 02:03:17 +01:00
Anders Jenbo 4e8a8d2157 Merge remote-tracking branch 'refs/remotes/devilution/master' 2019-10-26 13:43:28 +02:00
Robin Eklind e155a9423e rename random to random_ to avoid collision with random in stdlib.h
Fixes #1813.
2019-10-21 09:56:36 +02:00
Anders Jenbo da679a66a6 Convert inc file to a function 2019-10-20 15:59:47 +02:00
Anders Jenbo 337bc9b125 Render text in screen cordinates instead of buffer offsets 2019-10-20 15:59:47 +02:00
Anders Jenbo 40cb1c01f0 Calcualte SStringY instead of using a prebaked table 2019-10-20 15:59:47 +02:00
Anders Jenbo ad7a621e5f Drop PitchTbl to avoid resolution restriction 2019-10-20 15:59:47 +02:00
Anders Jenbo a0baa92ef0 Merge branch 'master' of github.com:diasurgical/devilution 2019-10-13 19:59:26 +02:00
Anders Jenbo 6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
Anders Jenbo d840f388c7 Merge branch 'master' of github.com:diasurgical/devilution 2019-10-08 22:05:10 +02:00
qndel 7129558d0b apply enums 2019-10-05 15:24:44 +02:00
Anders Jenbo 683a50527d Correct missmatched bool types 2019-10-04 09:26:26 +02:00
qndel 6b286941f3 enums 2019-10-02 22:24:37 +02:00
qndel 23386285a9 GetStaffPower cleanup 2019-10-02 06:47:17 +02:00
Anders Jenbo c5a9917aee Merge branch 'master' of github.com:diasurgical/devilution 2019-09-17 03:29:59 +02:00
qndel 8741ddc6c2 SetupItem cleanup 2019-09-16 02:51:10 +02:00
qndel afa1306e91 GetUniqueItem cleanup 2019-09-16 02:50:05 +02:00
qndel 2f6a428f4b ProcessItems cleanup 2019-09-16 02:48:07 +02:00
qndel a47a797468 RecreateEar cleanup 2019-09-16 02:26:34 +02:00
Robin Eklind 46add07dbf Merge pull request #1654 from qndel/SortSmith
SortSmith cleanup
2019-09-16 01:50:57 +02:00
Robin Eklind c9f9e70139 Merge pull request #1653 from qndel/SortHealer
SortHealer cleanup
2019-09-16 01:44:22 +02:00
qndel 33b3711662 SortSmith cleanup 2019-09-16 01:37:03 +02:00
qndel b47af60b6f SortHealer cleanup 2019-09-16 01:11:21 +02:00
qndel a5de88ab39 SortWitch cleanup 2019-09-16 01:08:30 +02:00
qndel a05071551a CalcPlrItemMin cleanup 2019-09-16 00:00:19 +02:00
Anders Jenbo 14f8c9368a Merge branch 'master' of github.com:diasurgical/devilution 2019-09-13 17:51:58 +02:00
qndel d9fdfdaeec RecreateHealerItem cleanup 2019-09-08 10:25:27 +02:00
qndel 9f3bb09635 RecreateSmithItem cleanup 2019-09-08 10:24:54 +02:00
qndel 607051c0b6 ItemNoFlippy cleanup 2019-09-08 10:17:31 +02:00
qndel d4ae8e5606 Clean up CreatePlrItems 2019-08-31 08:30:56 +02:00