This commit is contained in:
Ell 2023-08-01 14:10:37 +02:00
parent b164127e63
commit 93360248fb
14 changed files with 212 additions and 160 deletions

View file

@ -1,3 +1,12 @@
# 0.35.3
*August 1, 2023*
Fixes
- Fixed an exception when loading very old saves, or saves with corrupted options
- Fixed being able to open the world switch menu using a gamepad when only one world is present
- Fixed a crash when a Tiny dies in another world
- Fixed a rare exception when trying to visit a lot in another world
# 0.35.2
*July 28, 2023*

View file

@ -237,7 +237,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: "\nThe <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref> that this action&apos;s action object, action wall and other key action components are expected to be on. This is essentially the map that the <xref href=\"TinyLife.Actions.ActionInfo.Person\" data-throw-if-not-resolved=\"false\"></xref> should do most of the action on.\nIf no explicit goal map is present, <xref href=\"TinyLife.Actions.ActionInfo.CurrentMap\" data-throw-if-not-resolved=\"false\"></xref> is returned.\n"
summary: "\nThe <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref> that this action&apos;s action object, action wall and other key action components are expected to be on. This is essentially the map that the <xref href=\"TinyLife.Actions.ActionInfo.Person\" data-throw-if-not-resolved=\"false\"></xref> should do most of the action on.\nIf no explicit goal map is stored, <xref href=\"TinyLife.Actions.ActionInfo.CurrentMap\" data-throw-if-not-resolved=\"false\"></xref> is returned.\n"
example: []
syntax:
content: public Map GoalMap { get; set; }
@ -440,7 +440,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddAuxiliaryObject
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 146
startLine: 147
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -477,7 +477,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedObjects
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 167
startLine: 168
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -524,7 +524,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedObject
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 186
startLine: 187
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -574,7 +574,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedActionSpot
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 205
startLine: 206
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -609,7 +609,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToFreeActionSpot
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 226
startLine: 227
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -644,7 +644,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetInvolvedObjectIds
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 238
startLine: 239
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -675,7 +675,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 254
startLine: 255
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -709,7 +709,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromLocation
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 328
startLine: 329
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -750,7 +750,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromLocation
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 340
startLine: 341
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -791,7 +791,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromObjectGeneric
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 352
startLine: 353
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -835,7 +835,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromObjectGeneric
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 362
startLine: 363
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -873,7 +873,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromSelf
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 371
startLine: 372
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -908,7 +908,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromActionInfo
path: ../TinyLife/Actions/ActionInfo.cs
startLine: 382
startLine: 383
assemblies:
- Tiny Life
namespace: TinyLife.Actions

View file

@ -24,7 +24,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GameSpeed
path: ../TinyLife/Options.cs
startLine: 597
startLine: 598
assemblies:
- Tiny Life
namespace: TinyLife
@ -53,7 +53,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Paused
path: ../TinyLife/Options.cs
startLine: 602
startLine: 603
assemblies:
- Tiny Life
namespace: TinyLife
@ -81,7 +81,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Regular
path: ../TinyLife/Options.cs
startLine: 606
startLine: 607
assemblies:
- Tiny Life
namespace: TinyLife
@ -109,7 +109,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fast
path: ../TinyLife/Options.cs
startLine: 610
startLine: 611
assemblies:
- Tiny Life
namespace: TinyLife
@ -137,7 +137,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryFast
path: ../TinyLife/Options.cs
startLine: 614
startLine: 615
assemblies:
- Tiny Life
namespace: TinyLife
@ -165,7 +165,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ExtremelyFast
path: ../TinyLife/Options.cs
startLine: 619
startLine: 620
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -85,10 +85,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AmbientFallingLeaves
path: ../TinyLife/Objects/Particle.cs
startLine: 22
startLine: 27
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA set of conditions for <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref> instances that should optionally display the falling leaves particles that default trees do.\nThe minimum and maximum spawn heights and horizontal coordinates are in relation to the furniture&apos;s position in the world, with all offsets being multiplied by <xref href=\"TinyLife.World.Tile.Width\" data-throw-if-not-resolved=\"false\"></xref> or <xref href=\"TinyLife.World.Tile.Height\" data-throw-if-not-resolved=\"false\"></xref>.\nTo add additional furniture that displays falling leaves, simply add to this collection.\n"
example: []
syntax:
content: public static readonly Dictionary<FurnitureType, (float MinSpawnHeight, float MaxSpawnHeight, float MinSpawnX, float MaxSpawnX, float Chance)> AmbientFallingLeaves
return:
@ -112,10 +114,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnParticleUpdate
path: ../TinyLife/Objects/Particle.cs
startLine: 29
startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nAn event that is raised when a <xref href=\"TinyLife.Objects.Particle\" data-throw-if-not-resolved=\"false\"></xref> is updated in <xref href=\"TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public static event ObjectUpdateDelegate<Particle> OnParticleUpdate
return:
@ -139,7 +143,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Friction
path: ../TinyLife/Objects/Particle.cs
startLine: 38
startLine: 46
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -168,7 +172,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TimeToLive
path: ../TinyLife/Objects/Particle.cs
startLine: 42
startLine: 50
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -197,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Position
path: ../TinyLife/Objects/Particle.cs
startLine: 46
startLine: 54
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -226,7 +230,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Motion
path: ../TinyLife/Objects/Particle.cs
startLine: 50
startLine: 58
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -255,7 +259,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepthPosOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 54
startLine: 62
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -284,7 +288,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepthOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 58
startLine: 66
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -313,7 +317,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 62
startLine: 70
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -342,7 +346,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scale
path: ../TinyLife/Objects/Particle.cs
startLine: 66
startLine: 74
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -371,7 +375,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Gravity
path: ../TinyLife/Objects/Particle.cs
startLine: 70
startLine: 78
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -400,7 +404,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CameraMotion
path: ../TinyLife/Objects/Particle.cs
startLine: 76
startLine: 84
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -429,7 +433,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CameraOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 81
startLine: 89
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -458,7 +462,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/Particle.cs
startLine: 85
startLine: 93
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -487,7 +491,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IgnoreParentDrawPos
path: ../TinyLife/Objects/Particle.cs
startLine: 89
startLine: 97
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -516,7 +520,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateWhenPaused
path: ../TinyLife/Objects/Particle.cs
startLine: 94
startLine: 102
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -545,7 +549,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Objects/Particle.cs
startLine: 98
startLine: 106
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -574,7 +578,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpriteEffects
path: ../TinyLife/Objects/Particle.cs
startLine: 102
startLine: 110
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -603,7 +607,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ForceOutside
path: ../TinyLife/Objects/Particle.cs
startLine: 107
startLine: 115
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -632,10 +636,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnUpdate
path: ../TinyLife/Objects/Particle.cs
startLine: 108
startLine: 120
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nAn event that is raised when this particle is updated in <xref href=\"TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that <xref href=\"TinyLife.Objects.Particle.OnParticleUpdate\" data-throw-if-not-resolved=\"false\"></xref> is invoked for all particles, whereas this event is just invoked for this particle.\n"
example: []
syntax:
content: public ObjectUpdateDelegateNoPhase<Particle> OnUpdate
return:
@ -659,7 +665,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Animation
path: ../TinyLife/Objects/Particle.cs
startLine: 113
startLine: 125
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -688,7 +694,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TimeLived
path: ../TinyLife/Objects/Particle.cs
startLine: 118
startLine: 130
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -717,7 +723,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Particle.cs
startLine: 126
startLine: 138
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -758,7 +764,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Particle.cs
startLine: 135
startLine: 147
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -799,7 +805,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Update
path: ../TinyLife/Objects/Particle.cs
startLine: 147
startLine: 159
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -840,7 +846,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Particle.cs
startLine: 178
startLine: 190
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -875,7 +881,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Spawn
path: ../TinyLife/Objects/Particle.cs
startLine: 195
startLine: 207
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1339,6 +1345,24 @@ references:
- name: .
- uid: TinyLife.Utilities
name: Utilities
- uid: TinyLife.Objects.FurnitureType
commentId: T:TinyLife.Objects.FurnitureType
parent: TinyLife.Objects
name: FurnitureType
nameWithType: FurnitureType
fullName: TinyLife.Objects.FurnitureType
- uid: TinyLife.World.Tile.Width
commentId: P:TinyLife.World.Tile.Width
parent: TinyLife.World.Tile
name: Width
nameWithType: Tile.Width
fullName: TinyLife.World.Tile.Width
- uid: TinyLife.World.Tile.Height
commentId: P:TinyLife.World.Tile.Height
parent: TinyLife.World.Tile
name: Height
nameWithType: Tile.Height
fullName: TinyLife.World.Tile.Height
- uid: System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
commentId: T:System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
parent: System.Collections.Generic
@ -1484,6 +1508,12 @@ references:
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
- name: )
- uid: TinyLife.World.Tile
commentId: T:TinyLife.World.Tile
parent: TinyLife.World
name: Tile
nameWithType: Tile
fullName: TinyLife.World.Tile
- uid: System.Collections.Generic.Dictionary`2
commentId: T:System.Collections.Generic.Dictionary`2
isExternal: true
@ -1555,54 +1585,6 @@ references:
name: Generic
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic
- uid: TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
commentId: T:TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
parent: TinyLife.World
definition: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<Particle>
nameWithType: ObjectUpdateDelegate<Particle>
fullName: TinyLife.World.ObjectUpdateDelegate<TinyLife.Objects.Particle>
nameWithType.vb: ObjectUpdateDelegate(Of Particle)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of TinyLife.Objects.Particle)
name.vb: ObjectUpdateDelegate(Of Particle)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- uid: TinyLife.Objects.Particle
name: Particle
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.Particle
name: Particle
- name: )
- uid: TinyLife.World.ObjectUpdateDelegate`1
commentId: T:TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<T>
nameWithType: ObjectUpdateDelegate<T>
fullName: TinyLife.World.ObjectUpdateDelegate<T>
nameWithType.vb: ObjectUpdateDelegate(Of T)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of T)
name.vb: ObjectUpdateDelegate(Of T)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- name: T
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: TinyLife.World
commentId: N:TinyLife.World
name: TinyLife.World
@ -1620,11 +1602,11 @@ references:
- name: .
- uid: TinyLife.World
name: World
- uid: TinyLife.Objects.Particle.Motion
commentId: F:TinyLife.Objects.Particle.Motion
name: Motion
nameWithType: Particle.Motion
fullName: TinyLife.Objects.Particle.Motion
- uid: TinyLife.Objects.Particle
commentId: T:TinyLife.Objects.Particle
name: Particle
nameWithType: Particle
fullName: TinyLife.Objects.Particle
- uid: TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
commentId: M:TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
isExternal: true
@ -1675,6 +1657,59 @@ references:
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
- uid: TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
commentId: T:TinyLife.World.ObjectUpdateDelegate{TinyLife.Objects.Particle}
parent: TinyLife.World
definition: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<Particle>
nameWithType: ObjectUpdateDelegate<Particle>
fullName: TinyLife.World.ObjectUpdateDelegate<TinyLife.Objects.Particle>
nameWithType.vb: ObjectUpdateDelegate(Of Particle)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of TinyLife.Objects.Particle)
name.vb: ObjectUpdateDelegate(Of Particle)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- uid: TinyLife.Objects.Particle
name: Particle
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.Particle
name: Particle
- name: )
- uid: TinyLife.World.ObjectUpdateDelegate`1
commentId: T:TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate<T>
nameWithType: ObjectUpdateDelegate<T>
fullName: TinyLife.World.ObjectUpdateDelegate<T>
nameWithType.vb: ObjectUpdateDelegate(Of T)
fullName.vb: TinyLife.World.ObjectUpdateDelegate(Of T)
name.vb: ObjectUpdateDelegate(Of T)
spec.csharp:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: <
- name: T
- name: '>'
spec.vb:
- uid: TinyLife.World.ObjectUpdateDelegate`1
name: ObjectUpdateDelegate
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: TinyLife.Objects.Particle.Motion
commentId: F:TinyLife.Objects.Particle.Motion
name: Motion
nameWithType: Particle.Motion
fullName: TinyLife.Objects.Particle.Motion
- uid: Microsoft.Xna.Framework.Vector2
commentId: T:Microsoft.Xna.Framework.Vector2
parent: Microsoft.Xna.Framework
@ -1970,6 +2005,11 @@ references:
- uid: Microsoft.Xna.Framework.Graphics
name: Graphics
isExternal: true
- uid: TinyLife.Objects.Particle.OnParticleUpdate
commentId: E:TinyLife.Objects.Particle.OnParticleUpdate
name: OnParticleUpdate
nameWithType: Particle.OnParticleUpdate
fullName: TinyLife.Objects.Particle.OnParticleUpdate
- uid: TinyLife.World.ObjectUpdateDelegateNoPhase{TinyLife.Objects.Particle}
commentId: T:TinyLife.World.ObjectUpdateDelegateNoPhase{TinyLife.Objects.Particle}
parent: TinyLife.World

View file

@ -5572,14 +5572,14 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Die
path: ../TinyLife/Objects/Person.cs
startLine: 1958
startLine: 1957
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nCauses this person to die, removing it from the world and optionally spawning a <xref href=\"TinyLife.Objects.FurnitureType.Gravestone\" data-throw-if-not-resolved=\"false\"></xref>.\nNote thta this method&apos;s content is executed at the end of the current <xref href=\"TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref> frame, and not right away.\n"
summary: "\nCauses this person to die, removing it from the world and optionally spawning a <xref href=\"TinyLife.Objects.FurnitureType.Gravestone\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public virtual void Die(DeathReason reason, bool createGravestone = true)
content: public virtual bool Die(DeathReason reason, bool createGravestone = true)
parameters:
- id: reason
type: TinyLife.Objects.DeathReason
@ -5587,7 +5587,9 @@ items:
- id: createGravestone
type: System.Boolean
description: Whether or not to create a gravestone
content.vb: Public Overridable Sub Die(reason As DeathReason, createGravestone As Boolean = True)
return:
type: System.Boolean
content.vb: Public Overridable Function Die(reason As DeathReason, createGravestone As Boolean = True) As Boolean
overload: TinyLife.Objects.Person.Die*
nameWithType.vb: Person.Die(DeathReason, Boolean)
fullName.vb: TinyLife.Objects.Person.Die(TinyLife.Objects.DeathReason, Boolean)

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MapInfo
path: ../TinyLife/Options.cs
startLine: 568
startLine: 569
assemblies:
- Tiny Life
namespace: TinyLife
@ -68,7 +68,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: ../TinyLife/Options.cs
startLine: 573
startLine: 574
assemblies:
- Tiny Life
namespace: TinyLife
@ -97,7 +97,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Custom
path: ../TinyLife/Options.cs
startLine: 577
startLine: 578
assemblies:
- Tiny Life
namespace: TinyLife
@ -126,7 +126,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Options.cs
startLine: 584
startLine: 585
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -26,7 +26,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StatType
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1120
startLine: 1121
assemblies:
- Tiny Life
namespace: TinyLife.Tools
@ -55,7 +55,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Needs
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1123
startLine: 1124
assemblies:
- Tiny Life
namespace: TinyLife.Tools
@ -81,7 +81,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Emotions
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1124
startLine: 1125
assemblies:
- Tiny Life
namespace: TinyLife.Tools
@ -107,7 +107,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Skills
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1125
startLine: 1126
assemblies:
- Tiny Life
namespace: TinyLife.Tools
@ -133,7 +133,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Relationships
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1126
startLine: 1127
assemblies:
- Tiny Life
namespace: TinyLife.Tools
@ -159,7 +159,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Job
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1127
startLine: 1128
assemblies:
- Tiny Life
namespace: TinyLife.Tools
@ -185,7 +185,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LifeGoal
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1128
startLine: 1129
assemblies:
- Tiny Life
namespace: TinyLife.Tools
@ -211,7 +211,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: About
path: ../TinyLife/Tools/PlayModeTool.cs
startLine: 1129
startLine: 1130
assemblies:
- Tiny Life
namespace: TinyLife.Tools

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WallDisplay
path: ../TinyLife/Options.cs
startLine: 627
startLine: 628
assemblies:
- Tiny Life
namespace: TinyLife
@ -52,7 +52,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Roofs
path: ../TinyLife/Options.cs
startLine: 632
startLine: 633
assemblies:
- Tiny Life
namespace: TinyLife
@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Up
path: ../TinyLife/Options.cs
startLine: 636
startLine: 637
assemblies:
- Tiny Life
namespace: TinyLife
@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Auto
path: ../TinyLife/Options.cs
startLine: 640
startLine: 641
assemblies:
- Tiny Life
namespace: TinyLife
@ -136,7 +136,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Down
path: ../TinyLife/Options.cs
startLine: 644
startLine: 645
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawDelegate
path: ../TinyLife/World/Map.cs
startLine: 2759
startLine: 2769
assemblies:
- Tiny Life
namespace: TinyLife.World

View file

@ -3492,17 +3492,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetVisibleWorldArea
path: ../TinyLife/World/Map.cs
startLine: 2547
startLine: 2553
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nReturns a rectangle, in world space, that encompasses all tile positions on a <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref> that are currently visible, based on the passed <code data-dev-comment-type=\"paramref\" class=\"paramref\">cameraArea</code>, which is expected to be the value of a camera&apos;s <xref href=\"MLEM.Cameras.Camera.GetVisibleRectangle\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that, due to the fact that maps are in isometric perspective, the returned rectangle contains additional tile positions in each corner of the <code data-dev-comment-type=\"paramref\" class=\"paramref\">cameraArea</code> that aren&apos;t actually visible.\n"
example: []
syntax:
content: public static RectangleF GetVisibleWorldArea(RectangleF cameraArea)
parameters:
- id: cameraArea
type: MLEM.Misc.RectangleF
description: The camera area, in camera space.
return:
type: MLEM.Misc.RectangleF
description: The visible area, in world space.
content.vb: Public Shared Function GetVisibleWorldArea(cameraArea As RectangleF) As RectangleF
overload: TinyLife.World.Map.GetVisibleWorldArea*
references:

View file

@ -19,10 +19,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObjectUpdateDelegate
path: ../TinyLife/World/Map.cs
startLine: 2747
startLine: 2754
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: []
syntax:
content: public delegate void ObjectUpdateDelegate<in T>(T obj, GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase)
parameters:

View file

@ -19,10 +19,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObjectUpdateDelegateNoPhase
path: ../TinyLife/World/Map.cs
startLine: 2749
startLine: 2759
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: []
syntax:
content: public delegate void ObjectUpdateDelegateNoPhase<in T>(T obj, GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:

View file

@ -19,42 +19,27 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateDelegate
path: ../TinyLife/World/Map.cs
startLine: 2743
startLine: 2744
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated\n"
summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: []
syntax:
content: public delegate void UpdateDelegate(GameTime time, TimeSpan passedInGame, float speedMultiplier, EventPhase phase)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
description: The game&apos;s current time
- id: passedInGame
type: System.TimeSpan
description: The amount of time that has passed, in in-game time
- id: speedMultiplier
type: System.Single
description: The game speed multiplier, which represents how fast things should happen, which is usually determined by <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
- id: phase
type: TinyLife.Mods.EventPhase
description: The <xref href="TinyLife.Mods.EventPhase" data-throw-if-not-resolved="false"></xref> of this event
content.vb: Public Delegate Sub UpdateDelegate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, phase As EventPhase)
extensionMethods:
- TinyLife.World.UpdateDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.GameImpl.Speed
commentId: P:TinyLife.GameImpl.Speed
name: Speed
nameWithType: GameImpl.Speed
fullName: TinyLife.GameImpl.Speed
- uid: TinyLife.Mods.EventPhase
commentId: T:TinyLife.Mods.EventPhase
parent: TinyLife.Mods
name: EventPhase
nameWithType: EventPhase
fullName: TinyLife.Mods.EventPhase
- uid: TinyLife.World
commentId: N:TinyLife.World
name: TinyLife.World
@ -132,23 +117,12 @@ references:
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
- uid: TinyLife.Mods
commentId: N:TinyLife.Mods
name: TinyLife.Mods
nameWithType: TinyLife.Mods
fullName: TinyLife.Mods
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
- uid: TinyLife.Mods.EventPhase
commentId: T:TinyLife.Mods.EventPhase
parent: TinyLife.Mods
name: EventPhase
nameWithType: EventPhase
fullName: TinyLife.Mods.EventPhase
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<T>(T)
@ -220,6 +194,23 @@ references:
name: System
nameWithType: System
fullName: System
- uid: TinyLife.Mods
commentId: N:TinyLife.Mods
name: TinyLife.Mods
nameWithType: TinyLife.Mods
fullName: TinyLife.Mods
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Mods
name: Mods
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities

View file

@ -19,10 +19,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateDelegateNoPhase
path: ../TinyLife/World/Map.cs
startLine: 2745
startLine: 2749
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA delegate used by events that are invoked when something is updated.\n"
example: []
syntax:
content: public delegate void UpdateDelegateNoPhase(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters: