List of commits:
Subject Hash Author Date (UTC)
Switch interaction to mouse-up 345ce8d1ea9755f51365a2676cce0415f9cf68c2 mse 2022-04-10 21:07:15
Use gradient for text backdrop 6ad98cdaf4df37e8b24d9c1e8e2f9b0e904da9aa mse 2022-04-10 13:04:29
Improve vn button highlight 51b2c6c07b0cfb0efdb8cdf5cbeba49ef54d9ccb mse 2022-04-09 06:54:39
Darken the screen when drawing a menu with non-VN text 8f3bcee6d57817ea8c1dd999c68cb129dea1550c mse 2022-04-08 16:01:52
Upgrade the UI 45561487af001c5a790343690a792faeb14945d4 mse 2022-04-06 23:45:31
Progress on getting Emscripten builds working again (almost) e4276b7823027c7ac3a3afe30c3c30241f1c6642 mse 2022-04-01 11:16:56
Bump to version 0.7.9 1c93b011603bd953df0628fa39c586c11eeb7138 mse 2022-03-30 08:31:00
Some progress on Android support dd2d0eb6d4ee42149b605526ce304e67243d90b4 mse 2022-03-20 00:28:35
Android support (work in progress) a8f26dd2d83d66fb8e3b634991084fbdc9faa640 mse 2022-03-19 20:08:09
Add IFGOSUB db52bc04bac0af4d668696580b1312920a47d9e5 mse 2022-03-19 17:11:36
Remove Poco from the makefile e6274074304b40f0eaae0e591acadc604388fbaa mse 2022-03-19 17:00:54
Disable texture wrapping in VN 75ed1c845f4643fa4e012f22f5a2bbeacca9d51e mse 2022-03-18 21:39:00
Menu improvements 2ee4efdb3fedb69cbf56711841fc961bd1b4877c mse 2022-03-17 19:32:45
Menu navigation fixes 362878a56a72a43f671d4c6022e53ce124a0cf99 mse 2022-03-17 18:47:50
Rewrite VN engine 4c88d574d4f72794ab17fb5ecdc57fbd2a93cb7e mse 2022-03-16 07:19:06
Add commandKey() function 066858b9a80610248bed69ac7095129a9f142a78 mse 2022-03-14 00:05:46
Fix a multiple selection bug on the trading screen 0c64d03fed96234183bf7bb69819f48472c1aafd mse 2022-03-10 07:14:13
Right joystick moves mouse f59369b8be29e9910ef3e5e807495b46a6403c19 mse 2022-03-06 09:50:35
Add CLEARSCREEN command 57f55faa0fec4c558e8c9a7942cb0f47ddca07d7 mse 2022-03-01 09:35:11
Tint rain ambient color & bump version to v0.7.8 56888b00706faddf9aea8a1930ee784b535c50bf mse 2022-01-31 03:02:45
Commit 345ce8d1ea9755f51365a2676cce0415f9cf68c2 - Switch interaction to mouse-up
Author: mse
Author date (UTC): 2022-04-10 21:07
Committer name: mse
Committer date (UTC): 2022-04-10 21:07
Parent(s): 6ad98cdaf4df37e8b24d9c1e8e2f9b0e904da9aa
Signing key:
Tree: b992dbe76b550e12f7733c36f9bca5156cd65ba6
File Lines added Lines deleted
confec.cpp 12 12
File confec.cpp changed (mode: 100644) (index fa42140..e37c22d)
... ... void DrawSettings(){
4967 4967 fgl::mouseX < button_x + button_width; fgl::mouseX < button_x + button_width;
4968 4968 if( hover ) choiceIndex = button_index; if( hover ) choiceIndex = button_index;
4969 4969 if( button_index == choiceIndex && !inputTarget if( button_index == choiceIndex && !inputTarget
4970 && ( interactButtonDown || ( hover && mouseDownLeft ) ) ){
4970 && ( interactButtonDown || ( hover && mouseUpLeft ) ) ){
4971 4971 // Do not propagate the click or button press. // Do not propagate the click or button press.
4972 mouseDownLeft = false;
4972 mouseUpLeft = false;
4973 4973 interactButtonDown = false; interactButtonDown = false;
4974 4974 actionButtonDown = false; actionButtonDown = false;
4975 4975 // Open an inline text input. // Open an inline text input.
 
... ... void DrawCharacterSelect(){
5133 5133 ); );
5134 5134 } }
5135 5135 offset_x += increment_x; offset_x += increment_x;
5136 if( ( hover && mouseDownLeft )
5136 if( ( hover && mouseUpLeft )
5137 5137 || ( (size_t)choiceIndex == i && (actionButtonDown || interactButtonDown) ) ){ || ( (size_t)choiceIndex == i && (actionButtonDown || interactButtonDown) ) ){
5138 5138 // Do not propagate the click or button press. // Do not propagate the click or button press.
5139 mouseDownLeft = false;
5139 mouseUpLeft = false;
5140 5140 actionButtonDown = false; actionButtonDown = false;
5141 5141 interactButtonDown = false; interactButtonDown = false;
5142 5142 character_select_display = false; character_select_display = false;
 
... ... void GameLoop( double d ){
5854 5854 if( ent.task != fworld::TASK_SLEEP || ent.type != "regrow" ) if( ent.task != fworld::TASK_SLEEP || ent.type != "regrow" )
5855 5855 target_name = ent.name; target_name = ent.name;
5856 5856 //vnDrawImage( tex_actions, fgl::mouseX - 36.0 * round_scale, fgl::mouseY - 36.0 * round_scale, 0.0, round_scale, round_scale ); //vnDrawImage( tex_actions, fgl::mouseX - 36.0 * round_scale, fgl::mouseY - 36.0 * round_scale, 0.0, round_scale, round_scale );
5857 if( mouseDownLeft ){
5857 if( mouseUpLeft ){
5858 5858 // If there is interaction, do not propagate the click. // If there is interaction, do not propagate the click.
5859 mouseDownLeft =
5859 mouseUpLeft =
5860 5860 !WorldInteract( world.cursorOverEntity ); !WorldInteract( world.cursorOverEntity );
5861 5861 } }
5862 5862 } }
 
... ... void GameLoop( double d ){
5865 5865 // to wherever the player is right-clicking or tapping. // to wherever the player is right-clicking or tapping.
5866 5866 if( ( if( (
5867 5867 mouseRight mouseRight
5868 || ( mouse_on_world && mouseDownLeft )
5868 || ( mouse_on_world && mouseUpLeft )
5869 5869 ) && show_cursor && player.task != fworld::TASK_SLEEP ){ ) && show_cursor && player.task != fworld::TASK_SLEEP ){
5870 5870 world.solveEntityPath( player, (long long)( world.cursorWorldX ), (long long)( world.cursorWorldY ), true ); world.solveEntityPath( player, (long long)( world.cursorWorldX ), (long long)( world.cursorWorldY ), true );
5871 5871 if( player.path.size() > 0 && !world.mapChanged ) if( player.path.size() > 0 && !world.mapChanged )
5872 5872 player.task = fworld::TASK_NONE; player.task = fworld::TASK_NONE;
5873 if( mouseDownLeft ){
5873 if( mouseUpLeft ){
5874 5874 // Do not propagate the click. // Do not propagate the click.
5875 mouseDownLeft = false;
5875 mouseUpLeft = false;
5876 5876 if( somethingSelected ){ if( somethingSelected ){
5877 5877 // Walk a path to the drop site. // Walk a path to the drop site.
5878 5878 player.task = fworld::TASK_DROP; player.task = fworld::TASK_DROP;
 
... ... void GameLoop( double d ){
6072 6072 convo, convo,
6073 6073 choiceIndex, choiceIndex,
6074 6074 moveXDown + moveYDown, moveXDown + moveYDown,
6075 show_cursor,
6076 mouseDownLeft || actionButtonDown || interactButtonDown,
6075 mouseLeft || mouseUpLeft,
6076 mouseUpLeft || actionButtonDown || interactButtonDown,
6077 6077 pauseButtonDown ) ){ pauseButtonDown ) ){
6078 6078 // Do not propagate the click or button press. // Do not propagate the click or button press.
6079 mouseDownLeft = false;
6079 mouseUpLeft = false;
6080 6080 actionButtonDown = false; actionButtonDown = false;
6081 6081 interactButtonDown = false; interactButtonDown = false;
6082 6082 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mse/ConfectionerEngine

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mse/ConfectionerEngine

Clone this repository using git:
git clone git://git.rocketgit.com/user/mse/ConfectionerEngine

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main