Commit graph

250 commits

Author SHA1 Message Date
Gleb Mazovetskiy
01401a16c7 Fix various controller issues
* Fixes Right Stick cursor movement
* Fixes cursor flicker when moving the cursor while moving the character
* Fixes START + SELECT menu
* Makes SELECT act as Escape in the in-game menu

Fixes #930
2020-11-28 15:02:53 +00:00
qndel
c4921b3838 fix typos 2020-11-20 08:39:13 +01:00
qndel
a61f969d26
fix typos (#914) 2020-11-12 13:09:13 +01:00
Anders Jenbo
72e2637061 Merge branch 'master' of github.com:diasurgical/devilution 2020-10-25 17:38:06 +01:00
Gleb Mazovetskiy
ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
Anders Jenbo
2d6c1efeab Merge branch 'master' of github.com:diasurgical/devilution 2020-10-12 10:46:28 +02:00
qndel
b81d2eb831
some cleanups (#2099) 2020-10-12 00:42:02 +02:00
Anders Jenbo
7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
Anders Jenbo
56eae4c277 Merge branch 'master' of github.com:diasurgical/devilution 2020-10-06 17:27:03 +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
Colin Pitrat
0ea1b81772 Fix typos 2020-10-04 14:17:31 +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
qndel
8ca1506139
fix typos (#766) 2020-08-03 16:15:03 +02:00
Anders Jenbo
1ba96a6777 Add doxygen description to remaining engine files 2020-07-06 05:43:25 +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
014308ef01 Explicit casting 2020-05-14 11:44:15 +02:00
Anders Jenbo
2104bf2af2 Fix rendering towners with bad lighting data
dFlags appears to contain garbage in the BFLAG_LIT for town. This wasn't
an issue originally since it wasn't being checked when rendering
towners.
2020-05-12 13:09:17 +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
659dc41aa5 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-26 22:10:34 +02:00
Anders Jenbo
7108145a04 Merge branch 'master' of github.com:diasurgical/devilution 2020-04-14 15:30:49 +02:00
Anders Jenbo
3b8bcf98bf Enable assertions 2020-04-11 15:22:40 +02:00
Anders Jenbo
e7567859ee Remove C fallback code 2020-04-11 15:22:40 +02:00
Anders Jenbo
d008af43b0 Semantic code style cleanups 2020-04-11 15:22:40 +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
3c5982083f Merge branch 'master' of github.com:diasurgical/devilution 2020-04-06 12:05:13 +02:00
Anders Jenbo
3f11876aba Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 10:48:11 +02:00
qndel
5191237f42
enums and stuff (#2024) 2020-04-06 08:04:14 +02:00
Anders Jenbo
cc0f92d45b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 06:09:30 +02:00
Anders Jenbo
660405505f Remove C compat
It's unmaintained and clear that we won't be going back since some
functions can only be solved with C++
2020-04-06 05:43:20 +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
68e1e618c9 Probe for null tiles and arches when applying anit-eflag rendered fix 2020-03-28 17:44:34 +01:00
Anders Jenbo
af4ef7b19b Fix rendering the ground part of foliage 2020-03-23 14:13:33 +01:00
galaxyhaxz
c632e2d1d0
Names and bug fixes (#1974) 2020-03-12 04:32:53 +01:00
Anders Jenbo
e4df9319b0
Fix render order (#639) 2020-03-10 10:33:59 +01:00
Anders Jenbo
58e3192ef9 Merge branch 'master' of github.com:diasurgical/devilution
Fixes #620
2020-02-29 18:18:45 +01:00
galaxyhaxz
81ff8e6287 Metallic hydrogen neural array 2020-02-28 16:35:57 -06:00
Anders Jenbo
9c06b7f60c Merge branch 'master' of github.com:diasurgical/devilution 2020-02-16 05:08:40 +01:00
Anders Jenbo
ab453a5bb0 Correct some documentation 2020-02-16 05:00:36 +01:00
Anders Jenbo
e7e51abd13 Document remaning functions in render related files 2020-02-16 04:01:52 +01:00
Anders Jenbo
f1616060e5 Document CL2 render functions 2020-02-15 17:06:31 +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
edeca6574d Replace tagRECT with SDL_Rect 2020-02-01 15:43:51 +01:00