duncanspumpkin
bdee0cac7d
Convert pathfindgoal to TileCoords
2018-05-05 11:42:39 +01:00
duncanspumpkin
6efe2ab1c7
Further Tile conversion. Actually make it compile
2018-05-05 11:42:38 +01:00
duncanspumpkin
304a8bc035
Further Tile conversion
2018-05-05 11:42:35 +01:00
duncanspumpkin
fcb66b7449
Start refactoring pathfinding to use tileCoords
2018-05-05 11:42:34 +01:00
Aaron van Geffen
d15c782ca7
Remove null sources from Xcode project.
2018-05-05 11:42:30 +01:00
duncanspumpkin
16ec3a1cdd
Remove duplicate nausea
2018-05-05 11:42:29 +01:00
duncanspumpkin
ddbcae801e
Use correct remove function
2018-05-05 11:42:27 +01:00
duncanspumpkin
e5d4c39d4a
Label offsets. Fix travis errors
2018-05-05 11:42:26 +01:00
Hielke Morsink
8987d2806a
Make peep_update_fixing part of rct_peep
...
Some of those functions only edit the ride that gets fixed or inspected. It may be better to eventually move this logic to the Ride class.
2018-05-05 11:42:25 +01:00
Hielke Morsink
78c214c6dc
Use loop for bit twiddling for guest names
...
This makes one slight change. Previously one bit was set twice (1<<10), while another bit was disgarded completely (1 << 12). The new behaviour covers all 14 bits..
2018-05-05 11:42:24 +01:00
Hielke Morsink
2e1045ce22
Remove return values and turn sint32 into bool where applicable
2018-05-05 11:42:23 +01:00
Hielke Morsink
b7b8a1c01f
Name 'using bin' sub states and simplify code slightly
2018-05-05 11:42:21 +01:00
Hielke Morsink
2203d662c9
Add bench and bin usage to the peep class
2018-05-05 11:42:20 +01:00
duncanspumpkin
4c3fd31002
Move guest functions out of peep
2018-05-05 11:42:17 +01:00
duncanspumpkin
82884396f4
Update UpdateSpriteType
2018-05-05 11:42:16 +01:00
duncanspumpkin
5d7da79702
Label next_var_29. Add accessor functions.
...
Removed unused flag (1<<4). Not set in any save. Possibly left over from RCT1
2018-05-05 11:42:15 +01:00
Hielke Morsink
806f4452f8
Move guest and staff functions from peep.cpp
2018-05-05 11:41:31 +01:00
Hielke Morsink
9e47512d79
Sort peep functions by type (general, guest and staff)
2018-05-05 11:35:57 +01:00
duncanspumpkin
80e3b736d7
Fix travis errors
2018-05-05 11:35:56 +01:00
duncanspumpkin
2488cb9c3a
Add MoveTo function
2018-05-05 11:35:55 +01:00
duncanspumpkin
a94fb2fa2e
Use Invalidate
2018-05-05 11:35:54 +01:00
duncanspumpkin
85dbd42231
Fix functions after the move
2018-05-05 11:35:51 +01:00
duncanspumpkin
65dcacb9ea
Move pathfinding functions to their own file
2018-05-05 11:30:22 +01:00
duncanspumpkin
865e0875d2
Make it compile after the move
2018-05-05 11:24:21 +01:00
duncanspumpkin
f89b0927f6
Move Update state functions to correct files
2018-05-05 11:16:20 +01:00
Hielke Morsink
6e02d6af4c
Make peep_has_food, has_item and has_drink member functions
2018-05-05 11:13:22 +01:00
duncanspumpkin
a70301c114
Make it compile
2018-05-05 11:13:20 +01:00
duncanspumpkin
48acda4316
Fix functions after move
2018-05-05 11:13:19 +01:00
duncanspumpkin
40a88dc178
Move staff functions to staff.cpp
2018-05-05 11:08:20 +01:00
duncanspumpkin
8d37502c7a
Further use of SetState
2018-05-05 11:08:17 +01:00
duncanspumpkin
012a6b4df2
Use peep->SetState
2018-05-05 11:08:16 +01:00
Hielke Morsink
c47b9c65b0
Refactor peep logic for choosing rides
2018-05-05 11:08:15 +01:00
duncanspumpkin
cbefe633d0
Further fixing
2018-05-05 11:06:26 +01:00
duncanspumpkin
986b5a3f4d
Fix rebase issues
2018-05-05 11:06:24 +01:00
duncanspumpkin
c455ee0234
Continue with guest.cpp
2018-05-05 11:06:23 +01:00
Hielke Morsink
fae6b61496
Compile guest.cpp
2018-05-05 11:06:21 +01:00
Hielke Morsink
c3723f337f
Make peep.cpp compilable again
2018-05-05 11:04:52 +01:00
duncanspumpkin
80006cd4a0
Continue
2018-05-05 11:04:50 +01:00
duncanspumpkin
f245d049f1
Further fixing
2018-05-05 11:04:49 +01:00
duncanspumpkin
87b3e5a823
Start the big refactor
2018-05-05 11:04:46 +01:00
Hielke Morsink
d6fd840d1f
Merge pull request #7190 from Broxzier/remove-cpp-checks
...
Pack nested namespaces together and add closing comments
2018-05-05 10:39:33 +02:00
Hielke Morsink
8d10bfb5a1
Add namespace closing comments
2018-05-04 22:54:43 +02:00
Hielke Morsink
bc44792da9
Pack nested namespaces together
2018-05-04 22:54:43 +02:00
Ted John
dbbd5b89e6
Fix assert in SDL2 (debug)
2018-05-04 20:24:35 +01:00
Aaron van Geffen
e92264a2af
Fix #7484 : Incorrect label offsets in New Campaign window
2018-05-04 10:45:14 +02:00
Hielke Morsink
7168fb158f
Merge pull request #6510 from Despotico/LandLineTool
2018-05-04 00:22:51 +02:00
Hielke Morsink
c1a4f410c1
Add changelog entry
2018-05-03 23:10:16 +02:00
Hielke Morsink
11aeabdb2f
Bump network version
2018-05-03 23:10:12 +02:00
Hielke Morsink
a86482576f
Land Line Tools (select land edges/row of tiles)
...
(This commit is multiple commits squashed together, to make rebasing and merging easier. Many of the commits undid or slightly altered previous changes.)
This Extends the land-tool by allowing the player to select an edge of a surface tile, and to select a row of tiles. Both work by holding down the Ctrl key (same key for keeping the same base-height for other tools). When using a single-sized tool, the selection will become the edge, and when using a selection area of 2x2 or higher, the selection becomes a row of tiles.
The tables `tile_element_raise_styles` and `tile_element_lower_styles` hold the data for how slopes should change when a tile gets raised or lowered with the land tool. Each row represents a selection, and each column the slope type.
Co-authored-by: Adam T <32143337+Despotico@users.noreply.github.com>
2018-05-03 23:03:07 +02:00
Michael Steenbeek
5f9d40be7a
Replace tile_element_get_type() with struct method
2018-05-02 19:27:04 +02:00