Commit graph

535 commits

Author SHA1 Message Date
obligaron
6325d87e04 Introduce CancelCurrentDiabloMsg and hide msgdelay 2021-08-26 08:28:46 +02:00
obligaron
3c45149cef Introduce IsDiabloMsgAvailable and hide msgflag 2021-08-26 08:28:46 +02:00
BC Ko
4df798808e
2435 refactor global variable Items part 2 (#2673) 2021-08-26 08:06:48 +02:00
Anders Jenbo
722e3870a5 Remove debug button A
Replaced by the visit command
2021-08-22 11:22:03 +02:00
obligaron
55d4b018ae Add "arrow" debug command 2021-08-22 02:03:02 +02:00
Anders Jenbo
783e946fd3 Make enabeling quests a command 2021-08-19 20:36:12 +02:00
Anders Jenbo
47b5527430 Move ToggleLighting() to a command 2021-08-19 20:36:12 +02:00
Anders Jenbo
d07b2204d3 Remove -j argument
Use the changelevel command instead
2021-08-19 20:36:12 +02:00
Anders Jenbo
4a1e4c599b Port debug vision to a command 2021-08-19 20:36:12 +02:00
Anders Jenbo
f931778b90 Remove debug_mode_key_w
Replaced by debug commands
2021-08-19 20:36:12 +02:00
Anders Jenbo
6bc8475e8c Clean up debug commands for loading levels 2021-08-19 20:36:12 +02:00
Anders Jenbo
4c6a5bab56 Clean up god mode 2021-08-19 20:36:12 +02:00
obligaron
6be94ceb3f Move DiabloHotkeyMsg to control.cpp and use IsChatAvailable 2021-08-19 03:44:20 +02:00
Vladimir Olteanu
286eb7144a Get rid of InitHash 2021-08-19 01:44:13 +02:00
obligaron
77f9bded9e Introduce demo namespace 2021-08-19 00:03:58 +02:00
obligaron
82cea78def Apply clang-format 2021-08-11 20:52:32 +02:00
obligaron
6f6412fced diablo_quit also frees game state (and with this sound objects) 2021-08-10 22:01:38 +02:00
Anders Jenbo
8df8b940c4
Handle some clang-tidy issues 2021-08-07 16:30:14 +02:00
Aaron Sun
3ee90ca629 Add options for sub-panel alignment 2021-08-07 16:09:32 +02:00
obligaron
8baa375c1c Fix walking command gets ignored 2021-08-07 14:20:04 +02:00
4aron5un
4c8210df21
Center the sub-panels (Quest, Character, Spell and Inventory) (#2498) 2021-08-05 21:27:07 +02:00
obligaron
fb562b29e9 Timedemo: Regard ProcessInput and gfProgressToNextGameTick 2021-07-31 20:12:31 +02:00
Anders Jenbo
eda4a5061e Implement demo recording and playback
This records all keyboard and mouse events to a file and lets you play
it back at a later point with a differen game speed.
2021-07-31 20:12:31 +02:00
obligaron
fba534de0a Remove unused LastMouseButtonTime 2021-07-30 10:21:53 +02:00
Jmgr
84b8b5828d Keymapper: remove now useless INI access functions 2021-07-27 21:12:22 +02:00
Anders Jenbo
ab8afa7cd7
Fix edge cases in mouse action tracking code (#2452)
Fixes #2431

Also:
- Track spell targets
- Merge repeat walk in to the new repeat action code
- Avoid time based repeats (use action frame instead)
2021-07-25 03:57:42 +00:00
Anders Jenbo
e5fc7fd17c Move remaning symbols in to anonymous namespaces 2021-07-20 02:51:39 +02:00
Anders Jenbo
4260d4cfcc Add OperateObject to MouseAction
For continiously operate fountains etc

Fixes #1133
2021-07-19 02:47:58 +02:00
Anders Jenbo
f4897c3139 Clean up MouseAction code 2021-07-18 05:16:02 +02:00
Jonathan Bergeron
33ad9fa187 renamed Source/mainmenu.cpp and .h to menu.cpp/.h 2021-07-18 01:31:15 +02:00
Anders Jenbo
a19e7b2a3b Remove some more use of miniwin 2021-07-17 23:54:13 +02:00
obligaron
70db8456ba Remove _pwtype and replace it with UsesRangedWeapon 2021-07-17 17:38:28 +02:00
Anders Jenbo
3ffedb7a69 💄 Apply code style to src 2021-07-17 16:57:21 +02:00
Anders Jenbo
b591824182 💚 Fix NOSOUND build 2021-07-17 16:44:32 +02:00
FluffyQuack
ba60907853
Hold mouse button to keep attacking (Diablo 2-style) (#2349) 2021-07-16 15:01:01 +01:00
Jonathan Bergeron
57d445d32f made pause / unpause safer and fixed issue with autopause when losing focus during the loading screen 2021-07-16 02:19:45 +02:00
Anders Jenbo
77b72da276 ♻️Use monster by reference when possible 2021-07-14 20:22:35 -07:00
JoBergeron
be3f1ba928
Pause game and mute music when game window loses focus (#2337) 2021-07-10 04:21:27 +02:00
Anders Jenbo
352a0ca510 Place local symbols in an anonymous namespace 2021-07-09 16:54:01 -07:00
Anders Jenbo
bc51e1616d 🎨 Apply clang-tidy 2021-07-08 08:14:03 -07:00
Anders Jenbo
20262e4569 🚚 Move local symbols in to anon namespace 2021-07-08 08:14:03 -07:00
Anders Jenbo
9ebdb6db69 General clean up 2021-07-08 03:30:25 -07:00
Anders Jenbo
467b74dc06 Rename object globals 2021-07-08 02:01:14 -07:00
Anders Jenbo
9b8bf92575 Rename quest globals 2021-07-08 02:01:14 -07:00
Anders Jenbo
96bf75b502 Rename player globals 2021-07-08 02:01:14 -07:00
Anders Jenbo
dce78dde62 Rename lighting globals 2021-07-08 02:01:14 -07:00
Anders Jenbo
c8870dbd1f Rename item globals 2021-07-08 02:01:14 -07:00
Anders Jenbo
07ad083fda Rename monster globals 2021-07-08 02:01:14 -07:00
Anders Jenbo
4eabc6024b Apply various cleanups via Android Studio 2021-07-03 18:27:17 -07:00
Anders Jenbo
a7c7fa0030 Fully apply clang-tidy/format to all files 2021-07-03 16:41:43 -07:00