mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Improved Scrolling, Large Map Handling
- Bugfix in MapClass::Overpass when placing objects while scrolled all the way up / left on a larger map - Disabled a check in DisplayClass::Set_Cursor_Pos preventing mouse cell coordinates from being updated while scrolled all the way up / left on a larger map - Added (disabled) function to display mouse/cell position - Improved mouse scroll region (but still work to be done)
This commit is contained in:
@@ -534,6 +534,13 @@ void MapEditClass::AI(KeyNumType & input, int x, int y)
|
||||
/*
|
||||
** Check for mouse motion while left button is down.
|
||||
*/
|
||||
|
||||
//Draw mouse cell position (CellX/CellY)
|
||||
//CELL template_cell = (ZoneCell + ZoneOffset);
|
||||
//char tmp[12];
|
||||
//sprintf(tmp, "%d , %d", Cell_X(template_cell), Cell_Y(template_cell));
|
||||
//GL_DrawText(6, 64, 64, tmp);
|
||||
|
||||
rc = Mouse_Moved();
|
||||
if (Keyboard->Down(KN_LMOUSE) && rc) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user