Anders Jenbo
0da3461d35
Use explicit types instead of auto
6 years ago
Anders Jenbo
014308ef01
Explicit casting
6 years ago
Anders Jenbo
a3505ab904
Remove the std namespace from uint32_t
...
Again to help older compileres that aren't C++11 aware.
6 years ago
Anders Jenbo
4b46361442
Remove some unused variables
6 years ago
Anders Jenbo
69ad34f58f
Consistently use NULL instead of nullptr
...
While nullptr does have extra checking, most of the code uses NULL and
nullptr makes it harder to port the code to some targets like the
original XBox
6 years ago
Anders Jenbo
9e6d99ebb0
CMakeSettings.json is needed to configure VS build envs
6 years ago
Anders Jenbo
54741abc87
Correct check for panel when zoomed
6 years ago
Anders Jenbo
b274f395f6
Correctly assert if the mouse is inside the main panel
6 years ago
Anders Jenbo
2104bf2af2
Fix rendering towners with bad lighting data
...
dFlags appears to contain garbage in the BFLAG_LIT for town. This wasn't
an issue originally since it wasn't being checked when rendering
towners.
6 years ago
Anders Jenbo
cb4cb653e7
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
6 years ago
Anders Jenbo
2b5b5ca785
Remove problematic packing
...
This should help to compile for some ARM systems like Nintendo 3DS
6 years ago
Anders Jenbo
af7f3f0f27
Bugfix for CheckCursMove ( #2046 )
6 years ago
Anders Jenbo
bd85d4884e
Update LibSmacker to version 1.1.1
...
Fixes #723
6 years ago
Kai Meyer
791aa60cab
Adding top-level CPACK option ( #700 )
...
* Adding top-level CPACK option
* Setting CMAKE_BUILD_TYPE should always be Cache variables
This initializes CMAKE_CXX_FLAGS_RELEASE during project() correctly. With out
this, changes to CMakeLists.txt may result in a complete rebuild because
CMAKE_BUILD_TYPE wasn't in the cache before, and wasn't respected by project(),
but now it is.
https://cmake.org/pipermail/cmake/2008-September/023808.html
* Always build deb and rpm packages where possible
* Searching for .ttf instead of hard-coding it's full path
6 years ago
Gleb Mazovetskiy
6e449b9411
Allow re-mapping keyboard keys
...
Adds a `REMAP_KEYBOARD_KEYS` CMake option.
This remapping applies wherever Game or Menu controls apply.
Uses it to map the Power button to the menu on RG350.
6 years ago
Trung Lê
20dd0ceab6
Revert "For non-master branch, do not configure with CMake release type"
...
This reverts commit 292826998c .
6 years ago
Trung Lê
eab4022c14
Do not set VERSION for untagged branch
6 years ago
Trung Lê
936b618338
For non-master branch, do not configure with CMake release type
6 years ago
Trung Lê
2d10373351
Fix condition syntax
6 years ago
Anders Jenbo
3227fea5c0
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Anders Jenbo
7e45f8bcc8
More cleanups
6 years ago
qndel
b0a8a38462
clean magic numbers
6 years ago
Robin Eklind
e6fa244fa7
items: add BUGFIX comment for SaveItemPower
6 years ago
Robin Eklind
0186d85923
makefile: run clean on subprojects when invoking `make clean`
6 years ago
Joel Falcou
c4223d4c29
Per file basis use of extern C
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago
Anders Jenbo
bd155e4a03
Correct poison water spawn position
6 years ago
Anders Jenbo
f62f983622
Fix broken wall tile
6 years ago
qndel
9a5ff805ed
Remove hardcoded spawn location for Cave maps
6 years ago
qndel
90960f67b4
Add code for load hell maps
6 years ago
Joel Falcou
9ba87895ae
Fix issue with NPC/Quest text scrolling
...
Scrolling text were abruptly closing while the audio
played right. This patch fix a simple error on the
scrolling loop so the corretc variable is used to make
the scrolling happens
6 years ago
BDC
74938fdacd
Fix memory leak with audio stream not been released
...
SFileChunk was not been release.
6 years ago
Anders Jenbo
fe82c0b1f1
Clean up GetItemPower
...
Thanks @tsunamistate for bringing attention to this
6 years ago
muzena
00b80128fb
Add build version to rules file
6 years ago
Anders Jenbo
5641e2bdec
Fix MSVC build
6 years ago
Anders Jenbo
7108145a04
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Trung Lê
26dd29d4bc
Fix travis pipeline
6 years ago
Anders Jenbo
46224337d8
Fix bin diff
6 years ago
qndel
fea95b8cf7
fix wrong enum
6 years ago
Robin Eklind
452d6d25cc
docs: add function documentation to automap.cpp
6 years ago
Robin Eklind
23dca91a95
docs: add function documentation to appfat.cpp
6 years ago
Robin Eklind
7873bd4356
minitext: fix variable names of minitext.cpp
...
The variable names were mixed up.
sgLastScroll -> qtextSpd
scrolltexty -> qtextDelay
qtextSpd -> sgLastScroll
6 years ago
Anders Jenbo
10be0c66e0
Correct ObjTypeConv
6 years ago
Robin Eklind
32ba38a33a
Merge pull request #2039 from AJenbo/ObjTypeConv
...
Use enums in the ObjTypeConv map
6 years ago
Anders Jenbo
8c3ec91232
Use enums in the ObjTypeConv map
6 years ago
Anders Jenbo
3b8bcf98bf
Enable assertions
6 years ago
Anders Jenbo
e7567859ee
Remove C fallback code
6 years ago
Anders Jenbo
350646fe95
Correct signatures
6 years ago
Anders Jenbo
d008af43b0
Semantic code style cleanups
6 years ago