Anders Jenbo
433edc63ea
♻️ Consistently use pragma once to guard the headers
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Juliano Leal Goncalves
9021f8daa5
♻️ Pluralize global 'item' array variable
5 years ago
Anders Jenbo
b53c624f59
💄 Change animal type color to yellow
5 years ago
Anders Jenbo
c8f2f09e03
♻️ Improve HP guard
5 years ago
Anders Jenbo
ccad226092
🐛 Fix health bar poping when mosnter healt is 0
5 years ago
Anders Jenbo
ae82fb0b23
🐛 Make health bar take panels in to consideration
...
Fixes #1350
5 years ago
Juliano Leal Goncalves
1bb12b1bfb
♻️ Refactor 'HasRoomForGold' function for readability/robustness
5 years ago
Juliano Leal Goncalves
18b9b51a5e
🐛 Check correct inventory gold piles when auto-picking up gold
...
Off by one error in the logic when indexing into 'InvList'
5 years ago
Bardur Arantsson
184fbde1fd
Issue app_fatal() message if we cannot find QoL assets
5 years ago
Anders Jenbo
1ebf1c6b4e
🐛 Do not render health bar if graphics are missing
5 years ago
Bardur Arantsson
15ade5ccb5
Avoid static non-PODs
5 years ago
Anders Jenbo
30d013edf9
💄 Lower icons to not obscure long names
5 years ago
Anders Jenbo
699e451611
💄 Adjust visual style of new UI elements
5 years ago
Anders Jenbo
cee6029da0
🔥 Rely less on storm.h
5 years ago
Juliano Leal Goncalves
800dbce066
♻️ Move options-related structs to new 'options.h' file
5 years ago
Juliano Leal Goncalves
1bf3fd6f35
🚩 Add ini toggle for displaying monster type. Disabled by default.
5 years ago
Anders Jenbo
a46c522882
🐛 Fix check in HasRoomForGold
5 years ago
Anders Jenbo
1bd8fb281a
♻️ Don't do calculations unless needed
5 years ago
Gleb Mazovetskiy
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
5 years ago
Anders Jenbo
43639b6d37
🐛 Do not pickup gold if inventory is full
5 years ago
Gleb Mazovetskiy
cd59a1c323
Completely replace gpBuffer with CelOutputBuffer
...
`CelOutputBuffer` now contains an `SDL_Surface` and an `SDL_Rect`.
We now have access to SDL surface manipulation functions.
`gpBuffer` and `gpBufEnd` are completely gone 🧹
This results in some FPS loss (250 -> 195) recovered in a subsequent
commit.
5 years ago
Gleb Mazovetskiy
599d2e5e38
Migrate QOL away from gpBuffer
5 years ago
Anders Jenbo
75b351e692
✨ Add sound for auto gold pickup
...
Fixes #1120
5 years ago
Juliano Leal Goncalves
103cde53ff
♻️ Make options struct hierarchical
5 years ago
qndel
2d055e3a2e
✨ Auto pickup gold
5 years ago
Anders Jenbo
e280432b92
🚨 Fix all SDL1 warnings
5 years ago
qndel
82ab76b22b
✨ Experience bar
5 years ago
qndel
be895274dc
✨ Monster health bar
5 years ago