Anders Jenbo
74b57558c9
🚚 Move local code to anonymous namespace
2021-07-10 17:30:15 -07:00
Anders Jenbo
9ebdb6db69
General clean up
2021-07-08 03:30:25 -07:00
Gleb Mazovetskiy
55464eec78
Fix -Wmissing-braces
...
Fixes warnings such as this one:
```
../../../../../../Source/engine/render/text_render.hpp:83:33: warning: suggest braces around initialization of subobject [-Wmissing-braces]
return DrawString(out, text, { position.x, position.y, out.w() - position.x, 0 }, flags, spacing, lineHeight, drawTextCursor);
^~~~~~~~~~~~~~~~~~~~~~
```
2021-07-03 19:08:45 -07:00
Anders Jenbo
4eabc6024b
Apply various cleanups via Android Studio
2021-07-03 18:27:17 -07:00
Gleb Mazovetskiy
cb0dae8590
🚚 Rename CelOutputBuf to Surface and extract
2021-07-03 05:33:32 -07:00
Anders Jenbo
6ce8f13751
Apply clang-tidy to more code and do some related cleanups
2021-05-24 05:27:06 +02:00
Anders Jenbo
6acb49bea4
Render quest and menu text using common text rendering
2021-05-21 04:23:49 +02:00
Anders Jenbo
d723ebce1a
Render help text using common text rendering
2021-05-19 14:09:33 +02:00
Anders Jenbo
2600b44141
Remove old help text
...
The help for the shareware version appears to be an older and more verbose version that simply was never updated (both are unchanged between 1.00 and 1.09).
2021-05-17 02:45:05 +02:00
arcas
6502a3ca4d
Adding resources for translation ( #1973 )
2021-05-15 14:12:28 +02:00
Anders Jenbo
18aa04fa4f
♻️ Use common text rendering for store menus
2021-05-14 19:11:43 +02:00
Anders Jenbo
8361e70087
♻️ Use DrawString in error.cpp
2021-05-08 18:48:19 +02:00
Anders Jenbo
68923c6c33
✨ Generic game text render function
...
This should gradually replace all the direct rendering of game texts
throughout the code. The interface is made to closly mirror that of the
art fonts as that is what will eventually be used for rendering Unicode
fonts both in the menus and ingame.
fixup! ✨ Generic game text render function
2021-05-08 18:48:19 +02:00
Anders Jenbo
4a7ba94702
🎨 Run clang-format
2021-05-07 23:26:39 +02:00
Anders Jenbo
b69d18f12d
🌐 Enable translation of all remaning strings
2021-04-25 21:32:41 +02:00
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
2021-04-25 18:14:58 +02:00
Anders Jenbo
d024f79b0e
🧹 performance-unnecessary-value-param
2021-04-22 00:08:19 +02:00
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
2021-04-16 01:04:54 +02:00
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
2021-04-09 15:13:02 +02:00
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
2021-04-09 15:13:02 +02:00
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
2021-04-06 15:21:25 +02:00
Anders Jenbo
630e507f63
🚚 Apply namespace
2021-04-06 15:21:25 +02:00
Anders Jenbo
2362ff82f7
✨ Add black text color
2021-03-27 23:04:19 +01:00
Gleb Mazovetskiy
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
2021-03-17 23:37:58 +01:00
Gleb Mazovetskiy
fd70879577
Migrate DrawSLine away from gpBuffer
...
Also applies bugfix
2021-03-13 02:26:11 +01:00
Juliano Goncalves
53e1d6b50d
✨ Equip & unequip items with shift click.
2021-03-12 03:02:27 +01:00
Juliano Goncalves
fc1d9b684f
✨ Allow shift+click moving to inventory
2021-03-11 19:18:22 +01:00
Juliano Goncalves
5287d6e329
✨ Allow shift+click moving to belt
2021-03-11 05:24:59 +01:00
Anders Jenbo
2923ad043a
🚸 Shift+click to clear the readied spell
2021-03-05 00:53:51 +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
Juliano Leal Goncalves
aa89fb838d
Replace 'Left Click' with 'Left Mouse Button' on help screen shortcuts
2021-02-27 23:59:25 +01:00
pionere
f5c1079d6f
eliminate unused code
2021-02-19 22:04:11 +01:00
Juliano Leal Goncalves
0c19d43ee8
Replace "hot key" occurrences with "hotkey"
2021-02-17 19:49:23 +01:00
Juliano Goncalves
20c44a08ca
Spend all stat points with shift click
2021-02-17 19:07:39 +01:00
Anders Jenbo
d68c8c1cc8
Fix issues related to cross loading save games
2021-01-17 04:49:23 +01:00
Anders Jenbo
6f8f4c3293
Unify another chunk of simple Hellfire code paths
2021-01-07 07:19:07 +01:00
Anders Jenbo
5bdbf18902
Merge branch 'master' of github.com:diasurgical/devilution
2021-01-05 22:44:11 +01:00
Anders Jenbo
a006a25b62
Clean up variable names
2021-01-03 03:05:42 +01:00
Anders Jenbo
43b5dea6e5
Merge branch 'master' of github.com:diasurgical/devilution
2020-11-03 00:56:51 +01:00
Anders Jenbo
e9ab91789f
Reorder help.cpp
2020-11-02 20:06:42 +01:00
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
2020-10-20 19:42:01 +02:00
Anders Jenbo
ad2ac2aeeb
Merge branch 'master' of github.com:diasurgical/devilution
2020-10-15 03:55:36 +02:00
Anders Jenbo
b79a26bc96
Clean up DrawHelp
2020-10-15 01:25:08 +02:00
Juliano Leal Goncalves
18aa44277f
Fix incorrect spelling of 'right-click[ing]'
2020-10-07 04:16:18 +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
Anders Jenbo
7108145a04
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-14 15:30:49 +02:00
Anders Jenbo
d008af43b0
Semantic code style cleanups
2020-04-11 15:22:40 +02:00