Martin Hauke
6fc09ea8a6
Fix some typos
7 years ago
galaxyhaxz
86e552a9e7
Change PCX struct to match Z-Soft Manual
7 years ago
Anders Jenbo
3888e40fc0
Update CHANGELOG.md
7 years ago
Anders Jenbo
714384bfe7
Update CHANGELOG.md with media apperances ( #1327 )
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
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
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