Anders Jenbo
ab453a5bb0
Correct some documentation
6 years ago
Anders Jenbo
e641eda71d
Document a couple of render functions
6 years ago
Anders Jenbo
e7e51abd13
Document remaning functions in render related files
6 years ago
Anders Jenbo
e08007670f
Revert "mpqapi: Log all fstream calls"
...
This reverts commit c530b7f62b .
6 years ago
Anders Jenbo
dd64f18a49
Merge SetDungeonMicros and SetTownMicros
6 years ago
Anders Jenbo
a29d64b923
Document engine.cpp functions
6 years ago
Gleb Mazovetskiy
c530b7f62b
mpqapi: Log all fstream calls
6 years ago
Anders Jenbo
f1616060e5
Document CL2 render functions
6 years ago
Robin Eklind
dc4aec766e
Fix build, move DEVILUTION_END_NAMESPACE from diablo.h to all.h
6 years ago
Anders Jenbo
bd6eebedb1
Drop storm_dx.cpp
6 years ago
Robin Eklind
27b40436a9
Use pointers instead of references for Devilution exported API
...
With this change, all exported declarations of Devilution are now
compatible with the C-ABI; that is, all declarations of Source/*.h.
This makes it possible to link against DevilutionX from mods written in
other languages than C++, for instance Rust, Go or Python.
Updates #612 .
6 years ago
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).
6 years ago
Gleb Mazovetskiy
42fd614609
mpqapi: Log errno on error
6 years ago
Anders Jenbo
c26fa8fa3f
Remove threading from miniwin
6 years ago
Marlon Beijer
18a78c8fa1
Loading MPQ seems to have to be this way on Amiga, otherwise it won't load
6 years ago
Anders Jenbo
32d91cb446
Render menu directly to the output surface
...
Fixes fades not reset when switching to a new menu before fade had
ended.
Fixes incorrect start position for credits.
6 years ago
Anders Jenbo
a9e955578a
Correctly apply the red palette when taking screenshots
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
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
09c41c666f
Update monster.cpp
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
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
qndel
36d22334ee
apply border enums
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
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
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
Anders Jenbo
7f699dbad2
Remove more legacy savegame code
...
This code was only active in versions prior to 1.08
6 years ago
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).
6 years ago
Anders Jenbo
e724668be5
Apply enum MFILE_FIREWAL
6 years ago
Anders Jenbo
bc2ab2289c
Apply enum MFILE_NONE
...
Thanks to @ MaxDesiatov
6 years ago
Samuel-DEVULDER
29881d2b73
Fixed endianess issue in SetMapMonsters
6 years ago
qndel
6214779459
DrawZoom cleanup
6 years ago