Anders Jenbo
71d8a0071c
Fix Windows build
6 years ago
Anders Jenbo
f7541fbeb9
Ask before overwriting hero
6 years ago
Anders Jenbo
3703978483
Fix SDL1 build
6 years ago
Anders Jenbo
d04e0e44bb
Implement scroll wheel navigation
...
up/down/left/right = arrow keys
ctrl+up/down = zoom automap in/out
6 years ago
Anders Jenbo
2c541816e6
Track the mouse through the life of the application
6 years ago
Anders Jenbo
faaddcfd28
Allow controller events to also interupt attract mode
6 years ago
Anders Jenbo
c3f283429b
Fix high CPU load when game is minimized
6 years ago
Anders Jenbo
e5d4e99a69
Fix end movie not looping
6 years ago
Anders Jenbo
50661842b0
Implement SFileSetBasePath
6 years ago
Anders Jenbo
171323b987
Make sure that sgbSaveSoundOn is initialized
...
Fixes #480
6 years ago
Anders Jenbo
0bc40c6799
Remove DUMMY notice from UiProfileGetString
...
The original just returns the lable for the BNet user profile values and
are never used in the main application
6 years ago
Anders Jenbo
961e7f58c4
Implement UI errors
6 years ago
Anders Jenbo
150f7e805d
Update debug code
6 years ago
Anders Jenbo
40d272241b
Implement --data-dir for setting mpq path
...
This also implements a much cleaner version of diablo_parse_flags
Fixes #219
6 years ago
Christopher M. Hobbs
436e25207a
Add preliminary command line options to main.cpp
...
- Add -h, --help and --version
- Address most of Issue #219 .
6 years ago
Anders Jenbo
e577f9bdc7
Remove more old save game format code
...
Multiplayer save games from before 1.08 where using the system name as
the password, so they would need to be converted on the original machine
by 1.08-1.09b before they can be transfered to another system.
6 years ago
Anders Jenbo
cb2d58acc8
Fix clang warning
6 years ago
Anders Jenbo
16d3fa69c6
Fix checking if sound is playing
...
Fixes #392
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
57e960aeda
[controller] only move map when in dungion
...
The map status can not be changed in town but is remembered
6 years ago
Anders Jenbo
f2133b6e2b
Fix exiting movie
...
- Replaying the intro would translate the exter and then interupt the
movie immediately.
- It was not possible to exit the application while a movie was playing.
6 years ago
Anders Jenbo
1ebeaa7cd7
Fix missing sounds in menu
...
Fixes #392
6 years ago
Anders Jenbo
b6ce6f043f
Resolve warnings in switch case
6 years ago
Anders Jenbo
ef37f3de02
[controller] Map mouse right button
...
- Fix retrofw build error
- Map right and left mouse click for retrofw
- Fix opening inventory/char sheet on retrofw
6 years ago
Anders Jenbo
fe44ea7859
[controller] Increase teleport distance to 4 steps
6 years ago
Anders Jenbo
eb0f899c90
[controller] Hot spells via mod+A/B/X/Y, quest log/spellbook via mod+L2/R2
6 years ago
Anders Jenbo
cc42e9abb1
[controller] Make accumulator time based and correct map direction
...
The emulated mouse and map move at a consistent speed independant of
frame rate.
The map can now be scrolled at variable speeds and diagonally.
Mouse is now confined to the window.
6 years ago
Anders Jenbo
50ca153f24
[controller] Fix switching focuse between inv and char
6 years ago
Anders Jenbo
7273e6a32d
Fix mouse clicks not registering on 0x* and *x0
...
Fixes #507
6 years ago
Gleb Mazovetskiy
5db59f1c72
RetroFW: IPU detection for RetroFW 2.0
...
RetroFW 2.0 changed the location of the IPU flag
from `/proc/jz/ipu_ratio` to `/proc/jz/ipu`.
6 years ago
Anders Jenbo
7d8d10f00e
[controller] Correctly prioritice multiple talkers
...
This makes is easier to deal with Lazurus when skipping his trigger
6 years ago
Anders Jenbo
4610b50d1e
[controller] Handle edge cases for cursor state
6 years ago
Anders Jenbo
ae19742590
[controller] Don't start backtrack around obstacles
6 years ago
Anders Jenbo
9d4bb70913
[controller] Only close inventory if cursor is clean
6 years ago
Anders Jenbo
f313b66a34
[controller] Fix dropping items to all sides
6 years ago
Anders Jenbo
f0a614ea21
[controller] Do not cast targeted spells from inventory
6 years ago
Anders Jenbo
4269f71dc2
[controller] Fix player attack each other in town
...
This would render the player invisable and damage equipment
6 years ago
Anders Jenbo
e7f2d6ddd4
[controller] Fix delayed movements in multiplayer
6 years ago
Anders Jenbo
cdbde9cdcb
[controller] Target quest entrances
6 years ago
Anders Jenbo
0b175c22ee
[controller] Move healing/mana to L1/R1
...
This is more like the original PSX port, and maps better to devices with
only one set of triggers.
6 years ago
Anders Jenbo
b2c3cf1135
[controller] Correctly prioritize all targets
6 years ago
Anders Jenbo
28b4fb1fd9
[controller] Correctly prioritize monsters
6 years ago
Anders Jenbo
271c6a9c41
Remove unessesery calls to abs in GetDistanceRanged
6 years ago
Anders Jenbo
e24574897c
[controller] Target portals
...
This will target portals and stairs found within 2 steps if no other
targets are found.
This is naive and doesn't prefer portals propperly.
6 years ago
Anders Jenbo
78b9f7bc72
[controller] Only ignore doors when at same coordinates
...
This made it harder to use schrines and book shelfs
6 years ago
Anders Jenbo
f5e8ae47c0
[controller] Correct movment range
...
Previously the player could wald across lava bends and sneak past
blocked paths
6 years ago
Anders Jenbo
7e2b0dd958
[controler] Prevent actions during death/menu/pause
6 years ago
Anders Jenbo
046064fcfe
Fix PostMessageA an remove more unused event code
6 years ago
Gleb Mazovetskiy
6aae591f6c
FindMelee: Minor cleanup
6 years ago
Anders Jenbo
e847108b78
Clean up event handeling
6 years ago