Commit Graph
3533 Commits
Author SHA1 Message Date
qndel 36d22334ee apply border enums 2020-01-30 04:19:02 +01:00
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`.
2020-01-29 23:25:04 +01:00
danie1kr f5748f736c readme update, removed link to fork 2020-01-29 23:20:52 +01:00
danie1kr 3cf4325db6 update of main readme 2020-01-29 23:20:52 +01:00
danie1kr 0dc2920e8e update git to https://github.com/diasurgical/devilutionX.git 2020-01-29 23:20:52 +01:00
danie1kr d728caaf94 add new platform: clockwork pi GameShell 2020-01-29 23:20:52 +01:00
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
2020-01-27 09:43:28 +01:00
Anders Jenbo 6a0daa6217 Fix screen shot path 2020-01-27 00:46:38 +01:00
Anders Jenbo 4ff5c8987a Fix screen shots on big-endian 2020-01-27 00:46:38 +01:00
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)
2020-01-27 00:03:02 +01:00
Anders Jenbo 5ff5b4893c Fix loading alignment 2020-01-27 00:03:02 +01:00
Samuel-DEVULDER 9c516819c1 Make save game code big-endian compatible 2020-01-27 00:03:02 +01:00
Gleb Mazovetskiy c8605f79bd capture.cpp: Replace WriteFile with <fstream> 2020-01-26 16:53:41 +01:00
Gleb Mazovetskiy 72cdd75a2e Controls: Update all readmes/manuals 2020-01-26 00:57:43 +01:00
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.
2020-01-26 00:57:43 +01:00
Gleb Mazovetskiy 5b2481a2b4 Controls: No virtual mouse when automap is active 2020-01-25 16:37:50 +01:00
Gleb Mazovetskiy 39d78228fb Move modifier hints to viewport corners 2020-01-25 16:37:50 +01:00
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.
2020-01-25 16:37:50 +01:00
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
2020-01-24 12:14:10 +01:00
Gleb Mazovetskiy e1b0712f74 CloseHandle: Avoid double lookup of file 2020-01-24 12:14:10 +01:00
Gleb Mazovetskiy 77914a029f ShowOutOfDiskError: Use constant C-string 2020-01-24 12:14:10 +01:00
Gleb Mazovetskiy 8e5e918441 Change misc_io::files from set to unordered_set
Order is not a concern and unordered_set is faster
2020-01-24 12:14:10 +01:00
Anders Jenbo 7f699dbad2 Remove more legacy savegame code
This code was only active in versions prior to 1.08
2020-01-23 16:38:35 +01:00
Gleb Mazovetskiy e1c7ad0ac4 OpenDingux/RetroFW: Build improvements
1. Use RetroFW buildroot directly as it is now open-source.
2. Build in separate build directories.
   This lets us build them in parallel and preserves cmake cache across build.
2020-01-22 13:19:02 +01:00
Anders Jenbo 0be2a089bb Try to clearify install instructions 2020-01-21 11:23:00 +01:00
Gleb Mazovetskiy 3eb820c341 RG350 buildroot: Only build dependencies
Previously, there was an issue with the RG350 buildroot that necessitated building the entire thing.
That issue has been fixed and we can now build only the minimal set of dependencies (same as we do for RetroFW).
2020-01-21 10:06:38 +01:00
gogogogi 0983fb904a Fix Debian, Ubuntu multiarch building (#531) 2020-01-20 17:34:09 +01:00
Max Desiatov aba60c560d Fix OOB in missiles.cpp
MFILE_NONE does not correspond to the last item of misfiledata array and
is actually greater than the length of that array causing out-of-bounds
crash on iOS (reproduced when applying rogue's Disarm Trap skill).
2020-01-20 17:27:24 +01:00
Anders Jenbo 8d0c600e27 Fix compiler warning 2020-01-20 16:34:55 +01:00
Samuel-DEVULDER 29881d2b73 Fixed endianess issue in SetMapMonsters 2020-01-20 15:59:07 +01:00
Anders Jenbo 2dcf237dd2 Treat booleans as bool
The engine should now be stable/clean enough to hanlde all bool types as
bool
2020-01-06 07:11:08 +01:00
Anders Jenbo 9836d6038c Use SDL_Log instead of printf 2020-01-05 06:19:32 +01:00
Anders Jenbo d4ff81ce90 Correct typo 2020-01-05 05:26:59 +01:00
Anders Jenbo efbd4e7f7b Remove unused parts of types.h 2020-01-05 05:21:44 +01:00
Anders Jenbo 534ed2d3ff Make shift+0-9 behave as on US keyboards
Fixes #532
2020-01-04 17:02:09 +01:00
Anders Jenbo 21eeef9b78 Update readme.txt 2020-01-02 11:49:51 +01:00
ɹɐɯsǝʎandAnders Jenbo 6cb87f1265 Update README.md
Co-Authored-By: Anders Jenbo <[email protected]>
2020-01-02 11:47:18 +01:00
Ramsey Dow e2585ad23d Edited readme files in packaging subdirectories 2020-01-02 11:47:18 +01:00
Ramsey Dow e1fe8c7716 Fix typos in README.md and tighten up language use 2020-01-02 11:47:18 +01:00
Anders Jenbo 12676bf84f Update README.md 2020-01-01 19:22:54 +01:00
Anders Jenbo 4795eca1c4 Update release notices 2020-01-01 08:25:56 +01:00
Anders Jenbo fd1d81c87f Force initialization of controller on Switch 2020-01-01 00:07:37 +01:00
Anders Jenbo 5895c97424 Fix release version lable 2019-12-31 20:18:04 +01:00
Anders Jenbo 71d8a0071c Fix Windows build 2019-12-31 20:01:13 +01:00
Anders Jenbo f7541fbeb9 Ask before overwriting hero 2019-12-31 18:17:31 +01:00
Anders Jenbo 3703978483 Fix SDL1 build 2019-12-31 06:33:42 +01:00
Anders Jenbo d04e0e44bb Implement scroll wheel navigation
up/down/left/right = arrow keys
ctrl+up/down = zoom automap in/out
2019-12-31 06:29:02 +01:00
Anders Jenbo 2c541816e6 Track the mouse through the life of the application 2019-12-31 05:49:18 +01:00
Anders Jenbo faaddcfd28 Allow controller events to also interupt attract mode 2019-12-31 05:47:03 +01:00
Anders Jenbo c3f283429b Fix high CPU load when game is minimized 2019-12-31 04:15:38 +01:00