Gleb Mazovetskiy
4cf0053ece
Set underlying type for all the enums
...
Reduces rg99 binary size by 3 KiB.
2022-08-11 01:43:54 +02:00
Gleb Mazovetskiy
ba34bafb3f
Use SDL events directly
...
Removes redundant miniwin events and queue, using SDL events directly instead.
Demo migrated using this script: https://gist.github.com/glebm/8a73b04f695de96f344cc2e35151e03e
2022-08-03 03:50:19 +02:00
obligaron
2c7e886c85
Add detail log info to CompareSaves
2022-08-02 02:12:36 +02:00
Gleb Mazovetskiy
7c0b72abc0
Improve demo test error message
...
Example:
```
file "game" is different at byte 54251:
Expected: ... 00 00 00 00 00 00 00 00 30 00 00 00 50 00 00 00 ...
Actual: ... FF FF FF FF 00 00 00 00 30 00 00 00 50 00 00 00 ...
```
2022-07-26 01:20:06 +02:00
Gleb Mazovetskiy
adf40f5c80
misc_msg: Always use lParam for mod state
...
Previously, keyboard events used `lParam` for modifier key state,
while mouse events used `wParam`.
Changes the mouse events to use `lParam`, which allows us to
change `lParam` to `uint16_t`.
Demo migrated with a script.
2022-07-18 11:09:45 +01:00
Gleb Mazovetskiy
4c1dbaba72
Demo mode: Handle endianness
2022-07-18 10:35:27 +01:00
Gleb Mazovetskiy
ea1087dfeb
Use StrCat in a few more places
...
Now `fmt` is only used for more complex formatting and for translations.
2022-07-17 20:43:00 +02:00
Gleb Mazovetskiy
a4ac41cece
Replace DVL_VK virtual key codes with SDLK
2022-07-17 10:00:06 +01:00
Anders Jenbo
ac2bf9aaac
Limit what gets called in headless mode
2022-07-13 18:54:36 +02:00
obligaron
ebfb519ee0
Rename gbQuietMode to HeadlessMode
2022-07-13 18:54:36 +02:00
obligaron
bab9baa42a
Handle gbQuietMode for paths in StartGame
2022-07-13 18:54:36 +02:00
Anders Jenbo
3ae834148a
Split event handeling from general miniwin features
2022-07-10 21:13:39 +02:00
Gleb Mazovetskiy
72660d9189
Migrate snprintf to fmt ( #4845 )
...
* Migrate `app_fatal` from printf to libfmt
* Migrate snprintf to fmt
2022-07-02 02:36:17 +02:00
obligaron
0d2a23254e
Use binaryformat for demofile ( #4799 )
2022-06-25 22:19:37 +02:00
obligaron
1608219b39
Timedemo: Create reference save game and allow comparing of reference save game with actual timedemo save game
2022-06-04 21:15:47 +02:00
obligaron
b62cacd1d6
Demomode: Init ControlMode to KeyboardAndMouse
2022-04-23 05:32:01 +02:00
obligaron
79b926c375
Move more options to OptionEntryBase
2022-02-05 20:51:54 +01:00
obligaron
9a14edfcd9
Add OptionEntries for Hardware Cursor
2021-12-17 20:12:17 +01:00
Gleb Mazovetskiy
9bc9bb6d33
Fix demomode file comments
2021-12-17 16:27:19 +00:00
Gleb Mazovetskiy
1f2d67f98b
Fix demomode line endings
2021-12-17 16:27:19 +00:00
obligaron
5e2ad66e64
Add OptionEntry Resolution
2021-12-08 00:37:06 +01:00
obligaron
2e5a488d5f
Add OptionEntry for graphics
2021-12-05 02:00:27 +01:00
obligaron
6273f700fa
Add some Graphic Settings to Settingsmenu ( #3617 )
2021-11-27 00:25:48 +01:00
Gleb Mazovetskiy and Anders Jenbo
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <[email protected] >
2021-11-24 23:44:12 +01:00
obligaron
02900c8fa5
Demo: Fix rendering jittering
2021-08-29 21:40:24 +02:00
obligaron
2a6e5712de
Disable hardware cursor for demo playback
2021-08-29 10:26:50 +02:00
obligaron
26e61b363b
demo: Centralize options override
2021-08-19 00:04:57 +02:00
obligaron
77f9bded9e
Introduce demo namespace
2021-08-19 00:03:58 +02:00