Anders Jenbo
145ab3c48e
Apply more defines to replace magic numbers
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
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
e7e51abd13
Document remaning functions in render related files
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
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 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
Joan Karadimov
f695061d05
Replace resolution-related hard-coded numbers with constants
7 years ago
Anders Jenbo
11b6b1f860
Remove more garbage
7 years ago
galaxyhaxz
777c517b8e
Change ASM macro
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
galaxyhaxz
b59754bd64
Render.cpp bin exact ( #744 )
7 years ago
galaxyhaxz
a29c75a3a2
Fix a few func/var names ( #731 )
7 years ago
Robin Eklind
66dacd0967
render: clean up inlined asm functions ( #553 )
...
* render: clean up inlined asm functions
Now, these functions no longer use references. Instead they
use pointer to pointer.
7 years ago
galaxyhaxz
1324082090
The big cheap fix ( #446 )
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
galaxyhaxz
84b041cf7d
Fix angular trans tiles
7 years ago
Anders Jenbo
6723acc98f
Format clean render bits
8 years ago
galaxyhaxz
0f184f2b71
Move assembly to _asm.cpp ( #388 )
8 years ago
galaxyhaxz
2f46409b64
Add inlining to render.cpp (btm) ( #383 )
8 years ago
galaxyhaxz
0d0f1bc5dc
T2: add inlining to render.cpp
8 years ago
galaxyhaxz
c9a6c21c5f
Rename variables in render.cpp
8 years ago
galaxyhaxz
4bdd50440d
Fix lighting of some floor tiles
...
Devilution is now basically bug free!
8 years ago
galaxyhaxz
9f206691b0
render.cpp -> undo memset/memcpy ( #186 )
8 years ago
galaxyhaxz
5ed7a29e22
render.cpp -> implement memset/memcpy
8 years ago
galaxyhaxz
d991f63b16
Fix type of screen_buf_end ( #184 )
8 years ago
galaxyhaxz
1ec606131c
render.cpp -> add bug notes
8 years ago
galaxyhaxz
8a4196fe76
render.cpp -> remove all garbage vars
8 years ago
galaxyhaxz
d2f109801c
render.cpp -> remove last asm and cleanup
8 years ago
galaxyhaxz
14a0241d4d
render.cpp -> take out the trash
8 years ago
galaxyhaxz
5abc4058a0
render.cpp -> add comments on cel type
8 years ago
galaxyhaxz
60c065ca93
render.cpp -> i don't even remember
8 years ago
galaxyhaxz
6713958b0d
render.cpp -> fix left-shifting
8 years ago
galaxyhaxz
c255a70eac
render.cpp -> fix right-bit macro
8 years ago
galaxyhaxz
bb3ab09f9a
render.cpp -> OFSUB fix
8 years ago
galaxyhaxz
0d5a7f6878
render.cpp -> fix switch/case
8 years ago
galaxyhaxz
5ff8756116
Fix junk ( #174 )
8 years ago
galaxyhaxz
472de22f81
Annotated and fixed World.cpp ( #129 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
mewmew
f5f76f8b8a
Fix build on Linux
8 years ago
galaxyhaxz
b1ee40f6e7
Revert "Add preliminary support for compiling on Linux"
8 years ago
mewmew
20fdbf8aa2
Fix compile errors on Linux
...
Source/../types.h:35:10: fatal error: DiabloUI/_diabloui.h: No such file or directory
#include "DiabloUI/_diabloui.h"
---
Source/../Source/init.h:43:109: error: fastcall and stdcall attributes are not compatible
LRESULT (__stdcall *__fastcall SetWindowProc(void *func))(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
---
Source/missiles.cpp:915:27: error: unable to find numeric literal operator ‘operator""i64’
*(_QWORD *)&Dirs[0][2] = 0i64;
---
Source/world.cpp:38:1: error: narrowing conversion of ‘3937053354’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
---
Source/lighting.cpp:429:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
---
Source/objects.cpp:5459:62: error: unable to find numeric literal operator ‘operator""i64’
while ( !(plr[v53]._pMemSpells[1] & ((unsigned __int64)(1i64 << v60) >> 32) | plr[v53]._pMemSpells[0] & (unsigned int)(1i64 << v60)) );
---
Source/control.cpp:488:9: error: unable to find numeric literal operator ‘operator""i64’
v26 = 1i64;
---
Source/objects.cpp:243:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/gamemenu.cpp:22:1: error: narrowing conversion of ‘2147483648’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
---
Source/sound.cpp:41:88: error: narrowing conversion of ‘240’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/quests.cpp:46:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/player.cpp:4666:8: error: unable to find numeric literal operator ‘operator""i64’
v14 = 0i64;
---
Source/init.cpp:546:109: error: fastcall and stdcall attributes are not compatible
LRESULT (__stdcall *__fastcall SetWindowProc(void *func))(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
---
Source/items.cpp:114:1: error: narrowing conversion of ‘(item_effect_type)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/items.cpp:307:1: error: narrowing conversion of ‘(unique_base_item)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/items.cpp:854:8: error: unable to find numeric literal operator ‘operator""i64’
v37 = 0i64;
---
Source/items.cpp:471:1: error: narrowing conversion of ‘(item_equip_type)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
8 years ago
galaxyhaxz
bcb3abe96b
Add files via upload
8 years ago