Commit graph

63 commits

Author SHA1 Message Date
Kartik Agarwala
de81248bb4 CRAB: Fix keys getting eaten when trying to input save name 2023-10-11 18:31:38 +05:30
Kartik Agarwala
8195669668 CRAB: Move flushing configuration options to disk to a better place. 2023-09-07 13:09:20 +05:30
Kartik Agarwala
0c6c59768e CRAB: Save keymaps to disk when required 2023-09-02 10:55:47 +02:00
Kartik Agarwala
86c27bf69a CRAB: Save action description to variable for later use in keybind menu 2023-09-02 10:55:47 +02:00
Kartik Agarwala
677367ec72 CRAB: Add and fix keymaps 2023-09-02 10:55:47 +02:00
Kartik Agarwala
fd1110d534 CRAB: Add more kemappings for UI elements 2023-09-02 10:55:47 +02:00
hax0kartik
063484c9a3 CRAB: Initialize all values correctly by calling reset() in Cursor constructor 2023-08-11 11:17:18 +02:00
hax0kartik
00b3d76f43 CRAB: Fix unitialized member in InputManager warning 2023-08-11 11:17:18 +02:00
hax0kartik
2e7e796e7d CRAB: Cleanup InputManager code 2023-08-10 17:06:59 +02:00
hax0kartik
01fc771843 CRAB: JANITORIAL: Remove some leftovers and code cleanup 2023-08-10 17:06:59 +02:00
hax0kartik
708c9594e6 CRAB: Fix code formatting of switch case blocks in multiple files 2023-08-10 17:06:59 +02:00
hax0kartik
6507841cd5 CRAB: Cleanup includes in input and item component 2023-08-10 17:06:59 +02:00
hax0kartik
4ed560b96e CRAB: Cleanup headers in crab.h 2023-08-10 17:06:59 +02:00
hax0kartik
e3920899b1 CRAB: Start cleaning up headers 2023-08-10 17:06:59 +02:00
hax0kartik
d7ac8b6185 CRAB: Replace unsigned int with uint 2023-08-10 17:06:59 +02:00
hax0kartik
4f87989f29 CRAB: Remove unneeded warnings and leave a comment 2023-08-10 17:06:59 +02:00
hax0kartik
225cff85fa CRAB: JANITORIAL: Cleanup hotkey.cpp 2023-08-10 17:06:59 +02:00
hax0kartik
de0820c672 CRAB: Use nullptr instead oF NULL 2023-08-10 17:06:59 +02:00
hax0kartik
42fcc61888 CRAB: _state should be signed 2023-08-10 17:06:59 +02:00
hax0kartik
f4a1d6499c CRAB: Get rid of inputVal class 2023-08-10 17:06:59 +02:00
hax0kartik
f2c8b2f953 CRAB: JANITORIAL: Fix code formatting and cleanup multiple classes 2023-08-10 17:06:59 +02:00
hax0kartik
dcd2e28545 CRAB: JANITORIAL: Remove stubbed out code where possible 2023-08-10 17:06:59 +02:00
hax0kartik
0e829d92f9 CRAB: Rename Quit() to quit() for cursor and LoadingScreen 2023-08-10 17:06:59 +02:00
hax0kartik
8e1ae3174b CRAB: Make music component follow code formatting conventions 2023-08-10 17:06:59 +02:00
hax0kartik
e0d27c9e0b CRAB: Make InputManager class follow code formatting conventions 2023-08-10 17:06:59 +02:00
hax0kartik
a82d514065 CRAB: Make FightInput and Hotkey class follow code formatting conventions 2023-08-10 17:06:59 +02:00
hax0kartik
0e500aaa81 CRAB: Make cursor class follow code formatting conventions 2023-08-10 17:06:59 +02:00
hax0kartik
e3581221b2 CRAB: Make Image class follow code formatting conventions 2023-08-10 17:06:59 +02:00
hax0kartik
583a00327c CRAB: Rename HandleEvents() to handleEvents() throughout CRAB codebase 2023-08-10 17:06:59 +02:00
hax0kartik
07ffe2069f CRAB: Rename SaveState()/loadState() to saveState()/loadState() across CRAB codebase 2023-08-10 17:06:59 +02:00
hax0kartik
2ce24324af CRAB: Rename Reset() to reset() across CRAB codebase 2023-08-10 17:06:59 +02:00
hax0kartik
05ded6201d CRAB: Rename Draw() to draw() across CRAB codebase 2023-08-10 17:06:59 +02:00
hax0kartik
b6eecaa9d1 CRAB: Rename Load() to load() across CRAB codebase 2023-08-10 17:06:59 +02:00
hax0kartik
0e9fa535d4 CRAB: Make loaders.[h, cpp] follow code formatting conventions 2023-08-10 17:06:59 +02:00
hax0kartik
ec510a5597 CRAB: Make XMLDoc follow ScummVM formatting convention 2023-08-10 17:06:59 +02:00
hax0kartik
fa96b84640 CRAB: Rework keymapper logic 2023-08-10 17:06:59 +02:00
hax0kartik
2ac2678d65 CRAB: Free cursor hover textures 2023-08-10 17:06:59 +02:00
hax0kartik
e75ca85bd4 CRAB: Cache mapped keys during intialization of the engine 2023-08-10 17:06:59 +02:00
hax0kartik
1ba5dee659 CRAB: Create and use separate keymappings for UI and Game 2023-08-10 17:06:59 +02:00
hax0kartik
fc0aadbaed CRAB: Make hotkey class usable 2023-08-10 17:06:59 +02:00
hax0kartik
251cc23baf CRAB: Add function to query the key associated with an InputType 2023-08-10 17:06:59 +02:00
hax0kartik
434c65e1ba CRAB: Add basic keyboard controls using keymapper 2023-08-10 17:06:59 +02:00
hax0kartik
e2f726ea1a CRAB: FORBIDDEN_SYMBOL_ALLOW_ALL is no longer needed 2023-08-10 17:06:59 +02:00
hax0kartik
1a325c87e8 CRAB: Remove unnecessary conversions to C string 2023-08-10 17:06:59 +02:00
hax0kartik
b76eaf4d56 CRAB: Use Common Equivalents of STL throughout the engine 2023-08-10 17:06:59 +02:00
Kartik Agarwala
67c4c7db1c CRAB: Fix cursor img hover not being drawn 2023-08-10 17:06:59 +02:00
hax0kartik
a5c8cb267b CRAB: Fix broken builds on windows due to type mixing errors 2023-08-10 17:06:59 +02:00
hax0kartik
bfafbe2ce2 CRAB: Convert gStrPool to a pointer 2023-08-10 17:06:59 +02:00
hax0kartik
7d502038a0 CRAB: Use CursorManager properly to render correct cursor 2023-08-10 17:06:59 +02:00
hax0kartik
8eaf8235e0 CRAB: Make FilePath a public member of Engine class 2023-08-10 17:06:59 +02:00