1
0
Fork 0

Commit Graph

  • e2084bbdcd Codechange: Replace out parameters with result tuples. frosch 2025-04-28 19:06:29 +0200
  • 0c6426cb2d Fix: Out-of-bounds read, if NewGRF stations provided no spritesets. frosch 2025-04-28 17:46:39 +0200
  • 0f1ef96ca1 Codechange: Road stops do not use RealSpriteGroup, ResolveReal is never called. frosch 2025-04-28 17:38:04 +0200
  • af32b5ccaa Codechange: replace char* with std::string_view Rubidium 2025-04-28 18:48:06 +0200
  • 7f0e17597f
    Fix #14098: Use 64-bit type for MIDI realtime information. Peter Nelson 2025-04-28 19:10:53 +0100
  • 8b3511ede8 Codechange: add std::string_view variant of FileHandle::Open Rubidium 2025-04-28 18:35:16 +0200
  • 7d9329d6dd Change: [NewGRF] If Action123 does not resolve in a valid SpriteSet, prefer drawing the default sprite instead of an invalid sprite. frosch 2025-04-28 16:10:56 +0200
  • eef0109949 Codechange: Replace a magic value with a maybe less magical constant. frosch 2025-04-28 16:08:56 +0200
  • d3f03f1cc8 Fix: [NewGRF] AI station construction callback did not work for stations with ID >= 0x100. frosch 2025-04-28 19:07:23 +0200
  • 25577689b7 Codechange: Replace out parameters with result tuples. frosch 2025-04-28 19:06:29 +0200
  • d465867408 Fix: Out-of-bounds read, if NewGRF stations provided no spritesets. frosch 2025-04-28 17:46:39 +0200
  • 87f32c9c67 Codechange: Road stops do not use RealSpriteGroup, ResolveReal is never called. frosch 2025-04-28 17:38:04 +0200
  • fc616d1dc2
    Codechange: Use EnumBitSet for HouseZones. Peter Nelson 2025-04-28 17:27:42 +0100
  • 9116f96e2e Codechange: replace char * with std::string_view Rubidium 2025-04-27 21:10:02 +0200
  • c6ea0ce961 Codechange: use std::span for transferring data in network code Rubidium 2025-04-27 20:08:45 +0200
  • 6847f03c9c Codechange: replace char * with std::string_view Rubidium 2025-04-27 21:10:02 +0200
  • 038a8b9119 Codechange: use std::span for transferring data in network code Rubidium 2025-04-27 20:08:45 +0200
  • f1d9e4a6c7 Fix: [NewGRF] Computed VarAction2 callback results were not always properly masked to 15 bit results. frosch 2025-04-28 13:24:39 +0200
  • 2c19a42fc2 Codechange: CALLBACK_FAILED is an internal constant, do not use it as numeric value in VA2 computations. frosch 2025-04-28 13:23:19 +0200
  • b7e7f08f78 Codechange: Simplify usage of GRFFileProps by adding some common helper methods. frosch 2025-04-26 21:18:07 +0200
  • 46494c6d44 Codechange: Rename GRFFileProps to SubstituteGRFFileProps. frosch 2025-04-26 20:08:10 +0200
  • 298e02d593
    Fix: List Ctrl+Click behaviour for vehicle details tooltip (#14127) Richard Wheeler 2025-04-28 07:00:18 +0100
  • 68ba2735ea Update: Translations from eints translators 2025-04-28 04:46:30 +0000
  • 794ba1f5da Fix 29ceaf0a8: checking std::optional against nullptr caused crash Rubidium 2025-04-27 20:21:31 +0200
  • 6e7ed61d8b Codechange: Simplify usage of GRFFileProps by adding some common helper methods. frosch 2025-04-26 21:18:07 +0200
  • ec3e8e10c7 Codechange: Rename GRFFileProps to SubstituteGRFFileProps. frosch 2025-04-26 20:08:10 +0200
  • b5323db9e0 Fix 29ceaf0a8: checking std::optional against nullptr caused crash Rubidium 2025-04-27 20:21:31 +0200
  • 49ef3eee13 Codechange: replace char* with std::string_view Rubidium 2025-04-27 18:31:42 +0200
  • e1859df1c0 Codechange: Use enums as keys for the spritegroups in FixedGRFFileProps. frosch 2025-04-26 19:00:59 +0200
  • 05504ec463 Codechange: Use SingleGRFFileProps, if the feature has no spritegroup keys. frosch 2025-04-26 18:59:55 +0200
  • 41a20e512d Codechange: Use proper enum type to index sprite groups in VariableGRFFileProps. frosch 2025-04-26 18:57:03 +0200
  • 893aa0fb91 Codechange: Add an explicit enum member for the default spritegroup of badges. frosch 2025-04-26 18:45:28 +0200
  • f02b13d52b Add: [Script] Text effect npabisz 2025-04-27 13:13:39 -0400
  • 1b0d969278 Codechange: replace char* with std::string_view Rubidium 2025-04-27 18:31:42 +0200
  • 29ceaf0a84 Codechange: use std::string_view over const char * Rubidium 2025-04-27 17:17:05 +0200
  • c7056866a3 Codechange: remove manual param count; in all cases strlen(params) == nparams Rubidium 2025-04-26 21:10:08 +0200
  • 781187b8a6 Codechange: replace C-style strings with std::string_view related to strings functions Rubidium 2025-04-27 09:40:27 +0200
  • 4e3e3d5be6 Codechange: introduce transparent hash lookup for strings Rubidium 2025-04-27 15:49:10 +0200
  • 7bbf380931
    Fix #14125, 828e808444: NewGRF sounds were not loaded. (#14130) Peter Nelson 2025-04-27 16:20:38 +0100
  • 64b58114cb Codechange: use std::string_view over const char * Rubidium 2025-04-27 17:17:05 +0200
  • b5b52b50c0 Codechange: replace C-style strings with std::string_view related to strings functions Rubidium 2025-04-27 09:40:27 +0200
  • ee89b7b82a Codechange: introduce transparent hash lookup for strings Rubidium 2025-04-27 15:49:10 +0200
  • 42c1ea7ac4 Codechange: remove manual param count; in all cases strlen(params) == nparams Rubidium 2025-04-26 21:10:08 +0200
  • b9667ec3d1 Codechange: use std::string_view for scripts Rubidium 2025-04-26 21:10:08 +0200
  • 44fcffd3ee
    Fix #14125, 828e808444: NewGRF sounds were not loaded. Peter Nelson 2025-04-27 15:37:16 +0100
  • 48f7227e28 Codechange: use std::string_view for scripts Rubidium 2025-04-26 21:10:08 +0200
  • f4c4224c59 Fix: List Ctrl+Click behaviour for vehicle details tooltip vehicle-details-tooltip Richard Wheeler 2025-04-27 12:08:15 +0100
  • 864fe29028 Update: Translations from eints translators 2025-04-27 04:44:13 +0000
  • 5a7893b730
    Fix #14104, 67a0fcc: Don't base timetable timing decisions on client settings. (#14105) Peter Nelson 2025-04-26 22:39:01 +0100
  • b87ce9c845
    Change: Draw info headers as shade of window colour instead of pixel colour. (#14123) Peter Nelson 2025-04-26 22:38:24 +0100
  • 55fad9c78a
    Add: Limit height of settings description, and add scrollbar. (#14102) frosch 2025-04-26 22:34:18 +0200
  • d85f6dccc5
    Fix 5575379: Crash with default airports. (#14120) frosch 2025-04-26 22:29:01 +0200
  • 23232bd5bb
    Change: Draw info headers as shade of window colour instead of pixel colour. Peter Nelson 2025-04-26 21:01:39 +0100
  • 1a8c00197a Fix 5575379: Crash with default airports. frosch 2025-04-26 21:43:41 +0200
  • f62f728187
    Codechange: Move usage of ResolverObjects to newgrf_xxx.cpp (#14116) frosch 2025-04-26 20:53:50 +0200
  • 1be49da388
    Change: Use same padding as NewGRF parameters for AI/GS parameters lists. Peter Nelson 2025-04-26 19:21:22 +0100
  • 2eeea78274 Codechange: Use enums as keys for the spritegroups in FixedGRFFileProps. frosch 2025-04-26 19:00:59 +0200
  • 6ea5694c67 Codechange: Use SingleGRFFileProps, if the feature has no spritegroup keys. frosch 2025-04-26 18:59:55 +0200
  • daa0187e1b Codechange: Use proper enum type to index sprite groups in VariableGRFFileProps. frosch 2025-04-26 18:57:03 +0200
  • a1ca56d488 Codechange: Add an explicit enum member for the default spritegroup of badges. frosch 2025-04-26 18:45:28 +0200
  • 6fe294ad4d Codechange: Move usage of ResolverObjects to newgrf_xxx.cpp frosch 2025-04-26 17:39:40 +0200
  • be39a05327 Fix: Road vehicle blocking and train collissions used slightly inconsistent distance thresholds. frosch 2025-04-26 15:24:40 +0200
  • 3a70d1e2f7 Codechange: Pass the max-distance as parameter to VehiclesNearTileXY. frosch 2025-04-26 15:23:14 +0200
  • 2df1233f1f Codechange: Clamp the search area to valid values for the hash bucket selection. frosch 2025-04-26 15:19:57 +0200
  • 0f76ba122c Codefix: VehiclesNearTileXY yielded all vehicles with matching hashes, even if they are far away. frosch 2025-04-26 15:17:15 +0200
  • c14e4a6db1 Codefix: Rect::Contains did not consider the bottom/right edges as inside. frosch 2025-04-25 17:19:17 +0200
  • 3235ec4cf8 Codefix: checking unsigned int >= 0 is pointless, check before subtraction Rubidium 2025-04-26 16:34:24 +0200
  • ed1147daa0 Fix: Road vehicle blocking and train collissions used slightly inconsistent distance thresholds. frosch 2025-04-26 15:24:40 +0200
  • f3f2b286c5 Codechange: Pass the max-distance as parameter to VehiclesNearTileXY. frosch 2025-04-26 15:23:14 +0200
  • 0ed98f90b0 Codechange: Clamp the search area to valid values for the hash bucket selection. frosch 2025-04-26 15:19:57 +0200
  • c833cc2bc3 Codefix: VehiclesNearTileXY yielded all vehicles with matching hashes, even if they are far away. frosch 2025-04-26 15:17:15 +0200
  • 0ff793aa77 Codefix: Rect::Contains did not consider the bottom/right edges as inside. frosch 2025-04-25 17:19:17 +0200
  • ce2155ab27 Codechange: Remove unused FindVehicleOnPosXY/HasVehicleOnPosXY. frosch 2025-04-25 17:48:50 +0200
  • 98ac75e74f Codechange: Replace FindVehicleOnPosXY/HasVehicleOnPosXY with VehiclesNearTileXY/HasVehicleNearTileXY. frosch 2025-04-25 17:47:25 +0200
  • 9f1c04c0e1 Codechange: Add VehiclesNearTileXY and HasVehicleNearTileXY to iterate over/check for ground vehicles near a tile coordinate. frosch 2025-04-25 17:46:40 +0200
  • ac3ed9f3ad Codechange: Deduplicate and simplify tile hash arithmetic. frosch 2025-04-25 17:35:05 +0200
  • 84e7e62509 Codefix: checking unsigned int >= 0 is pointless, check before subtraction Rubidium 2025-04-26 16:34:24 +0200
  • b4d4d730a5 Codechange: use std::string_view for town name generation Rubidium 2025-04-26 14:25:58 +0200
  • 30f381acee Codechange: use std::string_view for NetworkAddress Rubidium 2025-04-26 11:47:00 +0200
  • e1db09a41f Codechange: use std::string_view for NewsTypeData Rubidium 2025-04-26 11:42:28 +0200
  • 42f0aa24f6 Codechange: use std::string_view for connection/URI strings Rubidium 2025-04-26 11:38:46 +0200
  • a5812a45f8 Codechange: use std::string view for URI and std::move for data Rubidium 2025-04-26 11:38:25 +0200
  • d1a7d30572 Codechange: use std::string_view for some settings functions Rubidium 2025-04-26 11:29:47 +0200
  • 4476ce804d Codechange: use std::string_view for GetNextParameterString Rubidium 2025-04-26 11:22:09 +0200
  • 398524e49a
    Add: [NewGRF] Provide random bits in var10 of house callback 1C 'construction stage changed'. (#14095) frosch 2025-04-26 15:58:44 +0200
  • 55753795bf
    Fix: [NewGRF] Cargo-types for airport-tile animation-triggers were not properly translated. (#14092) frosch 2025-04-26 15:58:30 +0200
  • ceaf488313 Codechange: Remove unused FindVehicleOnPosXY/HasVehicleOnPosXY. frosch 2025-04-25 17:48:50 +0200
  • 2241476aee Codechange: Replace FindVehicleOnPosXY/HasVehicleOnPosXY with VehiclesNearTileXY/HasVehicleNearTileXY. frosch 2025-04-25 17:47:25 +0200
  • 678c582ec7 Codechange: Add VehiclesNearTileXY and HasVehicleNearTileXY to iterate over/check for ground vehicles near a tile coordinate. frosch 2025-04-25 17:46:40 +0200
  • d4f7526c77 Codechange: Deduplicate and simplify tile hash arithmetic. frosch 2025-04-25 17:35:05 +0200
  • 87caeb6919 Add: [NewGRF] Provide random bits in var10 of house callback 1C 'construction stage changed'. frosch 2025-04-24 18:00:19 +0200
  • e8ca9137f3 Fix: [NewGRF] Cargo-types for airport-tile animation-triggers were not properly translated. frosch 2025-04-24 17:33:41 +0200
  • 1ea1dbd19e
    Add: [NewGRF] Station/roadstop animation-triggers 'tile loop' (bit 7) and 'path reservation' (bit 8). (#14080) frosch 2025-04-26 14:44:55 +0200
  • d3ae6bc9a8
    Fix: [NewGRF] For animation-triggers which do not supply a cargo-type in var18, the var18 bits should remain empty. (#14091) frosch 2025-04-26 14:44:07 +0200
  • 0d9074769d
    Change: [NewGRF] Animation-trigger 'construction stage changed' of houses and industries now also triggers at construction start. (#14089) frosch 2025-04-26 14:42:49 +0200
  • af6380c617 Codechange: use std::string_view for town name generation Rubidium 2025-04-26 14:25:58 +0200
  • b7014ede6c Codechange: use std::string_view for NetworkAddress Rubidium 2025-04-26 11:47:00 +0200
  • 0f0a42ad87 Codechange: use std::string_view for NewsTypeData Rubidium 2025-04-26 11:42:28 +0200
  • 77b23b40da Codechange: use std::string_view for connection/URI strings Rubidium 2025-04-26 11:38:46 +0200
  • 828cdfc4a9 Codechange: use std::string view for URI and std::move for data Rubidium 2025-04-26 11:38:25 +0200