Anders Jenbo
890f414cb9
Small clean up of unused code
7 years ago
Anders Jenbo
743ebc2048
Always load MPQ files in read-only mode
7 years ago
Anders Jenbo
e88e574c5f
Drop unimplemented code
7 years ago
Anders Jenbo
06bcd3c3f9
Handle file paths in a clean way
...
Belated birthday present for @mewmew
Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
7 years ago
Anders Jenbo
606d5536f2
Set version and project name via CMake
7 years ago
Anders Jenbo
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
8ee689b803
Remove miniwin abstraction for disabeling the screensaver
7 years ago
Gleb Mazovetskiy
2cc0c2cfbb
Clang: Remove -fms-extensions -fms-compatibility
7 years ago
Gleb Mazovetskiy
43a27e6f50
Also link SDL int devilution (Source)
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Anders Jenbo
3de9b4b1e9
Clean up MPQ loading and make it more portable
7 years ago
Anders Jenbo
5b2a878945
Remove check for multiple application instances
...
(it's currently not working any way)
7 years ago
Anders Jenbo
55717bb429
Remove RegisterClassEx part of miniwin
7 years ago
Anders Jenbo
049178cb2e
Clean up load/save code
...
Remove most call to memcpy in preperation for Big Endian support
Document what pointers are being skipped
Align save and load code (easier to verify that both are correct)
7 years ago
Anders Jenbo
b90ef1336d
Fix Segfault when loading game
...
Fixes #224
Not this breaks save games generated with master since 2019-07-15
7 years ago
Robin Eklind
d16f603537
all: remove unused storm imports
...
While no storm functions are called from these source files
it is determined that they included storm in the original
source files as made visible by the inclusion of infinity
in the data segments of the respective source files.
ref: diasurgical/devilution#1695 .
7 years ago
Anders Jenbo
1c9801986c
Fix S_StartTalk
7 years ago
qndel
8741ddc6c2
SetupItem cleanup
7 years ago
qndel
afa1306e91
GetUniqueItem cleanup
7 years ago
qndel
2f6a428f4b
ProcessItems cleanup
7 years ago
qndel
a47a797468
RecreateEar cleanup
7 years ago
qndel
33b3711662
SortSmith cleanup
7 years ago
qndel
b47af60b6f
SortHealer cleanup
7 years ago
qndel
a5de88ab39
SortWitch cleanup
7 years ago
qndel
a05071551a
CalcPlrItemMin cleanup
7 years ago
qndel
5fb15255a8
Apply enums to quests
7 years ago
qndel
3668c20fe3
NewTownerAnim cleanup
7 years ago
qndel
eab02de82f
ResyncQuests cleanup
7 years ago
qndel
72883c0621
SetReturnLvlPos cleanup
7 years ago
qndel
d269ef5045
InitThemes cleanup
7 years ago
Anders Jenbo
bf973d0872
Use sizeof directly instead of definging TMEGAPKT_SIZE
7 years ago
Anders Jenbo
b7a4d32e91
Use sizeof(TMegaPkt)
7 years ago
Nam Nguyen
f707e696db
glpMsgTbl stores 64-bit pointers to turn_t variables. This won't fit inside int.
7 years ago
Nam Nguyen
f7ceadf6dc
pack the TMegaPkt struct. define TMEGAPKT_SIZE.
...
memcpy((char *)&packeta[1] - packeta->dwSpaceLeft, packet, dwSize);
Source/msg.cpp does this calculation, which will be wrong if any padding is
added. To get this to work correctly, pack the structures, as suggested by
@AJenbo .
Also, define TMEGAPKT_SIZE because pNext can be 4 or 8 bytes.
7 years ago
Anders Jenbo
cf359d9ea2
Remove server chat
7 years ago
Anders Jenbo
f7fda58cd2
Remove check for Office 95
7 years ago
Anders Jenbo
aac0971860
Remove debugtrap
7 years ago
Anders Jenbo
c1fb75d738
Remove check for Windows platform
7 years ago
Anders Jenbo
4e1e62d6e9
Remove inactive error logging
...
Not easy to port, little value, not in Mac port
7 years ago
Anders Jenbo
5ff14b59da
Remove unused source
7 years ago
qndel
c26ec70434
VerifyGoldSeeds cleanup
7 years ago
qndel
522f8f07c6
DrawTalkPan cleanup
7 years ago
qndel
4605c6096f
control_up_down cleanup
7 years ago
qndel
f6ae3e7489
M_GetKnockback cleanup ( #1579 )
7 years ago
qndel
1ea67db9e6
path_next_node cleanup
7 years ago
qndel
d9fdfdaeec
RecreateHealerItem cleanup
7 years ago
qndel
9f3bb09635
RecreateSmithItem cleanup
7 years ago
qndel
7daee74e3d
BreakCrux cleanup
7 years ago
qndel
607051c0b6
ItemNoFlippy cleanup
7 years ago
Anders Jenbo
b834c4e418
Clean up RemovePlrMissiles
7 years ago