Anders Jenbo
6be9d37a57
🐛 Fix unitialized variables in the rendere
2021-03-04 19:27:05 +01:00
Gleb Mazovetskiy
d55a1c8a7d
Pass CelOutputBuffer to game text printing ( #1095 )
...
* Pass CelOutputBuffer to game text printing
* DrawHalfTransparentRectTo: minor cleanup
2021-03-03 18:20:24 +01:00
Gleb Mazovetskiy
83ce7c27af
Enginify trans_rect
...
Moves `trans_rect` to `engine` as `DrawHalfTransparentRectTo` and makes
it operate on `CelOutputBuf`.
2021-03-03 12:07:07 +01:00
Gleb Mazovetskiy
588458d500
Remove gpBufStart
...
Was only set once and used in one place since #964
2021-03-01 02:20:21 +01:00
Gleb Mazovetskiy
8283f85e24
Engine: Functions to render to any buffer
...
Refactor the rendering functions to allow rendering to any output
buffer.
New functions that accept a buffer have the `To` suffix.
The functions that render to the global buffer now always accept
coordinates.
2021-02-27 17:49:39 +01:00
Anders Jenbo
36a196389b
Fix remaning basic compiler errors and warnings
2021-02-22 13:51:42 +01:00
qndel
0958cd456c
fix typos ( #1028 )
2021-02-20 20:28:21 +01:00
Anders Jenbo
3dae37501c
Fix partial screen updating
2021-02-20 06:56:14 +01:00
Anders Jenbo
a90922939f
Log errors in game state during rendering
2021-02-19 23:26:01 +01:00
pionere
f5c1079d6f
eliminate unused code
2021-02-19 22:04:11 +01:00
pionere
d5a0fa8e85
get rid of a few warnings
2021-02-19 22:04:11 +01:00
FluffyQuack
790c8e17e5
Implemented blended tranparency
2021-02-19 05:57:48 +01:00
Anders Jenbo
60d3e9ceb1
Clean up rendering
2021-02-19 03:05:12 +01:00
qndel
ab9911064f
unify checks for single and multiplayer
2021-02-18 22:32:01 +01:00
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
2021-01-07 02:29:06 +01:00
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
Anders Jenbo
df35042111
[hellfire] Highlight items during search
2020-12-15 17:07:05 +01:00
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
0947ede2fe
Cleanup11 ( #2156 )
2020-11-12 15:11:07 +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