Jonathan G Rennison
3bcf5dfd8f
Add: Road waypoint functionality
2024-04-24 21:50:29 +01:00
Peter Nelson
3b75d8bbf8
Fix: Use modern comparisons instead of memcmp in cache check.
...
This uses C++20 default operator<=> to provide comparisons of some objects.
This works properly with caches that containers.
2024-04-18 22:13:55 +01:00
Patric Stout
a3cfd23cf9
Codechange: rename byte to uint8_t ( #12308 )
2024-03-16 23:59:32 +01:00
Rubidium
eaae0bb5e7
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
...
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
2023-07-19 19:30:14 +02:00
PeterN
c1077212d7
Codechange: Use a shared_ptr for viewport overlay. ( #10586 )
2023-03-31 16:06:36 +01:00
Peter Nelson
890b2666d3
Change: Use scaled WidgetDimensions.
2022-11-12 18:28:39 +00:00
Tyler Trahan
3d45bc4abe
Feature: Build objects by area
2022-10-16 18:28:08 +02:00
Michael Lutz
58cff7b081
Codechange: Un-bitstuff the remaining on-map commands.
2021-12-16 22:28:32 +01:00
TechGeekNZ
a10013dd00
Codechange: Spell 'Viewport' consistently
...
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
2020-07-27 17:31:29 +01:00
Niels Martin Hansen
9900af38f5
Fix #7847 : Use ViewportSign coordinates for sign Kdtree coordinates ( #7849 )
...
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined.
By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
2019-12-01 23:17:33 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
JMcKiern
04f659e768
Fix: Some typos found using codespell
2019-09-29 21:27:32 +01:00
peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
2019-05-01 21:36:27 +02:00
Pavel Stupnikov
8e4bce58ea
Feature: GS methods to scroll viewport for players ( #6745 )
2018-04-24 19:19:00 +02:00
frosch
9fb56ca02e
(svn r27248) -Fix [FS#6257]: Town labels on smallmap and zoomed-out viewports were not centered. (_dp_)
2015-04-25 11:58:19 +00:00
rubidium
ef7befdbd8
(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)
2013-05-19 14:49:25 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
rubidium
113746b3a6
(svn r24068) -Change/fix [FS#5103]: significantly reduce the area that is redrawn for text effects (Rhamphoryncus)
2012-03-25 19:30:05 +00:00
rubidium
1a515e6344
(svn r22405) -Document: some more "random-ish" tidbits
2011-05-01 19:14:12 +00:00
alberth
8f24ec9471
(svn r21018) -Doc: Add Doxygen comments to some function.
2010-10-23 18:28:20 +00:00
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
2010-05-13 09:44:44 +00:00
rubidium
3118292b14
(svn r19807) -Codechange: instead of having an unnamed enum and passing it as an int, name the enum and pass that
2010-05-13 08:56:01 +00:00
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
2010-03-23 22:25:43 +00:00
terkhen
aba24e44cf
(svn r19230) -Feature: Allow to remove multiple road stops using drag and drop.
2010-02-24 21:53:16 +00:00
terkhen
70b1bc5048
(svn r19229) -Feature: Allow to build multiple road stops using drag and drop (Based on Wolf01 work)
2010-02-24 21:51:59 +00:00
terkhen
8849943da5
(svn r18984) -Add: Viewport place methods for dragging a line with limited size.
2010-02-01 23:13:15 +00:00
terkhen
68fc39ea1d
(svn r18977) -Doc: Add comments to ViewportDragDropSelectionProcess.
2010-01-31 22:37:20 +00:00
rubidium
b0603f4c2e
(svn r18602) -Codechange: unify the viewport sign and text effect drawing
...
-Fix [FS#3394]: signs could occasionally glitch
2009-12-22 12:50:41 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
3fb1506d6d
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
2009-07-08 08:50:20 +00:00
rubidium
8275a98e1f
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
2009-07-08 08:30:35 +00:00
rubidium
3086383cdc
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
2009-07-07 16:51:20 +00:00
rubidium
d02cdd91ca
(svn r16095) -Change/Feature-ish: make the first 4 rail building tools behave more like autorail
2009-04-19 21:26:06 +00:00
smatz
cbe397388f
(svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels
2008-09-02 14:46:28 +00:00
rubidium
cabd771fc0
(svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h.
2008-05-08 13:21:55 +00:00
rubidium
cd7c99452f
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
2008-05-07 13:18:33 +00:00
rubidium
3d5567ccf7
(svn r12987) -Codechange: split viewport and tile selection.
2008-05-07 13:10:15 +00:00
rubidium
ee02dd7dad
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
2008-04-07 20:28:58 +00:00
rubidium
b4b3190b62
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
2008-01-09 09:57:48 +00:00
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
2008-01-09 09:45:45 +00:00