Commit graph

30 commits

Author SHA1 Message Date
galaxyhaxz
cef65ea0b6 Implement Critical section constructor 2019-04-15 01:16:43 +02:00
galaxyhaxz
b228d6e00a Palette fix for newer Windows 2019-04-12 22:42:39 -05:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxz
5238265702
Implement assert support (#791) 2019-03-29 21:26:37 -05:00
galaxyhaxz
befd52c003 Fix type for 'gpBuffer' (#672) 2019-03-18 22:28:38 +09:00
Anders Jenbo
9b7da61dcf Auto format src 2019-01-13 18:55:59 +01:00
Anders Jenbo
54247a076c C init (#549)
* Make initializers C compatible

* Compile more files as C

dthread.cpp dx.cpp init logging.cpp fault.cpp msgcmd.cpp nthread.cpp

* Update defs.h
2019-01-10 21:39:28 +01:00
Anders Jenbo
e795b6116a Make use of atexit() C compatible (#537) 2019-01-01 03:05:29 +01:00
Anders Jenbo
86018b174b Make DirecX usage C compatible 2018-12-31 03:17:08 +01:00
Anders Jenbo
47bf82b059 C compatability from a-d (#518) 2018-12-29 15:12:19 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
553086dca7 Format graphics related files 2018-10-22 01:35:07 +02:00
Anders Jenbo
b1b80c957a Clean up dx_create_back_buffer 2018-10-21 16:13:29 +02:00
Anders Jenbo
7d27f1985b Correct type for fullscreen 2018-10-21 16:13:29 +02:00
Anders Jenbo
2c923f9183 Clean up dx_create_primary_surface 2018-10-21 16:13:29 +02:00
Anders Jenbo
c5fa8a1a94 Clean up lock_buf_priv 2018-10-21 16:13:29 +02:00
Anders Jenbo
16b8b32cf1 Clean up dx_reinit 2018-10-21 16:13:29 +02:00
Anders Jenbo
0c896852de Clean up unlock_buf_priv 2018-10-21 16:13:29 +02:00
Anders Jenbo
a39453dfeb Clean up dx_DirectDrawCreate 2018-10-21 16:13:29 +02:00
Robin Eklind
9772cd0743 Add definition of j_lock_buf_priv and j_unlock_buf_priv for debug release.
Also add a debug target for MakefileVC.
2018-10-06 14:44:37 +02:00
Robin Eklind
3103da7f1d
Add missing arg to j_lock_buf_priv and j_unlock_buf_priv (#374) 2018-10-06 14:42:52 +02:00
nomdenom
4bb6bde99b Use sizeof() for memset()
I checked that the sizes do match. (+1 squashed commits)
2018-09-27 19:23:21 -07:00
Andrew Dunstan
aedf7555d1 Remove A suffix from all string-related win32 API function names 2018-09-16 02:52:51 +10:00
galaxyhaxz
d991f63b16
Fix type of screen_buf_end (#184) 2018-08-27 22:16:26 -05:00
galaxyhaxz
5ff8756116
Fix junk (#174) 2018-08-21 23:58:17 -05:00
galaxyhaxz
775ae59e18
Fix function signatures and others (#158)
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
0db106a5b4
Add support for Visual C++ 5.10 (#12)
* Update stuff
2018-06-14 02:38:27 -05:00
galaxyhaxz
dde68ff89e
Add files via upload 2018-06-06 21:25:54 -05:00