galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
d6f70c56ce
Format files
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
6 years ago
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
6 years ago
qndel
d51eee6916
CheckPanelInfo cleanup
6 years ago
Anders Jenbo
f1616060e5
Document CL2 render functions
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
qndel
c2587d9786
use enums ( #1997 )
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
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
qndel
8f9d9f0f01
Fixspellicons ( #1976 )
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Marco
29b9c99e5a
added some more values from enums ( #1955 )
6 years ago
Anders Jenbo
2751ecedd2
[hellfire] Add missing enums
6 years ago
qndel
402e336bd9
[hellfire] GetSBookTrans bin exact
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
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
qndel
981c9b9c00
some cleanup ( #1823 )
6 years ago
galaxyhaxz
6c0bc83115
Fix type for panelstr
6 years ago
Anders Jenbo
af0a7c0653
Apply SPANEL_WIDTH
6 years ago
Anders Jenbo
cd0a75480d
Decompose numbers in DrawSpellList
6 years ago
Anders Jenbo
505701fd48
Decompose numbers in DoSpeedBook
6 years ago
qndel
2afc5862a0
fix chat ( #432 )
6 years ago
qndel
692a58d324
move speedbook above main panel
6 years ago
qndel
0e0d2d3c34
small fix
6 years ago
qndel
6ec916bbb8
center speedbook horizontally
6 years ago
Anders Jenbo
dbc91ae036
Correct mouse interactions for game controller
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Gleb Mazovetskiy
b18fe49d0a
Fix OOB in DrawSpell ( #405 )
...
The OOB here was in `_pSplLvl[spl]`.
The value of SPL_INVALID is is `-1`.
The fix is to not access the array when `spl == SPL_INVALID`.
6 years ago
Gleb Mazovetskiy
1b24dac942
Add BUGFIX comment in DrawSpell
6 years ago
Anders Jenbo
048429b4cd
Apply more constants
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
falquinho
c65060ccad
Some comments on control functions.
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Mathieu Maret
e35b00acd9
Simplify few loops by using memcpy
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Anders Jenbo
0d7f87630b
Remove width from info panel sy value
...
This was left behind when doing 337bc9b125
6 years ago
Anders Jenbo
d354bd9767
Lock framerate at vsync instead of 20fps
...
Since most animations are still controlled by the game logic the only
real benefit is smoother mouse and scrolling text, but it's a start :)
7 years ago
Anders Jenbo
c4a7df80a7
Use CelDraw function for rendering instead of CelBlit
...
This leaves just town_special, scrollrt arches and left side of
two-handed weapons to be using direct blitting functions.
7 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
e8cd0aedfb
Use cel functions to blit control panel text
7 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
7 years ago
Anders Jenbo
d1914efa41
Make sens of lineoffset ( #1810 )
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
Anders Jenbo
d2b1f0cfc8
Apply the Cel helper functions in a few more places
7 years ago
Anders Jenbo
ce6fc51b50
Implement CelGetFrame (CEL decoder helper)
...
This implements the first of the inlined CEL decoder helper functions
that are still visable in the Mac port code.
Functions are still bin exact
7 years ago
Anders Jenbo
fde6c8030b
[hellfire] SpellITbl
7 years ago
qndel
fa9ee2aa45
Fix hp not showing bug ( #1680 )
7 years ago