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
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
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
Robin Eklind
f59439a8ff
Make _pInvincible into a boolean.
...
_pInvincible is only ever used in boolean contexts.
7 years ago
Robin Eklind
3f4a539bf7
Make _pBlockFlag into a boolean.
...
_pBlockFlag is only ever used in boolean contexts.
7 years ago
Robin Eklind
8b85ba2489
Merge pull request #1309 from mewpull/rename-InitNewSeed
...
multi: rename InitNewSeed to InitLevelType
7 years ago
Robin Eklind
8402bbaff5
player: replace WALK_NONE with -1 for lightning index
7 years ago
Robin Eklind
9b6e866878
Update Source/multi.cpp
...
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
7 years ago
Robin Eklind
98ac9ebaf3
multi: use name from PSX for InitLevelType
7 years ago
Robin Eklind
f47e29d60d
multi: rename InitNewSeed to DTypeFromDLvl
7 years ago
Robin Eklind
624b84e8cc
Merge pull request #1308 from Predelnik/PR
...
Cast pointer to ptrdiff_t to make code less undefined for 64-bit.
7 years ago
Sergey Semushin
c4c2132ac6
Cast pointer to ptrdiff_t to make code less undefined for 64-bit.
7 years ago
Anders Jenbo
a52d36a90f
Correct value of DLRG_CHAMBER
7 years ago
Robin Eklind
4cbf8c9ec3
Rename global pCelBuff to pSPentSpn2Cels
...
This is to avoid confusion, as pCelBuff is also
commonly used as a parameter name.
The naming follows the convention used by
TextBox2.CEL and TextSlid.CEL, as seen in
stores.cpp
pSTextBoxCels = LoadFileInMem("Data\\TextBox2.CEL", NULL);
pSPentSpn2Cels = LoadFileInMem("Data\\PentSpn2.CEL", NULL);
pSTextSlidCels = LoadFileInMem("Data\\TextSlid.CEL", NULL);
7 years ago
galaxyhaxz
0da0dbc9a3
Fix AddCbolt conditional
7 years ago
Adam Newgas
c55c61f23a
Update comments to doxygen style.
7 years ago
Adam Newgas
79ad7b9d9e
Add some comments to some tricky to understand functions.
7 years ago
Adam Newgas
fc8882b7db
Add some bugfix notes.
7 years ago
Adam Newgas
66a1c246e6
Add dlrg_flag enum.
7 years ago
Adam Newgas
3d1d01ce86
More use of DMAXX/DMAXY
7 years ago
Adam Newgas
f363cfa85f
Use DMAXX/DMAXY and BFLAG_EXPLORED in drlg_l2.cpp
7 years ago
Robin Eklind
d113d3a158
debug: add ICURS_GOLD_LARGE enum
7 years ago
Robin Eklind
aa151d98e8
Merge pull request #1302 from mewpull/background
...
Add BACKGROUND.md to detail project background.
7 years ago
Xadhoom
0234ff2ae4
One further BUGFIX in drlg_l4.cpp
7 years ago
Robin Eklind
a6dcce43fb
Add BACKGROUND.md to detail project background.
...
The post is from https://news.ycombinator.com/item?id=20341555
We can update the post as we go. This is just
something to get us started.
7 years ago
Xadhoom
3b203f7c50
BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp
7 years ago