Anders Jenbo
73a7a1ae6d
Remove unimplemented functions that aren't needed with SDL
7 years ago
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
7 years ago
qndel
7129558d0b
apply enums
7 years ago
Anders Jenbo
edbc23f144
Clean up diablo.cpp
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
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
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Anders Jenbo
5b2a878945
Remove check for multiple application instances
...
(it's currently not working any way)
7 years ago
Anders Jenbo
cf359d9ea2
Remove server chat
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
1aa0b809e1
Clean up diablo_find_window
7 years ago
Robin Eklind
57213a4faa
update names as per @galaxyhaxz suggestion, use info from assert strings
7 years ago
Robin Eklind
fe839e90d9
diablo: rename spszMsgTbl and spszMsgKeyTbl to NetMsgStr and NetMsgHotKey
...
Rationale described in sanctuary/notes@3cd6417cdfafba340145939c2054ec614e1bd33e
as included below:
Infer the name of NetMsgStr and NetMsgHotKey from the
PSX debug names of:
char *PanBtnHotKey[8];
unsigned long PanBtnStr[8];
Note, the previous use of spsz hungarian notation has been removed
since searching for "spsz" gave no results in the merged output of
PSX debug info: https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/_dump_merge_c_
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
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
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
7 years ago
Anders Jenbo
f71471eab7
Correct types related to glSeedTbl
...
Reference:
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/global_0.cpp#L2431
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l1.cpp#L542
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l2.cpp#L538
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l3.cpp#L499
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l4.cpp#L484
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Anders Jenbo
334c06c6d3
Correct type in calls to AddPanelString
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Anders Jenbo
b6a2406d47
Clean up LeftMouseDown
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
qndel
66f160a962
gmenu_left_mouse bin exact
7 years ago
Anders Jenbo
1acba8b43d
Enable lava animation in window mode
7 years ago
galaxyhaxz
31cbaed01e
fix name type
7 years ago
galaxyhaxz
0b1b4e8062
PressChar bin exact as C++ ( #1136 )
7 years ago
galaxyhaxz
8ead9a8606
run_game_loop
7 years ago
galaxyhaxz
5e10dcb912
diablo_reload_proc & Xiaolin Wu ref
7 years ago
Anders Jenbo
9504b5cf57
Clean up drlg_l3.cpp
7 years ago
Anders Jenbo
47fa5d46d9
Clean up debug.cpp
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
508a653a3d
the big PR of the day
7 years ago
galaxyhaxz
740e91e881
rename screen_y_times_768
7 years ago
galaxyhaxz
d440da5dad
CreateLevel & asserts
7 years ago
Anders Jenbo
c0531bfc4c
Some booleans
7 years ago
galaxyhaxz
96fa8f1599
diablo_parse_flags ( #890 )
7 years ago
Robin Eklind
6d49faba3e
StartQuestlog bin exact. Also, fix type of questlog
7 years ago
galaxyhaxz
b228d6e00a
Palette fix for newer Windows
7 years ago
Robin Eklind
26bf6cd767
Fix warning in diablo_hotkey_msg
7 years ago
Anders Jenbo
b253648c5a
Clean up diablo_color_cyc_logic and palette_get_colour_cycling ( #868 )
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago