Commit graph

2045 commits

Author SHA1 Message Date
riperiperi
4c6b3e8f58 Fix 2d thumbnail lighting at night
SpriteBatch doesn't work with linear space lighting, so I just converted the multiple to SRGB.
2025-08-22 01:48:08 +01:00
riperiperi
019a80537e Stop building libraries as x86 only 2025-07-17 01:02:16 +01:00
riperiperi
ca72f62c1e Correct paths 2025-07-17 00:00:54 +01:00
riperiperi
1228ec45f1 Fix azure build (hopefully) 2025-07-16 23:46:01 +01:00
riperiperi
0c464cccbb Fix build for x64 2025-07-16 00:19:26 +01:00
riperiperi
c2eba83adf Reduce audio stutters by calming down the GC.Collect when nothing is being derefed 2025-07-16 00:05:42 +01:00
riperiperi
9772dbaa5b x64 fix 2025-07-16 00:05:26 +01:00
riperiperi
979f675113 Fix race condition
That's not how locks work
2025-07-16 00:05:17 +01:00
riperiperi
bacee31913 Make avatar tool work a bit better in TS1
Still needs the ability to swap outfits.
2025-03-29 14:59:24 +00:00
riperiperi
b38936fbee Add new TS1 lot loader, fix FSO lighting
Still need to inherit neighbours on lot load, figure out what happens with vacation saves.

FSO lighting for windows has been kind of broken for a while, this should fix it.
2025-03-14 01:32:34 +00:00
riperiperi
36d55ed034 Complete OBJM person struct, HouseSpy
House Spy allows you to open a house iff and see person state contained within. You can play and save the house in TS1 (press ctrl-s), and the display on House Spy will instantly update. The current purpose is for seeing how the unknown values change based on interactions ingame, but it could be expanded to do more.
2025-03-10 22:54:24 +00:00
riperiperi
ac88b84c0e Propert OBJM parsing (TS1 save files)
Seems to catch everything included in complete collection. Missing:

- Some unknowns about things that never appear to be different (512 flag for stack, unknown data always 1)
- A bunch of info for Person type objects:
  - Interaction queue (partially worked out)
  - Motive changes
  - Routing info
  - Find best action history?
  - A bunch of fields that are 0 most of the time...

Person type objects read up to these unknown fields. (includes appearance, animations, motives, person data)

Until info for people is worked out, the game still recreates all objects and people when opening the lot (with full tile positions), rather than restoring existing state. (so stuff doesn't get stuck occupied)

Fixes a lot of objects being missing when loading saved lots in Simitone.
2025-03-02 19:33:39 +00:00
riperiperi
05ce4a53b8 Add ability to disable subworld fading for Simitone 2025-01-16 22:08:49 +00:00
riperiperi
be092ac421 Remove unused config, correct a few things, add docs 2024-12-30 17:25:21 +00:00
riperiperi
0573590be4 Fix broken log date format, add file logging 2024-12-30 01:28:33 +00:00
riperiperi
e8d4250b2e Delete unused API project 2024-12-30 01:21:52 +00:00
riperiperi
36bf4a507b Remove unused API project 2024-12-30 01:21:10 +00:00
riperiperi
a982a1f9f7 Update Content 2024-12-30 00:05:58 +00:00
riperiperi
f5590b2c34 Update docs, api fixes and changes. 2024-12-29 21:25:08 +00:00
riperiperi
bda2994c60 Fix registration, password api. give moderators/admins starter money. 2024-12-27 22:08:43 +00:00
riperiperi
f60d52b8d9 Split registration and password api controllers 2024-12-24 23:53:49 +00:00
riperiperi
e13ca09cc8 Add registration docs, fixes, update templates. 2024-12-24 19:31:18 +00:00
riperiperi
ec7347138b Add a default nhood failsafe
This is in a weird position - the data service providers initialize before the city server itself, so the best place to add the failsafe nhood is immediately before it precaches the nhoods to send to users via the data service.
2024-12-23 14:05:19 +00:00
riperiperi
0b6807a0de Automatically set internal and public hosts for shards in database
Untested, but I don't see why it wouldn't work.
2024-12-23 03:01:18 +00:00
riperiperi
04334790c8 Admin docs, build fix 2024-12-23 02:49:18 +00:00
riperiperi
3e9893a1f0 Improve city interaction when there's only 1 nhood 2024-12-23 00:27:20 +00:00
riperiperi
d45593bc04 Fix single nhood rendering 2024-12-22 23:55:00 +00:00
riperiperi
f42e90b05f Merge branch 'master' of github.com:riperiperi/FreeSO 2024-12-22 23:32:18 +00:00
riperiperi
e72dca1d11 Fix rendering crash when map contains invalid terrain in bounds
This isn't ideal, but it prevents the game from crashing rendering some of the base game maps.
2024-12-22 23:32:12 +00:00
Seger End
a8936c60da
Correct capitalization and slash for the Protobuild command in documentation (#280) 2024-12-22 23:10:53 +00:00
riperiperi
538644ccbe Possibly fix the admin user create api 2024-12-22 18:36:10 +00:00
riperiperi
5070774e79 Fix documentation for gameLocation 2024-12-22 17:09:36 +00:00
riperiperi
af21c9372a Add building docs 2024-12-21 16:27:41 +00:00
riperiperi
fc53420fe9 Tuning docs tweak 2024-12-19 20:26:56 +00:00
riperiperi
0757002eb7 Fix lot interaction, SPR1 rendering 2024-12-19 20:26:47 +00:00
riperiperi
f523e9d4b0 Add tuning docs 2024-12-19 19:31:33 +00:00
riperiperi
bd41598afb Fix plugins and improve city view mesh gen performance
Significantly reduced stutter when loading city view, too.
2024-12-18 20:00:18 +00:00
riperiperi
dd00dc5b02 A word 2024-12-18 02:15:54 +00:00
riperiperi
289a12caa0 Update sample config, add initial setup doc 2024-12-18 02:13:43 +00:00
riperiperi
22733b9bf0 Some cleanup 2024-12-17 21:42:49 +00:00
riperiperi
25007ef553 Start work on docs
Mostly testing to see if the media links work properly
2024-12-17 21:37:49 +00:00
riperiperi
1bbeaca6df Add upgrades json 2024-12-17 21:11:02 +00:00
riperiperi
5bfda5f227 Merge branch 'master' of github.com:riperiperi/FreeSO 2024-12-17 18:22:14 +00:00
riperiperi
fba9265675 Fix debug draw lines
Fixes `!debugroutes true` cheat.
2024-12-17 18:22:02 +00:00
riperiperi
1a8c7c02ac
Update README.md
Update readme with more up to date information.
2024-12-16 21:38:53 +00:00
riperiperi
69adb2dec6 Content Project Restructure
- Adds FreeSO Server content
- Adds FSO.Content.TSO content, for content that should be included with FreeSO Client/Server but not Simitone.
2024-12-16 18:57:00 +00:00
riperiperi
9df7ec4613 Fix 3d thumbnails some more
Relax some fire restrictions

Finale graphical effects

Should only activate on finale.
2024-12-16 16:27:00 +00:00
riperiperi
182dc48e60 Fix 3d object thumbnails
- Fixes a game crash after a desync
- Fixes it so you can actually see the object
2024-12-16 16:26:59 +00:00
riperiperi
8e0f2ac438 Fix rendering issues caused by ceilings change
He's Back

Deploying surprise in 3... 2... 1...

Fix build ?

Make others visible even when controller is not plugged in

Fix lighting

Improve 3d camera

Fix lighting error

Add enable tuning, fix integration with direct control, regen health
2024-12-16 16:26:57 +00:00
riperiperi
e4d3c9a56b Alter vertex color a little 2024-12-02 02:35:57 +00:00