danellos
538672bbac
Fixed file remove failure on macOS
7 years ago
danellos
89cef3f9c9
Note about NO selected by default; fixed a bug with Delete.
7 years ago
danellos
0f9fc228ce
Full "Delete Hero" implementation
7 years ago
Anders Jenbo
aac4269fd9
Fix bad merge
7 years ago
Anders Jenbo
2fcf8dab70
Merge branch 'master' of github.com:diasurgical/devilution
7 years ago
Marlon Beijer
8d90749929
LE->BE Fix of macro
7 years ago
Marlon Beijer
a72e548403
Add endian switch for Linux as well
7 years ago
Marlon Beijer
fbadc146de
Prettify the code
7 years ago
Marlon Beijer
e7971494e3
StormLib:
...
* Add Amiga platform
* Add some big endian swap functions for non-Mac platforms
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Robin Eklind
952d2c287d
Merge pull request #1325 from AJenbo/globals
...
Correct GLOBAL types based on PSX SYM 3
7 years ago
Anders Jenbo
8a2316015f
Fix setting window focuse on non GNU systems
7 years ago
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
7 years ago
Anders Jenbo
29637f09dd
Fix Mac and Linux builds
7 years ago
galaxyhaxz
f2f215e6c9
Fix last two functions in init.cpp ( #1323 )
7 years ago
Anders Jenbo
9d87475af5
Fix gmenu_enable
7 years ago
Anders Jenbo
b023104434
Remove u from values
7 years ago
Anders Jenbo
6ba57a2d10
Remove the last bit of garbage
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Robin Eklind
14baf1e045
Merge pull request #1320 from Predelnik/PR
...
Make scrollrt_draw_dungeon bin exact.
7 years ago
Sergey Semushin
843ae57592
Make scrollrt_draw_dungeon bin exact.
7 years ago
Anders Jenbo
60ee365dff
Merge branch 'master' of github.com:diasurgical/devilution
7 years ago
Sergey Semushin
54e66e08a0
Remove workaround goto from TalkToTowner.
7 years ago
Joan Karadimov
f695061d05
Replace resolution-related hard-coded numbers with constants
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Robin Eklind
107282953c
Use ITEM_QUALITY_MAGIC for _iMagical.
7 years ago
Robin Eklind
b68580666c
Merge pull request #1317 from AJenbo/scrollrt_draw_dungeon
...
Get scrollrt_draw_dungeon to min diff
7 years ago
Anders Jenbo
e56135414d
Add full diffs to release notes
7 years ago
Anders Jenbo
95cf1779a5
Update docs/CHANGELOG.md
...
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
7 years ago
Anders Jenbo
85279c1a43
Update CHANGELOG.md
...
- Change format to match [Keep a Changelog](http://keepachangelog.com/en/1.0.0/ )
- Added major events from June 6th up to now
7 years ago
Anders Jenbo
a7ad382c10
Get scrollrt_draw_dungeon to min diff
...
Co-Authored-By: Sergey Semushin <predelnik@gmail.com>
7 years ago
Robin Eklind
626587f696
Merge pull request #1315 from mewpull/cleanup5
...
Use boolean values where applicable.
7 years ago
Anders Jenbo
98aa9b0b3f
Remove unused docker files
7 years ago
Robin Eklind
7441f29867
Use TRUE value for _iIdentified.
7 years ago
Robin Eklind
a6d948f87d
Use hex literal for iCreateInfo and boolean values for _iPostDraw.
7 years ago
Robin Eklind
3c182c7135
Remove u suffix from integer literals.
7 years ago
Robin Eklind
d4d466b30c
Use FALSE value for _iAnimFlag and update comment of ghit.
7 years ago
galaxyhaxz
7451415c7c
Alt+Enter fullscreen (debug)
7 years ago
Robin Eklind
eaf8fbd0e7
Merge pull request #1312 from mewpull/cleanup4
...
Update player struct to use more booleans.
7 years ago
Robin Eklind
0554e11640
Merge pull request #1313 from mewpull/split-PWVel-into-two-vars
...
split PWVel into two global variables, PWVel and AnimLenFromClass
7 years ago
Robin Eklind
5371d13154
Make use of item_special_effect enums.
7 years ago
Robin Eklind
002ad4056c
split PWVel into two global variables, PWVel and AnimLenFromClass
...
Background:
From the values of PWVel, I think it is
actually two global variables that have
been merged into one.
int PWVel[4][3] = {
{ 2048, 1024, 512 },
{ 2048, 1024, 512 },
{ 2048, 1024, 512 },
{ 8, 8, 8 }
};
I think it should be:
int PWVel[3][3] = {
{ 2048, 1024, 512 },
{ 2048, 1024, 512 },
{ 2048, 1024, 512 }
};
int AnimLenFromClass[3] = {
{ 8, 8, 8 }
};
Then, this code in PM_DoWalk would make more sense:
Before:
vel = 8;
if (currlevel != 0) {
vel = PWVel[3][plr[pnum]._pClass];
}
After:
AnimLen = 8;
if (currlevel != 0) {
AnimLen = AnimLenFromClass[plr[pnum]._pClass];
}
7 years ago
Robin Eklind
105a583ce0
Use TRUE and FALSE enums for setlevel.
...
Also simplify if conditions to make
use of boolean values.
(If the cleanup4 PR ends up increasing
inserts/deletions, then this commit is
probably at fault.)
7 years ago
Robin Eklind
b727d158ab
Make _pSLvlVisited into a boolean.
...
_pSLvlVisited is only ever used in boolean contexts.
7 years ago
Robin Eklind
29eb52b6d0
Make _pLvlVisited into a boolean.
...
_pLvlVisited is only ever used in boolean contexts.
7 years ago
Robin Eklind
a443e5091e
Make _pInfraFlag a boolean.
...
_pInfraFlag is only ever used in boolean contexts.
7 years ago
Robin Eklind
59167447ba
msg: use enum for RSPLTYPE_INVALID in msg.cpp
7 years ago
Robin Eklind
983d2d6769
Make _pLvlChanging into a boolean.
...
_pLvlChanging is only ever used in boolean contexts.
7 years ago