Anders Jenbo
bf040777cb
Make more use of cell helpers
2019-10-12 17:45:11 +02:00
Gleb Mazovetskiy
e4de2ad177
Fix UB: Signed integer overflow engine.cpp:1264
2019-10-09 19:56:04 +02:00
Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
2019-10-06 01:27:11 +02:00
Anders Jenbo
e97061f126
Correct bad definition of nDataSize
2019-09-28 17:14:54 +02:00
Anders Jenbo
ed746a6d2d
Fix Cl2DecodeFrm3
2019-09-28 17:10:43 +02:00
Anders Jenbo
1a2f2b5f52
Implement CelGetFrameClipped from the Mac 9 port
2019-09-28 06:07:24 +02:00
Anders Jenbo
64824cab2b
Implement CelGetFrameStart
2019-09-28 06:07:24 +02:00
Anders Jenbo
fae2be813a
Merge branch 'master' of github.com:diasurgical/devilution
2019-09-28 04:31:04 +02:00
Anders Jenbo
6dd0893bce
Implement CelGetFrameSize
2019-09-28 00:14:01 +02:00
Anders Jenbo
ce6fc51b50
Implement CelGetFrame (CEL decoder helper)
...
This implements the first of the inlined CEL decoder helper functions
that are still visable in the Mac port code.
Functions are still bin exact
2019-09-27 21:02:44 +02:00
Gleb Mazovetskiy
2cc0c2cfbb
Clang: Remove -fms-extensions -fms-compatibility
2019-09-25 03:32:00 +02:00
qndel
32e519415a
GetDirection cleanup
2019-09-21 17:01:37 +02:00
qndel
a593f3a1d2
6 functions cleanup
2019-09-18 00:54:43 +02:00
Anders Jenbo
14f8c9368a
Merge branch 'master' of github.com:diasurgical/devilution
2019-09-13 17:51:58 +02:00
qndel
a0575d335f
random bin exact in vanilla/hellfire
2019-09-01 03:40:32 +02:00
Anders Jenbo
2012106b90
Fix spell rendering
2019-08-26 16:30:20 +02:00
Anders Jenbo
762c49ea2e
Remove some left over asm
2019-08-26 15:08:13 +02:00
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
2019-08-26 14:05:04 +02:00
Anders Jenbo
f605138c79
Strip ASM code
2019-08-26 13:33:03 +02:00
Anders Jenbo
98ab9b9600
Merge branch 'master' of github.com:diasurgical/devilution
2019-08-18 08:07:33 +02:00
Robin Eklind
2508690d9c
engine: rename rand_increment and rand_multiplier to RndInc and RndMult
...
Rationale described in a479cc56b8
as included below:
Note, neither rand_increment nor rand_multiplier are
present in the PSX debug info. To keep the names for
these variables consistent with the naming convention
used for sglGameSeed, SeedCount, SetRndSeed and
GetRndSeed (which are part of the PSX debug info), we
rename them to RndInc and RndMult, respectively.
2019-08-18 07:44:39 +02:00
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
2019-08-07 15:49:20 +02:00
Anders Jenbo
60ee365dff
Merge branch 'master' of github.com:diasurgical/devilution
2019-07-20 19:52:50 +02:00
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
2019-07-20 17:10:49 +02:00
Xadhoom
148a7be44d
Merge upstream branch 'devilution/master'
2019-07-10 17:04:38 +00:00
Anders Jenbo
55b5ce883d
Clean up unformatted files
2019-07-08 04:28:31 +02:00
Anders Jenbo
7883043adc
Clean up files with dirty headers
2019-07-08 04:28:31 +02:00
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
2019-07-08 04:12:12 +02:00
Anders Jenbo
e6f4e21631
Merge branch 'master' of github.com:diasurgical/devilution
2019-06-16 19:18:19 +02:00
Anders Jenbo
f31cac0ee0
Clean up Cl2DecodeFrm3, Cl2DecodeFrm5, Cl2DecodeLightTbl & Cl2DecodeFrm6
2019-06-13 21:55:18 +01:00
Sergey Semushin
2b816ff9a8
Make CelDrawHdrLightRed bin exact.
2019-06-13 11:57:03 +01:00
Anders Jenbo
0397dbe9e3
Allign similar code in engine.cpp
2019-06-11 11:08:50 +02:00
Anders Jenbo
85651c015a
Consistent var naming in engine.cpp
2019-06-10 23:23:30 +02:00
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
2019-06-05 20:13:34 +02:00
Anders Jenbo
8cb04b0d9b
Merge branch 'master' of github.com:diasurgical/devilution
2019-06-02 19:11:49 +02:00
Manuel K
df1d049ae3
Use SCREEN_Y
2019-06-02 18:08:09 +01:00
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
2019-06-02 17:51:33 +01:00
Anders Jenbo
0c4b4719b8
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-09 23:51:21 +02:00
Sergey Semushin
a87f1450e7
Add algorithm description comment for DrawLine.
2019-05-06 02:04:07 +01:00
Sergey Semushin
b971d8a2cb
Make DrawLine bin exact by copying from its original source.
2019-05-05 21:12:07 +01:00
Anders Jenbo
23e7737c75
Merge branch 'master' of github.com:diasurgical/devilution
...
Fixes #92
2019-05-05 00:27:08 +02:00
galaxyhaxz
5e10dcb912
diablo_reload_proc & Xiaolin Wu ref
2019-05-04 17:29:21 +01:00
Anders Jenbo
35b6b738af
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-01 15:17:36 +02:00
galaxyhaxz
75a150d142
DrawLine ( #1084 )
2019-05-01 05:32:05 -05:00
galaxyhaxz
5d4918eea0
LoadWithMem
2019-04-30 22:47:53 -05:00
Xadhoom
6856fb74e2
Merge upstream beanch 'devilution/master'
2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8
Merge branch 'TownDead'
2019-04-24 14:08:25 +02:00
galaxyhaxz
3a636fdcc6
Add missing functions for MI_Dummy ( #1004 )
2019-04-22 20:21:52 -05:00
galaxyhaxz
777c517b8e
Change ASM macro
2019-04-22 02:23:12 -05:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00