Vladimir Olteanu
51d8b9acca
Cleanup of doom.cpp ( #1767 )
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
98cd435fba
♻️ Apply point types to missiles
5 years ago
Anders Jenbo
275404029e
♻️ Cleanup player temp variables
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Anders Jenbo
cc164985a3
🎨 Correct type checks in src sub-folder
5 years ago
Jmgr
1d84156509
Simplify bitshift divisions/multiplications
5 years ago
Anders Jenbo
9e307a0d4a
🎨 Rename towner[] to towners[]
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
9d037bafff
🚨 Fix remaning clang warnings
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Juliano Leal Goncalves
9021f8daa5
♻️ Pluralize global 'item' array variable
5 years ago
Anders Jenbo
cb1016a6d9
🚨 Fix a handful of warnings from Clang
5 years ago
Anders Jenbo
e280432b92
🚨 Fix all SDL1 warnings
5 years ago
Anders Jenbo
c802cbdc4d
Merge more Hellfire code paths
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
qndel
f137159b8d
monsters cleanup
5 years ago
Anders Jenbo
32778cdbb9
Perfectly align all resolutions
6 years ago
Anders Jenbo
146516467b
Force alignment on even/even and odd/odd resolutions
6 years ago
Anders Jenbo
52f46027da
Optimize even/odd colculation
6 years ago
Anders Jenbo
31ac716c3d
99 lines of documentation ( #2058 )
6 years ago
Anders Jenbo
9d68312aa1
Check that cursor is inside of the level
6 years ago
Anders Jenbo
9acbcc69f9
Width independant vertical alignment, optimize zoom
6 years ago
Anders Jenbo
54741abc87
Correct check for panel when zoomed
6 years ago
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
6 years ago
Anders Jenbo
af7f3f0f27
Bugfix for CheckCursMove ( #2046 )
6 years ago
Anders Jenbo
2ec7c78eae
Format source
6 years ago
Anders Jenbo
cc280eeba3
Enable asserts in files that where cleaned
6 years ago
Anders Jenbo
7db4ed749a
Apply more enums, defines and types
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
f7e2283702
Reorder globals
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
6 years ago
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
galaxyhaxz
38c748b6fd
Add network commands and cursors ( #1967 )
6 years ago
Marco
29b9c99e5a
added some more values from enums ( #1955 )
6 years ago
Anders Jenbo
7d8d10f00e
[controller] Correctly prioritice multiple talkers
...
This makes is easier to deal with Lazurus when skipping his trigger
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Anders Jenbo
af0a7c0653
Apply SPANEL_WIDTH
6 years ago
Anders Jenbo
d33a814441
Update cursor.cpp
6 years ago
qndel
f1de846ccb
clicking on the sides of main panel and below side panels
6 years ago
Xadhoom
2134b10d64
more unsigned shifts with cursor handling
6 years ago
Anders Jenbo
45844b71ae
Make controls more responsive
...
- Fix double events
- Fix ignored events
- Allow moving diagonal in the inventory
- Fix mouse wobbling in inventory when scalling
- Make controler actions cursor independants
- Make sure secoundery and primery key doesn't fire each others events
- Highlight both primary and secondary target
- Automatic switch between controller and keyboard+mouse
- Allow the user to change facing direction when blocked
- Make code event based instead of relying on time outs
6 years ago