238 Commits

Author SHA1 Message Date
Robin Eklind b13c002c14 control: add BUGFIX for loop termination in DrawGoldSplit 2021-08-03 07:14:53 +02:00
Robin Eklind ef64f49c4c control: add BUGFIX comment for DrawSpellBook
The render of the spellbook page 3 and page 4 buttons were both
off by one pixel.
2021-01-13 15:37:52 +01:00
qndel c4c2e0420c spell defines and macros (#2162) 2020-12-04 19:18:22 +01:00
Anders Jenbo 086cdf6afe Re order control.cpp 2020-11-02 02:36:48 +01:00
Gleb Mazovetskiy ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
Anders Jenbo 02ddab6a31 Apply SPLICONLENGTH 2020-10-12 09:08:42 +02:00
qndel ed11e3bde5 [hellfire] DrawSpellList bin exact 2020-10-12 06:54:05 +02:00
qndel 5d7eeddcc9 [hellfire] DrawChr bin exact 2020-10-12 05:28:23 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
qndel fb8955dd5c control_print_talk_msg cleanup 2020-10-10 14:52:45 +02:00
qndel a78d532e2c DrawGoldSplit cleanup 2020-10-10 14:52:16 +02:00
qndel af76de2563 CheckSBook cleanup 2020-10-10 14:51:39 +02:00
qndel f5ab247c42 CheckChrBtns cleanup 2020-10-10 14:51:05 +02:00
qndel 703ec92566 control_check_btn_press cleanup 2020-10-10 14:50:18 +02:00
qndel 0ef6d9e97b DoPanBtn cleanup 2020-10-10 01:13:50 +02:00
qndel f0f33571a6 DoSpeedBook cleanup 2020-10-10 00:53:56 +02:00
qndel 1e5554ec6f DrawChr cleanup 2020-10-09 12:42:03 +02:00
Anders Jenbo 76f63c9202 Fix icon offset 2020-09-28 15:37:31 +02:00
Anders Jenbo c2d54ad39e Decompose number 2020-09-28 02:03:40 +02:00
Anders Jenbo 2a3db5f316 Clean up DrawDurIcon 2020-09-28 01:51:51 +02:00
Anders Jenbo 29efef6987 Decompose cords in control_print_talk_msg() 2020-09-27 16:19:57 +02:00
Anders Jenbo cc09635b71 Calculate x posistion of PrintSBookStr 2020-09-27 15:43:43 +02:00
Tyler c803c6aa66 Calculate position of screen elements 2020-09-27 00:21:54 +02:00
Anders Jenbo 659dc41aa5 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-26 22:10:34 +02:00
qndel b0a8a38462 clean magic numbers 2020-04-26 19:49:05 +02:00
Anders Jenbo 630655d9e4 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-08 21:58:34 +02:00
Anders Jenbo edcd92e012 Misc clean ups that missed last round 2020-04-08 21:47:32 +02:00
Anders Jenbo c3cdc1c4ab Decompose magic numbers 2020-04-08 20:34:31 +02:00
Anders Jenbo 6704657e71 Apply sematic codestyle 2020-04-08 20:34:29 +02:00
Anders Jenbo 7db4ed749a Apply more enums, defines and types 2020-04-08 20:18:11 +02:00
Anders Jenbo c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo 684d6b73f8 Correct ifdef 2020-04-08 14:30:28 +02:00
Anders Jenbo 3f11876aba Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 10:48:11 +02:00
qndel 29682a296e fix pushed in buttons 2020-04-06 08:26:13 +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 53ccf38a8c Bool types 2020-04-06 05:43:20 +02:00
Anders Jenbo 31181b77c4 Bool comparisons 2020-04-06 05:43:20 +02:00
Anders Jenbo a02167a648 Use correct defines for variables
This also defines MAXRESIST and DEBUGSEEDS
2020-04-06 05:43:20 +02:00
Anders Jenbo 8f635b779c Correct style of checks 2020-04-06 05:43:20 +02:00
Anders Jenbo e8454376d3 Semantically get the first item instead of the array 2020-04-06 05:43:20 +02:00
Anders Jenbo 711665ee96 Assign correct data types 2020-04-06 05:43:20 +02:00
Anders Jenbo cab3ebddf5 Avoid some arrays being of predefined size
This makes it easier to change the array size via content
2020-04-06 05:43:20 +02:00
Anders Jenbo 0a1b4d347c Create defines for spell icons
This will avoids a lot of Hellfire ifdef and generally makes the
caluclations cleaner
2020-04-06 05:43:20 +02:00
Anders Jenbo c39f668deb Enable some asserts that are helpful for testing 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 187a021b30 More documentation from sanctuary/notes (#2026) 2020-03-30 11:31:36 +02:00
galaxyhaxz c632e2d1d0 Names and bug fixes (#1974) 2020-03-12 04:32:53 +01:00
Anders Jenbo d6f70c56ce Format files 2020-03-01 22:48:17 +01:00
Anders Jenbo 3c276a3cd3 Add documentation
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
2020-03-01 22:18:00 +01:00