Anders Jenbo
6ed0060b37
Add performance messuring
2023-09-19 05:20:54 +02:00
Anders Jenbo
83e0e9e908
Add frame counter to release builds
2023-09-18 20:02:57 +02:00
Robin
a401471daf
diablo: add BUGFIX for PressChar; out-of-bounds access to dungeon ( #2266 )
...
* diablo: add BUGFIX for PressChar; out-of-bounds access to dungeon
* diablo: update BUGFIX comment of PressChar, should be dPiece not dungeon
Pointed out by @galaxyhaxz in https://github.com/diasurgical/devilution/pull/2266#discussion_r786302976
2022-01-17 18:38:37 -06:00
Anders Jenbo
adf5f8f504
Clean up hellfire related code
2021-01-31 13:37:42 +01:00
FluffyQuack
e3d1b19761
A bunch of comments explaining how variables are used. Mainly for structs.h, but a tiny bit for movement code and game loop as well.
2021-01-19 03:44:47 +01:00
Anders Jenbo
a006a25b62
Clean up variable names
2021-01-03 03:05:42 +01:00
Anders Jenbo
83de2be78a
[hellfire] StartGame
2020-12-11 11:54:25 +01:00
Anders Jenbo
0f1956990a
Clean up diablo_reload_process
...
Good stuff from #1948
2020-12-11 09:47:58 +01:00
Anders Jenbo
145283aaeb
[hellfire] Correct function call in TryIconCurs
2020-12-11 09:42:15 +01:00
Anders Jenbo
7e5da498d7
Correct prameter type for PressChar
...
This fixes the signed ness of the if in Hellfire
2020-12-11 09:37:12 +01:00
Anders Jenbo
38dbcf7641
Format source
2020-12-02 00:52:38 +01:00
qndel
c3380d3104
some cleanups
2020-11-03 00:04:07 +01:00
Anders Jenbo
40350a201b
Reorder diablo.cpp
2020-11-02 05:14:43 +01:00
Anders Jenbo
6580222d1c
Add enums for level entrances
2020-10-26 01:41:54 +01:00
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
2020-10-25 15:37:51 +01:00
qndel
cb3381916e
[hellfire] RightMouseDown bin exact
2020-10-12 03:18:05 +02:00
Anders Jenbo
7e04c63977
Merge branch 'hellfire' of github.com:diasurgical/devilution
2020-10-11 23:53:07 +02:00
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
2020-05-11 23:21:27 +02:00
Anders Jenbo
c27a0a8c35
Fix bad merge
2020-04-10 10:23:11 +02:00
Anders Jenbo
f066b57cd0
Merge master in to hellfire
2020-04-09 02:14:08 +02:00
Anders Jenbo
346c0949e7
Correct seed tables
2020-04-09 02:06:42 +02:00
Anders Jenbo
2ec7c78eae
Format source
2020-04-08 22:28:53 +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
cc280eeba3
Enable asserts in files that where cleaned
2020-04-08 20:41:11 +02:00
Anders Jenbo
3ac90dc03f
Use NewCursor to set cursor
2020-04-08 20:34:43 +02:00
Anders Jenbo
6c6ae344de
Deduplicate strings in argument parsing
2020-04-08 20:34:33 +02:00
Anders Jenbo
6704657e71
Apply sematic codestyle
2020-04-08 20:34:29 +02:00
Anders Jenbo
1340192b59
Correct array sizes
2020-04-08 20:34:27 +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
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
3f11876aba
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2020-04-06 10:48:11 +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
7b70770c16
BUGFIX note for MouseX/Y
2020-04-06 05:43:20 +02:00
Anders Jenbo
31181b77c4
Bool comparisons
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
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
f89204e7dd
Fix function/var names (effects/sound)
2020-03-24 00:22:36 -05:00
Anders Jenbo
f7e2283702
Reorder globals
2020-03-12 04:33:58 +01:00
galaxyhaxz and Robin Eklind
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com >
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com >
2020-03-11 21:27:40 -05: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
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
2020-02-28 16:35:57 -06:00
qndel
34caded4de
fix hotkeys
2020-02-22 00:27:12 +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
qndel
a1321539fb
enums
2020-01-31 23:29:55 +01:00
qndel
a6a89bca3a
apply TRUE/FALSE
2020-01-31 19:22:51 +01:00