OSDN Git Service

skyscrapersim/skyscraper.git
7 years agoCall buttons should not store pointers to control objects; this fix now allows for...
ryan [Fri, 12 Aug 2016 21:49:52 +0000 (21:49 +0000)]
Call buttons should not store pointers to control objects; this fix now allows for the call button's controls to be deleted

7 years agoIndex fix
ryan [Fri, 12 Aug 2016 06:44:18 +0000 (06:44 +0000)]
Index fix

7 years agoObject deletion fixes
ryan [Fri, 12 Aug 2016 06:17:19 +0000 (06:17 +0000)]
Object deletion fixes

7 years agoRemoved old call button code from camera object, and header cleanup
ryan [Fri, 12 Aug 2016 05:36:16 +0000 (05:36 +0000)]
Removed old call button code from camera object, and header cleanup

7 years agoEngine header cleanups
ryan [Fri, 12 Aug 2016 05:21:04 +0000 (05:21 +0000)]
Engine header cleanups

7 years agoCall button actions can now be used from scripts, and details have been added to...
ryan [Fri, 12 Aug 2016 04:56:17 +0000 (04:56 +0000)]
Call button actions can now be used from scripts, and details have been added to the guide

7 years agoCallbutton Fireservice return code fix
ryan [Fri, 12 Aug 2016 04:41:36 +0000 (04:41 +0000)]
Callbutton Fireservice return code fix

7 years agoAdd note about how leaving the "texture" parameter blank for the button panel, will...
ryan [Fri, 12 Aug 2016 04:30:29 +0000 (04:30 +0000)]
Add note about how leaving the "texture" parameter blank for the button panel, will hide the back

7 years agoCallbutton status in Call function should only be checked if the timer is running
ryan [Fri, 12 Aug 2016 04:18:27 +0000 (04:18 +0000)]
Callbutton status in Call function should only be checked if the timer is running

7 years agoCall button panel sizing fixes
ryan [Fri, 12 Aug 2016 03:55:21 +0000 (03:55 +0000)]
Call button panel sizing fixes

7 years agoCall Button object cleanups
ryan [Fri, 12 Aug 2016 03:11:36 +0000 (03:11 +0000)]
Call Button object cleanups

7 years agoStarted revamp of Call Button objects
ryan [Fri, 12 Aug 2016 00:35:57 +0000 (00:35 +0000)]
Started revamp of Call Button objects

-Action system now supports Call Button actions
-made Button Panel code generic (removed dependency on Elevator Cars), so that it can be used with multiple types of parents
-switched Call Button object to use a Button Panel as it's button canvas, still needs work due to lack of ability to specify back panel size, and control position issues

7 years agoObjects need to unregister their dynamic runloops on deletion
ryan [Thu, 11 Aug 2016 22:06:00 +0000 (22:06 +0000)]
Objects need to unregister their dynamic runloops on deletion

7 years agoAdded virtual OnClick function for objects
ryan [Thu, 11 Aug 2016 21:58:59 +0000 (21:58 +0000)]
Added virtual OnClick function for objects

7 years agoShut down resource manager on exit
ryan [Wed, 10 Aug 2016 23:11:20 +0000 (23:11 +0000)]
Shut down resource manager on exit

7 years agoHave character controller properly clean up objects when deleted
ryan [Wed, 10 Aug 2016 22:39:40 +0000 (22:39 +0000)]
Have character controller properly clean up objects when deleted

7 years agoCall button timer should quickly fire on the first shot, before waiting a longer...
ryan [Wed, 10 Aug 2016 00:38:46 +0000 (00:38 +0000)]
Call button timer should quickly fire on the first shot, before waiting a longer interval for future processing

7 years agoAdded support for dynamic runloops, which should help reduce per-frame loop overhead...
ryan [Tue, 9 Aug 2016 23:20:41 +0000 (23:20 +0000)]
Added support for dynamic runloops, which should help reduce per-frame loop overhead.  This functionality allows objects to optionally register themselves with their parents to activate/deactivate their runloops, and then the parent calls a LoopChildren() function to run all registered child loops

7 years ago-removed last commit's Notify report option for timers, since it's no longer used
ryan [Tue, 9 Aug 2016 01:51:49 +0000 (01:51 +0000)]
-removed last commit's Notify report option for timers, since it's no longer used
-switched Door code into standard parent runloop method, since it might be a simpler method

7 years ago-have Door code also use a timer object instead of sim engine callbacks, which simpli...
ryan [Tue, 9 Aug 2016 01:22:58 +0000 (01:22 +0000)]
-have Door code also use a timer object instead of sim engine callbacks, which simplifies the code
-added an option to the timer object, to turn off Notify reports in verbose mode

7 years agoMore code cleanups for last commit
ryan [Tue, 9 Aug 2016 00:49:37 +0000 (00:49 +0000)]
More code cleanups for last commit

7 years agoHave call buttons use a Timer object for processing the call loop (frequency set...
ryan [Tue, 9 Aug 2016 00:45:54 +0000 (00:45 +0000)]
Have call buttons use a Timer object for processing the call loop (frequency set to 1 second), instead of using a callback entry in the simulator root

7 years ago-fixed a loop issue in the ProcessGotoFloor function that was causing some elevator...
ryan [Tue, 9 Aug 2016 00:20:36 +0000 (00:20 +0000)]
-fixed a loop issue in the ProcessGotoFloor function that was causing some elevator cars to be skipped
-fixed problem in FinishMove function, where the call button arrival notification was only checking the arrival direction of the primary floor call, not ones for other cars

7 years agoAdded more car number messages
ryan [Mon, 8 Aug 2016 23:34:05 +0000 (23:34 +0000)]
Added more car number messages

7 years agoWhen adding an elevator route, the car number should be reported if the elevator...
ryan [Mon, 8 Aug 2016 23:02:45 +0000 (23:02 +0000)]
When adding an elevator route, the car number should be reported if the elevator has more than 1 car

7 years agoWhen enabling Hoistway Access, require shaft doors to be open on the specified floor
ryan [Mon, 8 Aug 2016 05:23:47 +0000 (05:23 +0000)]
When enabling Hoistway Access, require shaft doors to be open on the specified floor

7 years agoHoistway Access switch should cause elevator to move, instead of separately using...
ryan [Mon, 8 Aug 2016 05:13:20 +0000 (05:13 +0000)]
Hoistway Access switch should cause elevator to move, instead of separately using inspection service controls

7 years agoAdd profiling to ElevatorCar loop
ryan [Sun, 7 Aug 2016 00:17:33 +0000 (00:17 +0000)]
Add profiling to ElevatorCar loop

7 years agoMake function for resetting the door object "finished" state
ryan [Sat, 6 Aug 2016 23:27:08 +0000 (23:27 +0000)]
Make function for resetting the door object "finished" state

7 years agoUse DoorWrapper's MoveDoors function instead
ryan [Sat, 6 Aug 2016 23:12:42 +0000 (23:12 +0000)]
Use DoorWrapper's MoveDoors function instead

7 years agoMoved Camera loop code and timing code into standard Loop function
ryan [Sat, 6 Aug 2016 00:10:15 +0000 (00:10 +0000)]
Moved Camera loop code and timing code into standard Loop function

7 years agoProfiling fixes for last commit
ryan [Sat, 6 Aug 2016 00:00:24 +0000 (00:00 +0000)]
Profiling fixes for last commit

7 years agoRenamed SBS MainLoop to standard object "Loop", and moved camera loop call to end...
ryan [Fri, 5 Aug 2016 23:55:30 +0000 (23:55 +0000)]
Renamed SBS MainLoop to standard object "Loop", and moved camera loop call to end of SBS loop

7 years agoHave ResetBuilding function be used as the standard object's ResetState function...
ryan [Fri, 5 Aug 2016 23:37:34 +0000 (23:37 +0000)]
Have ResetBuilding function be used as the standard object's ResetState function, and have it also reset the camera state if the camera's active

7 years agoConversion fix for ISect/GetPoint function, and added an example to the guide
ryan [Fri, 5 Aug 2016 21:31:29 +0000 (21:31 +0000)]
Conversion fix for ISect/GetPoint function, and added an example to the guide

7 years agoUpdated changelog
ryan [Fri, 5 Aug 2016 21:20:23 +0000 (21:20 +0000)]
Updated changelog

7 years agoReturn code fixes
ryan [Fri, 5 Aug 2016 20:58:22 +0000 (20:58 +0000)]
Return code fixes

7 years agoCleanup
ryan [Fri, 5 Aug 2016 18:48:30 +0000 (18:48 +0000)]
Cleanup

7 years agoBrought back Wall object's GetPoint function, and moved GetPoint code into Wall object
ryan [Fri, 5 Aug 2016 06:15:52 +0000 (06:15 +0000)]
Brought back Wall object's GetPoint function, and moved GetPoint code into Wall object

7 years agoBrought back the Mesh object's GetPoint function, since it's used by the ISect functi...
ryan [Fri, 5 Aug 2016 06:08:27 +0000 (06:08 +0000)]
Brought back the Mesh object's GetPoint function, since it's used by the ISect function.  The function now uses FindWallIntersect instead which works more properly

7 years agoRemoved GetPoint and SegmentPlane functions
ryan [Fri, 5 Aug 2016 05:47:09 +0000 (05:47 +0000)]
Removed GetPoint and SegmentPlane functions

7 years ago-removed and replaced old Classify function with an AABB test
ryan [Fri, 5 Aug 2016 05:40:14 +0000 (05:40 +0000)]
-removed and replaced old Classify function with an AABB test
-Cut function now skips polygons that are completely inside the cutting area, instead of needlessly processing over them and not getting cut results

7 years agoRemoved old point-on-polygon/findwall code
ryan [Fri, 5 Aug 2016 04:36:42 +0000 (04:36 +0000)]
Removed old point-on-polygon/findwall code

7 years agoDescription fix
ryan [Fri, 5 Aug 2016 04:33:05 +0000 (04:33 +0000)]
Description fix

7 years agoRemoved old ComputeNormal function
ryan [Fri, 5 Aug 2016 02:41:39 +0000 (02:41 +0000)]
Removed old ComputeNormal function

7 years agoIntersection functions need to convert the polygon's relative plane to absolute posit...
ryan [Fri, 5 Aug 2016 01:56:54 +0000 (01:56 +0000)]
Intersection functions need to convert the polygon's relative plane to absolute positioning

7 years agoFixed handling of "elevator:car" parameter in Floor section, and added additional...
ryan [Thu, 4 Aug 2016 23:15:17 +0000 (23:15 +0000)]
Fixed handling of "elevator:car" parameter in Floor section, and added additional checks to translator function to properly report errors if the elevator or car is invalid

7 years agoReversed intersection tests
ryan [Thu, 4 Aug 2016 22:06:00 +0000 (22:06 +0000)]
Reversed intersection tests

7 years agoRemoved conversion parameters for the wall intersection functions
ryan [Thu, 4 Aug 2016 06:15:31 +0000 (06:15 +0000)]
Removed conversion parameters for the wall intersection functions

7 years agoFixed computing of stored polygon plane, and polygon intersection functions now used...
ryan [Thu, 4 Aug 2016 05:16:19 +0000 (05:16 +0000)]
Fixed computing of stored polygon plane, and polygon intersection functions now used the stored plane instead of computing one

7 years agoEngines shouldn't automatically make themselves the active engine on entry, if they...
ryan [Thu, 4 Aug 2016 02:46:23 +0000 (02:46 +0000)]
Engines shouldn't automatically make themselves the active engine on entry, if they're an ancestor of the active engine.  This fixes issues where overlapping engines' activations would bounce back and forth, causing colliders to fall through the ground, and wrong engines being selected

7 years agoUpdated "elevator" parameters that needed to also mention the elevator car
ryan [Wed, 3 Aug 2016 23:39:57 +0000 (23:39 +0000)]
Updated "elevator" parameters that needed to also mention the elevator car

7 years agoSome cleanups for last commit
ryan [Wed, 3 Aug 2016 05:16:44 +0000 (05:16 +0000)]
Some cleanups for last commit

7 years agoMoved shared script section variables into a separate Config Handler object, mainly...
ryan [Wed, 3 Aug 2016 05:11:30 +0000 (05:11 +0000)]
Moved shared script section variables into a separate Config Handler object, mainly to fix an issue where the shared variables were never reset on script interpreter shutdown/startup

7 years agoUpdated properties
ryan [Wed, 3 Aug 2016 03:39:54 +0000 (03:39 +0000)]
Updated properties

7 years agoFixed properties flags
ryan [Wed, 3 Aug 2016 02:32:22 +0000 (02:32 +0000)]
Fixed properties flags

7 years ago-added mention of required parameters for Elevator and ElevatorCar sections of the...
ryan [Tue, 2 Aug 2016 20:23:54 +0000 (20:23 +0000)]
-added mention of required parameters for Elevator and ElevatorCar sections of the script guide
-updated changelog
-make sure elevator's CreateElevator function returns with error if the primary car has an error

7 years agoAdded key switch textures for Hoistway Access
ryan [Tue, 2 Aug 2016 19:48:11 +0000 (19:48 +0000)]
Added key switch textures for Hoistway Access

7 years agoUpdated changelog
ryan [Tue, 2 Aug 2016 00:09:53 +0000 (00:09 +0000)]
Updated changelog

7 years ago-added "selection_position" parameter to Control object (AddControl and AddActionCont...
ryan [Tue, 2 Aug 2016 00:07:52 +0000 (00:07 +0000)]
-added "selection_position" parameter to Control object (AddControl and AddActionControl commands), which allows you to specify the starting selection position
-more work on the "Simple - Hoistway Access" building

7 years ago-added "Simple - Hoistway Access" building
ryan [Mon, 1 Aug 2016 23:09:55 +0000 (23:09 +0000)]
-added "Simple - Hoistway Access" building
-small fix for Hoistway Access Up mode reporting

7 years agoAdded additional check for last commit
ryan [Mon, 1 Aug 2016 23:02:06 +0000 (23:02 +0000)]
Added additional check for last commit

7 years agoMove Object window needs to keep the SBS engine pointer current, otherwise a crash...
ryan [Mon, 1 Aug 2016 22:54:07 +0000 (22:54 +0000)]
Move Object window needs to keep the SBS engine pointer current, otherwise a crash can happen when reloading a building

7 years agoRouting fixes for Person object
ryan [Mon, 1 Aug 2016 22:00:11 +0000 (22:00 +0000)]
Routing fixes for Person object

7 years agoFixed elevator editor layout
ryan [Mon, 1 Aug 2016 03:16:03 +0000 (03:16 +0000)]
Fixed elevator editor layout

7 years agoMoved GetMeshObject function
ryan [Sun, 31 Jul 2016 12:08:55 +0000 (12:08 +0000)]
Moved GetMeshObject function

7 years agoRemoved extra code
ryan [Sun, 31 Jul 2016 11:57:45 +0000 (11:57 +0000)]
Removed extra code

7 years agoElevator Editor fixes for car deletion
ryan [Sun, 31 Jul 2016 03:55:07 +0000 (03:55 +0000)]
Elevator Editor fixes for car deletion

7 years agoFixes for deleting elevator cars
ryan [Sat, 30 Jul 2016 21:56:19 +0000 (21:56 +0000)]
Fixes for deleting elevator cars

7 years agoCleaned up remaining shared variables
ryan [Sat, 30 Jul 2016 20:08:28 +0000 (20:08 +0000)]
Cleaned up remaining shared variables

7 years agoMore variable cleanups
ryan [Sat, 30 Jul 2016 19:52:11 +0000 (19:52 +0000)]
More variable cleanups

7 years agoVariable cleanups
ryan [Sat, 30 Jul 2016 19:37:32 +0000 (19:37 +0000)]
Variable cleanups

7 years agoBuild fix for Windows
ryan [Sat, 30 Jul 2016 05:55:29 +0000 (05:55 +0000)]
Build fix for Windows

7 years agoCleaned up and split out top-level script processor code
ryan [Sat, 30 Jul 2016 01:54:50 +0000 (01:54 +0000)]
Cleaned up and split out top-level script processor code

7 years agoSplit script interpreter out into a section handler class with subclasses
ryan [Sat, 30 Jul 2016 01:02:32 +0000 (01:02 +0000)]
Split script interpreter out into a section handler class with subclasses

7 years agoMoved script return codes into class definition
ryan [Fri, 29 Jul 2016 21:53:33 +0000 (21:53 +0000)]
Moved script return codes into class definition

7 years agoUpdated Visual C++ project
ryan [Fri, 29 Jul 2016 21:41:13 +0000 (21:41 +0000)]
Updated Visual C++ project

7 years agoSplit Script Processor out into multiple files
ryan [Fri, 29 Jul 2016 21:37:57 +0000 (21:37 +0000)]
Split Script Processor out into multiple files

7 years agoTurned off hoistway access auto-check from elevator loop
ryan [Fri, 29 Jul 2016 19:52:18 +0000 (19:52 +0000)]
Turned off hoistway access auto-check from elevator loop

7 years agoAdded Hoistway Access commands
ryan [Fri, 29 Jul 2016 19:41:02 +0000 (19:41 +0000)]
Added Hoistway Access commands

7 years agoRemoved shaft door actions in wrong section
ryan [Fri, 29 Jul 2016 19:25:18 +0000 (19:25 +0000)]
Removed shaft door actions in wrong section

7 years agoFixed a major issue from the Double Decker merge, that caused the elevator script...
ryan [Fri, 29 Jul 2016 05:37:36 +0000 (05:37 +0000)]
Fixed a major issue from the Double Decker merge, that caused the elevator script variable to be replaced with bad data, due to the related buffer not being used

7 years agoMore work on Hoistway Access mode
ryan [Fri, 29 Jul 2016 05:09:36 +0000 (05:09 +0000)]
More work on Hoistway Access mode

7 years agoStarted Hoistway Access mode feature
ryan [Fri, 29 Jul 2016 03:54:29 +0000 (03:54 +0000)]
Started Hoistway Access mode feature

7 years agoAssertion fix
ryan [Fri, 29 Jul 2016 03:22:04 +0000 (03:22 +0000)]
Assertion fix

7 years agoAdded missing ReOpen elevator parameter to script interpreter, and fixed script guide
ryan [Thu, 28 Jul 2016 22:49:58 +0000 (22:49 +0000)]
Added missing ReOpen elevator parameter to script interpreter, and fixed script guide

7 years agoUpdate email address
ryan [Thu, 28 Jul 2016 22:43:59 +0000 (22:43 +0000)]
Update email address

7 years agoMerging Double Decker branch into trunk - this introduces multi-car support for elevators
ryan [Thu, 28 Jul 2016 22:33:24 +0000 (22:33 +0000)]
Merging Double Decker branch into trunk - this introduces multi-car support for elevators

7 years agoFixed issue where an elevator in Fire Service Phase 2 mode wouldn't put doors into...
ryan [Wed, 27 Jul 2016 00:51:04 +0000 (00:51 +0000)]
Fixed issue where an elevator in Fire Service Phase 2 mode wouldn't put doors into nudge mode, when recalled from lobby (Phase 1 mode re-enabled)

7 years agoAdded elevator ChimeOnArrival parameter
ryan [Mon, 25 Jul 2016 19:59:31 +0000 (19:59 +0000)]
Added elevator ChimeOnArrival parameter

7 years agoMake sure profiler is cleaned up when window exits
ryan [Tue, 19 Jul 2016 19:40:31 +0000 (19:40 +0000)]
Make sure profiler is cleaned up when window exits

7 years agoProfiler cleanups
ryan [Tue, 19 Jul 2016 06:58:13 +0000 (06:58 +0000)]
Profiler cleanups

7 years agoRemoved extra characters
ryan [Tue, 19 Jul 2016 06:42:28 +0000 (06:42 +0000)]
Removed extra characters

7 years agoUpdate profiler statistics every 10 frames instead of continuously
ryan [Tue, 19 Jul 2016 05:55:48 +0000 (05:55 +0000)]
Update profiler statistics every 10 frames instead of continuously

7 years ago-added more performance metrics for the Profiler
ryan [Tue, 19 Jul 2016 05:18:53 +0000 (05:18 +0000)]
-added more performance metrics for the Profiler
-moved Caelum update code into separate function

7 years agoRemoved run time check option that's incompatible with VC2015 Update3
ryan [Tue, 19 Jul 2016 02:09:47 +0000 (02:09 +0000)]
Removed run time check option that's incompatible with VC2015 Update3

7 years agoProperly group radio buttons in Elevator Editor
ryan [Mon, 18 Jul 2016 23:46:33 +0000 (23:46 +0000)]
Properly group radio buttons in Elevator Editor

7 years agoUpdated changelog
ryan [Wed, 13 Jul 2016 22:51:10 +0000 (22:51 +0000)]
Updated changelog

7 years agoCameraState should store FOV value, so that the camera's FOV will be persistent when...
ryan [Wed, 13 Jul 2016 17:51:19 +0000 (17:51 +0000)]
CameraState should store FOV value, so that the camera's FOV will be persistent when switching engines

7 years agoAdded "Simple - Top Box" building
ryan [Thu, 7 Jul 2016 14:02:51 +0000 (14:02 +0000)]
Added "Simple - Top Box" building