Anders Jenbo
71d545144a
Create codecov.yml
6 years ago
Anders Jenbo
03067f0702
Test SetCursor_()
6 years ago
Anders Jenbo
0e3436d6d4
switch to codecov.io
6 years ago
Anders Jenbo
e49d14e095
Start testing control.cpp
6 years ago
Anders Jenbo
e78814fc0b
Don't exclude build folder from coverage
...
Doing so prevents the build from discovering the gcov files
6 years ago
Anders Jenbo
a5222a2684
Add unit tests and codecoverage
6 years ago
Gleb Mazovetskiy
4e29a4b8aa
Single-player: Use loopback instead of TCP
...
Previously, single-player games initialized a TCP connection!
Changes this to loopback.
Refs #555
6 years ago
Anders Jenbo
3f3dae87e1
Fix MSVC build
6 years ago
Anders Jenbo
118e3668b4
Remove unused code
6 years ago
Anders Jenbo
edeca6574d
Replace tagRECT with SDL_Rect
6 years ago
Anders Jenbo
3ab9b7f2d3
Inline rand
6 years ago
qndel
cc6a2d4523
Apply MAX_PATH_LENGTH
6 years ago
Anders Jenbo
40ba1e7a6f
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Anders Jenbo
09c41c666f
Update monster.cpp
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
4c1108c1da
Prevent space from selecting during text input
6 years ago
Anders Jenbo
67c58583d8
Implement fullscreen toggeling via alt+enter
6 years ago
Anders Jenbo
17b0c7186d
Check sgdwMpqOffset before resizing
6 years ago
qndel
a1321539fb
enums
6 years ago
Anders Jenbo
cc4d6b57d8
Remove unused miniwin IO
6 years ago
qndel
a6a89bca3a
apply TRUE/FALSE
6 years ago
Anders Jenbo
baf2d14440
Remove unused parts of miniwin
6 years ago
Anders Jenbo
6e9987cc93
Rename dsound and it nolonger reflects DirectSound
6 years ago
Anders Jenbo
913de17a56
Use SDL_Color nativly instead of converting betwen it and PALETTEENTRY
6 years ago
Gleb Mazovetskiy
d2c39767e3
mpqapi: Fix open MPQs getting cleared on exit
6 years ago
Gleb Mazovetskiy
cfe288a28e
mpqapi: Use <fstream> instead of custom functions
6 years ago
danie1kr
b935c82842
GameShell script permission issue ( #564 )
6 years ago
qndel
36d22334ee
apply border enums
6 years ago
Gleb Mazovetskiy
f3ad0c37e1
dx_create_back_buffer: Minor improvement for SDL2
...
Previously, we were copying the colors onto the surface's own palette
that was then immediately replaced by `palette`.
6 years ago
danie1kr
f5748f736c
readme update, removed link to fork
6 years ago
danie1kr
3cf4325db6
update of main readme
6 years ago
danie1kr
0dc2920e8e
update git to https://github.com/diasurgical/devilutionX.git
6 years ago
danie1kr
d728caaf94
add new platform: clockwork pi GameShell
6 years ago
qndel
c2587d9786
use enums ( #1997 )
6 years ago
qndel
3770c8551d
max walkpath ( #1996 )
6 years ago
Gleb Mazovetskiy
3ae1dc3037
Source/control.cpp: snprintf instead of SDL_itoa
...
SDL_itoa doesn't exist in Amiga SDL
https://github.com/diasurgical/devilutionX/pull/397#discussion_r371039612
6 years ago
Anders Jenbo
6a0daa6217
Fix screen shot path
6 years ago
Anders Jenbo
4ff5c8987a
Fix screen shots on big-endian
6 years ago
Anders Jenbo
e279fc2fe6
Revert "Treat booleans as bool"
...
This reverts commit 2dcf237dd2 .
As BOOLs are loaded as 32bit uint the swap would break the value on big
endian if mapped to bool (8bit)
6 years ago
Anders Jenbo
5ff5b4893c
Fix loading alignment
6 years ago
Samuel-DEVULDER
9c516819c1
Make save game code big-endian compatible
6 years ago
Gleb Mazovetskiy
c8605f79bd
capture.cpp: Replace WriteFile with <fstream>
6 years ago
Gleb Mazovetskiy
72cdd75a2e
Controls: Update all readmes/manuals
6 years ago
Gleb Mazovetskiy
309693b9ff
OpenDingux: GKD350h support
...
Start and Select are swapped in this version because Start + D-Pad controls backlight on the GKD350h.
There is nothing to map mouse emulation to in this version because of this but it isn't necessary to play the game.
This version looks uglier than on RG350 because it uses software scaling beacuse the IPU on the GKD350h doesn't work.
6 years ago
Gleb Mazovetskiy
5b2481a2b4
Controls: No virtual mouse when automap is active
6 years ago
Gleb Mazovetskiy
39d78228fb
Move modifier hints to viewport corners
6 years ago
Gleb Mazovetskiy
ce5c1007a2
Controller improvements: START modifier and hints
...
1. Makes START a modifier key.
2. Main modifier actions are now displayed as hints while the modifier is pressed.
3. Mouse simulation now available on all controllers:
SELECT + D-Pad to move mouse
SELECT + Left/Right should button to click
START + | Action
---------- | ------
SELECT | Menu
UP | Menu
DOWN | Map
LEFT | Character info
RIGHT | Inventory
B (Bottom) | Spell book
Y (Left) | Quest log
This makes all actions available on controllers without sticks and ZL/ZR.
6 years ago
Gleb Mazovetskiy
fd6de736f9
Read/WriteFile: Use memcpy instead of copy
...
copy compiles to memmove but we know the ranges do not overlap here,
because memfile buffer is not exposed outside this file
6 years ago
Gleb Mazovetskiy
e1b0712f74
CloseHandle: Avoid double lookup of file
6 years ago
Gleb Mazovetskiy
77914a029f
ShowOutOfDiskError: Use constant C-string
6 years ago