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
bf02e0710b
Fix calculating text speed for text containing line breaks
2021-01-25 04:26:36 +01:00
Anders Jenbo
2845ea9624
Use anon namespace for local symbols
2021-01-25 00:03:02 +01:00
Anders Jenbo
e0d844eb47
Fix Windows builds
2021-01-24 23:53:02 +01:00
Anders Jenbo
757fd4d33d
Full document and further clean up minitext.cpp
2021-01-24 23:45:53 +01:00
Anders Jenbo
beca185e5b
Deduplicate some code in minitext.cpp
2021-01-24 22:52:16 +01:00
Andi
03b989f6f4
Dynamic speed scrolling text ( #985 )
2021-01-24 21:59:36 +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
b62b3375bd
Merge branch 'master' of github.com:diasurgical/devilution
2020-10-13 02:05:36 +02:00
Anders Jenbo
4e7e3e0b46
0 1 0 0 1 ... 2
2020-10-13 01:35:19 +02:00
Tyler
ecde1f647e
Adjust UI to any resoution
2020-09-28 07:01:27 +02:00
Anders Jenbo
893efd51ea
Merge branch 'master' of github.com:diasurgical/devilution
2020-09-27 03:34:42 +02:00
Tyler
c803c6aa66
Calculate position of screen elements
2020-09-27 00:21:54 +02:00
Joel Falcou
9ba87895ae
Fix issue with NPC/Quest text scrolling
...
Scrolling text were abruptly closing while the audio
played right. This patch fix a simple error on the
scrolling loop so the corretc variable is used to make
the scrolling happens
2020-04-17 15:58:58 +02:00
Anders Jenbo
7108145a04
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-14 15:30:49 +02:00
Robin Eklind
7873bd4356
minitext: fix variable names of minitext.cpp
...
The variable names were mixed up.
sgLastScroll -> qtextSpd
scrolltexty -> qtextDelay
qtextSpd -> sgLastScroll
2020-04-14 01:12:28 +02:00
Anders Jenbo
3c5982083f
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-06 12:05:13 +02:00
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
2020-03-30 11:31:36 +02:00
Anders Jenbo
776ab10476
Merge branch 'master' of github.com:diasurgical/devilution
2020-03-29 23:40:05 +02:00
Anders Jenbo
0383f9abcd
Add documentation to more files
2020-03-02 02:29:28 +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
08aa6a860a
Move generic helpers out of miniwin
2020-02-01 13:56:08 +01:00
Anders Jenbo
d46ae517d0
Merge remote-tracking branch 'refs/remotes/devilution/master'
2019-10-28 03:14:06 +01:00
Anders Jenbo
71adfe509e
Document more attributes
2019-10-28 03:05:40 +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
Anders Jenbo
d354bd9767
Lock framerate at vsync instead of 20fps
...
Since most animations are still controlled by the game logic the only
real benefit is smoother mouse and scrolling text, but it's a start :)
2019-10-20 15:59:47 +02:00
Anders Jenbo
113b060e03
Use cel function to render PrintQTextChr
2019-10-20 15:59:47 +02:00
Anders Jenbo
da679a66a6
Convert inc file to a function
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
d2b1f0cfc8
Apply the Cel helper functions in a few more places
2019-09-30 11:50:18 +02:00
Anders Jenbo
f605138c79
Strip ASM code
2019-08-26 13:33:03 +02:00
Anders Jenbo
2fcf8dab70
Merge branch 'master' of github.com:diasurgical/devilution
2019-07-21 19:39:17 +02:00
Anders Jenbo
9d3ce818f0
Correct BOOLS
2019-07-21 19:11:11 +02:00
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
2019-07-21 04:10:31 +02:00
Anders Jenbo
5ab9f4609a
Clean up signedness
2019-07-21 00:57:53 +02:00
Xadhoom
148a7be44d
Merge upstream branch 'devilution/master'
2019-07-10 17:04:38 +00:00
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
2019-07-08 04:12:12 +02:00
Anders Jenbo
7c071924ad
Format recently cleaned code
2019-07-06 05:13:01 +02:00
Anders Jenbo
f187fe7d3a
Merge branch 'master' of github.com:diasurgical/devilution
2019-06-22 18:14:48 +02:00
Anders Jenbo
a7788ccddf
Format bin exact code
2019-06-17 04:55:41 +02:00
Anders Jenbo
e6f4e21631
Merge branch 'master' of github.com:diasurgical/devilution
2019-06-16 19:18:19 +02:00
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
2019-06-05 20:13:34 +02:00
Anders Jenbo
35b6b738af
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-01 15:17:36 +02:00
galaxyhaxz
d8b3e7ab37
DrawQText ( #1091 )
2019-05-01 05:32:19 -05:00