Commit Graph

152 Commits

Author SHA1 Message Date
Eugene Sandulenko
671d3faa71 WAGE: Initial code for border manipulation 2016-03-18 11:45:29 +01:00
Eugene Sandulenko
1415e620e4 WAGE: Implemented cropping in cosole. That fixes crashes in Bug Hunt 2016-02-25 11:51:21 +01:00
Filippos Karapetis
a229edaea8 WAGE: Silence false positive MSVC warnings 2016-02-24 00:10:48 +02:00
Eugene Sandulenko
64e21078da WAGE: Fix crash when border is off-screen. Bug Hunt was affected. 2016-02-23 11:18:44 +01:00
Eugene Sandulenko
a6120d8b27 WAGE: Started post-gameover code implementation 2016-02-16 11:32:47 +01:00
Eugene Sandulenko
effd02bdc1 WAGE: Fix uninit members 2016-02-14 17:33:52 +01:00
Eugene Sandulenko
499519fec3 WAGE: Fix int/uint comparison 2016-02-14 17:13:25 +01:00
Eugene Sandulenko
9c8d0352ad WAGE: Avoid potential race condition in cursor drawing code 2016-02-14 17:13:21 +01:00
Eugene Sandulenko
5cea5a4d3a WAGE: Implement Cut and Clear actions 2016-02-14 17:13:06 +01:00
Eugene Sandulenko
c80bc8cbe0 WAGE: Move all console-related stuff to gui-console.cpp 2016-02-14 17:13:05 +01:00
Eugene Sandulenko
47e3fec8ea WAGE: Firther work on input improvements 2016-02-14 17:13:05 +01:00
Eugene Sandulenko
ab20b96f60 WAGE: Improve text entry 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
1d5220ef3f WAGE: Implement Undo action 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
3570e417c9 WAGE: Implement Paste action 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
08b3f89b09 WAGE: Made copy command working 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
fe40bb284c WAGE: Started copy command implementation 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
7e8c1028d3 WAGE: Implement API to enable/disable menu items 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
c02c36ce88 WAGE: Implemented a way to remove selection 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
06ba17395d WAGE: Fix cursors during dialogs 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
8ee5d6e9d1 WAGE: Fix crash and remove debug output 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
30713e4262 WAGE: Implement highlighting one line selection 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
5ac2581645 WAGE: Fix text coordinate calculation 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
40cdf028b3 WAGE: Fix end of selection calculation 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
d56590784f WAGE: Fix text end marking 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
b24be406d2 WAGE: Fixes to selection highlighting 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
d585719c2d WAGE: First attempt to draw partial highlights 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
9d9e769b5e WAGE: Mark full lines of selected text 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
81fb44960f WAGE: Rename function to CamelCase 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
ed3372d8bf WAGE: Fix formatting 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
0ab0daa1dc WAGE: Further work on console selection 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
53e68cf92c WAGE: Calculate click position in text 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
d812706328 WAGE: Started text selection implementation 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
63ef49ec8a WAGE: Rename mouse event processor to add clarity 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
95a3a31ee1 WAGE: Initial code for shortcuts 2016-02-14 17:12:57 +01:00
Eugene Sandulenko
e41c3c50de WAGE: Fix crash in Deep Angst, when border is beyond the screen 2016-02-14 17:12:56 +01:00
Eugene Sandulenko
345effab98 WAGE: Implement WageEngine::setMenu() 2016-02-14 17:12:55 +01:00
Eugene Sandulenko
34f9a1375d WAGE: Get rid of Common::String import 2016-02-14 17:12:53 +01:00
Eugene Sandulenko
47b3f404b8 WAGE: Moved all interaction-related methods from script.cpp to combat.cpp 2016-02-14 17:12:52 +01:00
Eugene Sandulenko
028e3c14d5 WAGE: Fix border title drawing 2016-02-14 17:12:48 +01:00
Eugene Sandulenko
d9c3cd18d6 WAGE: Simplified default pattern setting 2016-02-14 17:12:48 +01:00
Eugene Sandulenko
ee8999241e WAGE: Fix submenu rendering 2016-02-14 17:12:47 +01:00
Eugene Sandulenko
40eb91da3c WAGE: More menu finetuning 2016-02-14 17:12:47 +01:00
Eugene Sandulenko
61dec8fd96 WAGE: Fix scene and text position as it is provided by the game data 2016-02-14 17:12:47 +01:00
Eugene Sandulenko
5a887808ab WAGE: Regenerate weapons menu on demand 2016-02-14 17:12:45 +01:00
Eugene Sandulenko
7c04b4ddf7 WAGE: Proper rendering of accelerators 2016-01-13 23:33:52 +01:00
Eugene Sandulenko
4c8b9bb52c WAGE: Moved global patterns to Gui class 2016-01-13 23:00:30 +01:00
Eugene Sandulenko
644f1ef215 WAGE: Optimize menu redraws 2016-01-11 20:46:57 +01:00
Eugene Sandulenko
d485f7d7bb WAGE: Show menu only with mouse button on hold 2016-01-11 20:31:24 +01:00
Eugene Sandulenko
2d2c8ab340 WAGE: Highlight first level menus 2016-01-11 20:17:38 +01:00
Eugene Sandulenko
5b374c6f55 WAGE: Moved menu rendering into separate file 2016-01-11 11:16:00 +01:00
Eugene Sandulenko
3906c36898 WAGE: Put lists into typedefs 2016-01-09 01:34:06 +01:00
Eugene Sandulenko
9b8e5020bf WAGE: Reduced header dependency 2016-01-09 01:25:23 +01:00
Eugene Sandulenko
83dcdf9c63 WAGE: Fix race condition which led to random crashes 2016-01-07 14:17:50 +01:00
Eugene Sandulenko
46076a0e6c WAGE: Plugged great deal of leaks 2016-01-07 01:24:42 +01:00
Eugene Sandulenko
4ba3da8b9b WAGE: Plug memory leak 2016-01-06 23:40:59 +01:00
Eugene Sandulenko
fdfb4eedcd WAGE: More warning fixes 2016-01-06 23:39:35 +01:00
Eugene Sandulenko
57372c7375 WAGE: Fix console clearing 2016-01-05 19:31:25 +01:00
Eugene Sandulenko
bc8b63cfb4 WAGE: Full redraw on scene change 2016-01-04 23:46:31 +01:00
Eugene Sandulenko
ba34243d5b WAGE: Make console window active when text is entered. Matches original 2016-01-04 23:17:27 +01:00
Eugene Sandulenko
e2fa8c1de7 WAGE: Fix menu height 2016-01-04 20:10:31 +01:00
Eugene Sandulenko
e7eb7ffc81 WAGE: Further fixes to cursor position 2016-01-04 11:17:51 +01:00
Eugene Sandulenko
5cffbed146 WAGE: Fix cursor position for built-in fonts 2016-01-04 11:11:27 +01:00
Eugene Sandulenko
b386467903 WAGE: Fix crash when wage.dat is not present 2016-01-04 00:47:16 +01:00
Eugene Sandulenko
2c8922ed30 WAGE: Fix cursor position at the scroll end 2016-01-04 00:23:05 +01:00
Eugene Sandulenko
c8b20bc8ab WAGE: Fix cursor position 2016-01-04 00:13:28 +01:00
Eugene Sandulenko
f97c915c7b WAGE: Display text input 2016-01-04 00:09:10 +01:00
Eugene Sandulenko
e95122be6c WAGE: Optimized screen blitting 2016-01-03 22:11:58 +01:00
Eugene Sandulenko
aec3bc19ec WAGE: Fixed cursor position 2016-01-03 22:11:41 +01:00
Eugene Sandulenko
0b361b94dc WAGE: Initial cursor drawing code 2016-01-03 21:59:57 +01:00
Eugene Sandulenko
6233e429f3 WAGE: Leave room for input text in console 2016-01-03 19:05:43 +01:00
Eugene Sandulenko
b25b2ec8ad WAGE: Implement immediate text rendering to match original 2016-01-03 15:34:26 +01:00
Eugene Sandulenko
74cbf5477d WAGE: Implement console scrolling 2016-01-03 15:31:24 +01:00
Eugene Sandulenko
e684c1148e WAGE: Remove redundant headers 2016-01-03 12:40:29 +01:00
Eugene Sandulenko
2aef67c0ac WAGE: Refactored font querying 2016-01-03 12:39:29 +01:00
Eugene Sandulenko
077048032b WAGE: Refactored coordinate manipulation 2016-01-03 12:23:17 +01:00
Eugene Sandulenko
8d6e811842 WAGE: Redraw Gui parts on demand 2016-01-02 02:53:30 +01:00
Eugene Sandulenko
e825eadb80 WAGE: Made Gui autosense scene change 2016-01-02 02:39:47 +01:00
Eugene Sandulenko
2e6732171d WAGE: More work on object interaction 2016-01-02 00:55:45 +01:00
Eugene Sandulenko
1ef7beb8e8 WAGE: Stub for object clicking 2016-01-01 18:48:16 +01:00
Eugene Sandulenko
559e486034 WAGE: Stub for rendering menu items 2016-01-01 13:09:39 +01:00
Eugene Sandulenko
c65f15e7e4 WAGE: Fix console output for empty lines 2016-01-01 02:58:34 +01:00
Eugene Sandulenko
02a8291c5b WAGE: Fix console padding 2016-01-01 02:49:23 +01:00
Eugene Sandulenko
584dcae75c WAGE: Pad windows to match the original 2016-01-01 02:36:44 +01:00
Eugene Sandulenko
1332958c9a WAGE: Stub for menu drawing 2016-01-01 02:23:43 +01:00
Eugene Sandulenko
03e3f80bff WAGE: Mac has roundrect on desktop. Render it 2016-01-01 02:16:00 +01:00
Eugene Sandulenko
ac87bc9671 WAGE: Implement cursor drawing and handling 2016-01-01 01:46:27 +01:00
Eugene Sandulenko
3835f9f626 WAGE: Matched game screen size to Macintosh, fixed line spacing 2015-12-31 19:07:50 +01:00
Eugene Sandulenko
18990b49ae WAGE: Use Mac fonts for rendering 2015-12-31 19:01:26 +01:00
Eugene Sandulenko
dad200e50e WAGE: Load fonts from wage.dat 2015-12-31 18:50:34 +01:00
Eugene Sandulenko
a3cc6cdddc WAGE: Draw scene title 2015-12-31 18:07:01 +01:00
Eugene Sandulenko
849220b6b6 WAGE: Simplified border drawing API 2015-12-31 17:55:33 +01:00
Eugene Sandulenko
f25663605b WAGE: Implement console drawing 2015-12-31 17:45:36 +01:00
Eugene Sandulenko
141bddbf57 WAGE: Stub for console rendering 2015-12-30 18:41:18 +01:00
Eugene Sandulenko
a712a1d80b WAGE: Implement appendText() 2015-12-30 18:22:46 +01:00
Eugene Sandulenko
1c3560cd65 WAGE: Draw console window border. 2015-12-30 01:58:42 +01:00
Eugene Sandulenko
97c17ed199 WAGE; Fix border drawing 2015-12-30 01:46:51 +01:00
Eugene Sandulenko
0c682799a1 WAGE: Draw checkered background to simulate desktop 2015-12-29 01:46:39 +01:00
Eugene Sandulenko
3fe3ad7ee3 WAGE: Moved scene drawing calls to Gui class 2015-12-28 12:38:26 +01:00
Eugene Sandulenko
357d956a83 WAGE: More improvements to the border drawing 2015-12-27 15:41:03 +01:00
Eugene Sandulenko
cd063ec0e8 WAGE: Further work on border drawing 2015-12-27 15:41:03 +01:00