Commit Graph
113 Commits
Author SHA1 Message Date
Anders Jenbo d20eddf48e Unifcy a chunk of Hellfire's code pathts 2020-12-28 01:11:25 +01:00
Anders Jenbo 61b2d0de95 Merge branch 'master' of github.com:diasurgical/devilution 2020-12-16 02:24:39 +01:00
qndel f137159b8d monsters cleanup 2020-11-10 20:12:55 +01:00
Anders Jenbo 2d6c1efeab Merge branch 'master' of github.com:diasurgical/devilution 2020-10-12 10:46:28 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
Anders Jenbo 32778cdbb9 Perfectly align all resolutions 2020-10-06 06:28:51 +02:00
Anders Jenbo 146516467b Force alignment on even/even and odd/odd resolutions 2020-10-05 01:34:11 +02:00
Anders Jenbo 52f46027da Optimize even/odd colculation 2020-10-04 01:13:31 +02:00
Anders Jenbo 893efd51ea Merge branch 'master' of github.com:diasurgical/devilution 2020-09-27 03:34:42 +02:00
Anders Jenbo 31ac716c3d 99 lines of documentation (#2058) 2020-07-07 19:36:18 +02:00
Anders Jenbo 9d68312aa1 Check that cursor is inside of the level 2020-05-15 19:12:03 +02:00
Anders Jenbo 9acbcc69f9 Width independant vertical alignment, optimize zoom 2020-05-15 19:12:03 +02:00
Anders Jenbo 54741abc87 Correct check for panel when zoomed 2020-05-12 13:10:56 +02:00
Anders Jenbo cb4cb653e7 Merge branch 'master' of github.com:diasurgical/devilution 2020-05-12 13:09:06 +02:00
Anders Jenbo 8c2fb7605e Use defines for tile and screen related magic numbers 2020-05-11 23:21:27 +02:00
Anders Jenbo af7f3f0f27 Bugfix for CheckCursMove (#2046) 2020-05-08 16:56:33 +02:00
Anders Jenbo 7108145a04 Merge branch 'master' of github.com:diasurgical/devilution 2020-04-14 15:30:49 +02:00
Anders Jenbo f066b57cd0 Merge master in to hellfire 2020-04-09 02:14:08 +02:00
Anders Jenbo 2ec7c78eae Format source 2020-04-08 22:28:53 +02:00
Anders Jenbo 630655d9e4 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-08 21:58:34 +02:00
Anders Jenbo cc280eeba3 Enable asserts in files that where cleaned 2020-04-08 20:41:11 +02:00
Anders Jenbo 7db4ed749a Apply more enums, defines and types 2020-04-08 20:18:11 +02:00
Anders Jenbo c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo e6e0ebe15a Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-07 03:46:20 +02:00
Anders Jenbo f1c216e688 Make player struct x/y fields match monster struct 2020-04-07 03:26:38 +02:00
Anders Jenbo b040c04a18 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-04 07:56:06 +02:00
Anders Jenbo 776ab10476 Merge branch 'master' of github.com:diasurgical/devilution 2020-03-29 23:40:05 +02:00
Anders Jenbo f7e2283702 Reorder globals 2020-03-12 04:33:58 +01:00
Anders Jenbo 3c276a3cd3 Add documentation
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
2020-03-01 22:18:00 +01:00
Anders Jenbo 25993b4043 Merge branch 'master' of github.com:diasurgical/devilution 2020-02-14 23:03:31 +01:00
Anders Jenbo 20621a0642 add all.h and use in place of diablo.h (#2005)
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.

Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
2020-02-14 13:12:54 +01:00
Anders Jenbo 40ba1e7a6f Merge branch 'master' of github.com:diasurgical/devilution 2020-02-01 14:48:39 +01:00
galaxyhaxz 38c748b6fd Add network commands and cursors (#1967) 2020-01-17 13:37:22 -06:00
Marco 29b9c99e5a added some more values from enums (#1955) 2020-01-14 17:30:13 +01:00
Anders Jenbo 7d8d10f00e [controller] Correctly prioritice multiple talkers
This makes is easier to deal with Lazurus when skipping his trigger
2019-12-22 02:56:37 +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
Anders Jenbo 85ab626437 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-15 02:22:17 +01:00
Anders Jenbo af0a7c0653 Apply SPANEL_WIDTH 2019-11-10 22:35:17 +01:00
Anders Jenbo d33a814441 Update cursor.cpp 2019-11-09 20:04:44 +01:00
qndel f1de846ccb clicking on the sides of main panel and below side panels 2019-11-07 21:42:46 +01:00
Xadhoom 2134b10d64 more unsigned shifts with cursor handling 2019-11-07 00:41:24 +01:00
Anders Jenbo 45844b71ae Make controls more responsive
- Fix double events
- Fix ignored events
- Allow moving diagonal in the inventory
- Fix mouse wobbling in inventory when scalling
- Make controler actions cursor independants
- Make sure secoundery and primery key doesn't fire each others events
- Highlight both primary and secondary target
- Automatic switch between controller and keyboard+mouse
- Allow the user to change facing direction when blocked
- Make code event based instead of relying on time outs
2019-11-06 02:13:07 +01:00
Gleb Mazovetskiy 113ef2e283 Fix item flickering 2019-11-06 02:13:07 +01:00
Anders Jenbo 5a722eee82 Allows left clicking outside panels 2019-10-28 04:41:59 +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 4e8a8d2157 Merge remote-tracking branch 'refs/remotes/devilution/master' 2019-10-26 13:43:28 +02:00
Anders Jenbo 92ab05ea13 Decompose more magic numbers 2019-10-26 00:24:55 +02:00
Anders Jenbo 2348c3a8fd Documentations, enums and clean ups 2019-10-21 19:33:14 +02:00
galaxyhaxz 1c56b59ae8 CheckCursMove bin exact 2019-09-09 03:30:41 +02:00