]> git.tdb.fi Git - r2c2.git/log
r2c2.git
11 years agoStrip Id tags and copyright notices from files
Mikko Rasa [Tue, 8 Jan 2013 12:56:06 +0000 (14:56 +0200)]
Strip Id tags and copyright notices from files

The license text is now stored in a separate file.

11 years agoConvert svn:ignore to .gitignore
Mikko Rasa [Tue, 8 Jan 2013 10:15:22 +0000 (12:15 +0200)]
Convert svn:ignore to .gitignore

13 years agoGet the initial state of s88 modules
Mikko Rasa [Sat, 21 May 2011 20:54:48 +0000 (20:54 +0000)]
Get the initial state of s88 modules
Get all functions of locomotives

13 years agoUse a typedef for the function map in VehicleType
Mikko Rasa [Sat, 21 May 2011 20:49:42 +0000 (20:49 +0000)]
Use a typedef for the function map in VehicleType

13 years agoAdd a vehicle property for swapping directions
Mikko Rasa [Sat, 21 May 2011 11:20:40 +0000 (11:20 +0000)]
Add a vehicle property for swapping directions
Add a BR E 03 loco from the package 37574
Add whistle function for BR E 41

13 years agoDon't use too short speed measurements for quantizer learning
Mikko Rasa [Sat, 21 May 2011 10:35:33 +0000 (10:35 +0000)]
Don't use too short speed measurements for quantizer learning
Wait for enough learning data before using it for quantization

13 years agoAvoid deactivating while the controller still has nonzero speed
Mikko Rasa [Sat, 21 May 2011 07:40:54 +0000 (07:40 +0000)]
Avoid deactivating while the controller still has nonzero speed

13 years agoSilence compiler warnings
Mikko Rasa [Fri, 20 May 2011 17:17:07 +0000 (17:17 +0000)]
Silence compiler warnings

13 years agoFix some stuff in Timetable
Mikko Rasa [Fri, 15 Apr 2011 20:14:31 +0000 (20:14 +0000)]
Fix some stuff in Timetable

13 years agoPass sensor events through blocks
Mikko Rasa [Mon, 11 Apr 2011 19:35:26 +0000 (19:35 +0000)]
Pass sensor events through blocks
Add a hysteresis to activation as well
Expose the transition states

13 years agoAdd the new 360mm C-track (24360)
Mikko Rasa [Thu, 7 Apr 2011 20:38:03 +0000 (20:38 +0000)]
Add the new 360mm C-track (24360)
Add four-axle open wagon Eaos 106 (4690)

13 years agoAdd View3D class to bundle Layout3D with a camera and a pipeline
Mikko Rasa [Thu, 7 Apr 2011 20:18:11 +0000 (20:18 +0000)]
Add View3D class to bundle Layout3D with a camera and a pipeline
Store lighting in Layout3D
Add get_bounds method to Layout3D
Use View3D in designer

13 years agoMake TrackWrap take a Layout3D since it doesn't really need Designer
Mikko Rasa [Thu, 7 Apr 2011 16:24:21 +0000 (16:24 +0000)]
Make TrackWrap take a Layout3D since it doesn't really need Designer

13 years agoOverlay should be rendered with blending enabled
Mikko Rasa [Wed, 6 Apr 2011 09:17:44 +0000 (09:17 +0000)]
Overlay should be rendered with blending enabled

13 years agoRemove status from Train and turn it into a TrainAI
Mikko Rasa [Wed, 6 Apr 2011 07:51:55 +0000 (07:51 +0000)]
Remove status from Train and turn it into a TrainAI

13 years agoPrevent certain network errors from crashing the program
Mikko Rasa [Wed, 6 Apr 2011 07:33:08 +0000 (07:33 +0000)]
Prevent certain network errors from crashing the program

13 years agoTrainAI framework
Mikko Rasa [Tue, 5 Apr 2011 15:49:19 +0000 (15:49 +0000)]
TrainAI framework
Make AIControl an AI instead of a Controller
Remote control is a bit broken right now

13 years agoDetermine the border of tracktypes with custom object
Mikko Rasa [Mon, 4 Apr 2011 16:46:40 +0000 (16:46 +0000)]
Determine the border of tracktypes with custom object

13 years agoMake use of GL::Renderer in Overlay3D
Mikko Rasa [Sun, 3 Apr 2011 14:08:47 +0000 (14:08 +0000)]
Make use of GL::Renderer in Overlay3D

13 years agoDisplay composition during extend
Mikko Rasa [Sat, 2 Apr 2011 19:48:37 +0000 (19:48 +0000)]
Display composition during extend

13 years agoMove speed quantization into a separate class
Mikko Rasa [Mon, 28 Mar 2011 13:18:24 +0000 (13:18 +0000)]
Move speed quantization into a separate class

13 years agoRename various get_axle functions to get_fixed_axle
Mikko Rasa [Wed, 16 Mar 2011 10:13:49 +0000 (10:13 +0000)]
Rename various get_axle functions to get_fixed_axle

13 years agoRemove stray includes
Mikko Rasa [Tue, 15 Mar 2011 07:55:06 +0000 (07:55 +0000)]
Remove stray includes

13 years agoUse raycasting instead of OpenGL selection mode to pick tracks
Mikko Rasa [Thu, 10 Mar 2011 10:20:57 +0000 (10:20 +0000)]
Use raycasting instead of OpenGL selection mode to pick tracks

13 years agoFix shadowed member variable warnings
Mikko Rasa [Thu, 10 Mar 2011 10:11:08 +0000 (10:11 +0000)]
Fix shadowed member variable warnings

13 years agoRename Point to Vector
Mikko Rasa [Tue, 8 Mar 2011 11:31:05 +0000 (11:31 +0000)]
Rename Point to Vector

13 years agoFix an error in s88w-t diagram
Mikko Rasa [Tue, 8 Mar 2011 10:37:32 +0000 (10:37 +0000)]
Fix an error in s88w-t diagram

13 years agoFix formatting of goto sensor row type
Mikko Rasa [Sun, 20 Feb 2011 19:47:57 +0000 (19:47 +0000)]
Fix formatting of goto sensor row type
Make sure not to dereference an invalid TrackIter

13 years agoFix some more copyright messages
Mikko Rasa [Sat, 19 Feb 2011 21:38:38 +0000 (21:38 +0000)]
Fix some more copyright messages

13 years agoAdd missing files
Mikko Rasa [Sat, 19 Feb 2011 21:28:38 +0000 (21:28 +0000)]
Add missing files
Fix copyright messages

13 years agoSend and receive power/halt states over network
Mikko Rasa [Sat, 19 Feb 2011 20:46:01 +0000 (20:46 +0000)]
Send and receive power/halt states over network
Send emergency messages over network
Only send non-temporary routes

13 years agoCopy speed only if the preceding train is active
Mikko Rasa [Sat, 19 Feb 2011 06:45:28 +0000 (06:45 +0000)]
Copy speed only if the preceding train is active

13 years agoAdd a timetable command to travel past a turnout
Mikko Rasa [Sat, 19 Feb 2011 06:44:49 +0000 (06:44 +0000)]
Add a timetable command to travel past a turnout

13 years agoUse different stopping margin depending on whether the next track is a turnout
Mikko Rasa [Fri, 18 Feb 2011 05:19:04 +0000 (05:19 +0000)]
Use different stopping margin depending on whether the next track is a turnout

13 years agoUse the rotate_object flag of Bogie when rendering
Mikko Rasa [Sun, 13 Feb 2011 20:51:28 +0000 (20:51 +0000)]
Use the rotate_object flag of Bogie when rendering

13 years agoIgnore dubious speed measurements when finding speed step
Mikko Rasa [Sun, 13 Feb 2011 20:50:46 +0000 (20:50 +0000)]
Ignore dubious speed measurements when finding speed step

13 years agoCheck track iterators for validity before using
Mikko Rasa [Sun, 13 Feb 2011 20:47:44 +0000 (20:47 +0000)]
Check track iterators for validity before using

13 years agoFix travel to sensor handling
Mikko Rasa [Thu, 10 Feb 2011 21:50:09 +0000 (21:50 +0000)]
Fix travel to sensor handling
Handle situations where the train is already at the target location

13 years agoSave state to tempfile an rename to avoid losing it in case saving fails
Mikko Rasa [Thu, 10 Feb 2011 21:46:34 +0000 (21:46 +0000)]
Save state to tempfile an rename to avoid losing it in case saving fails

13 years agoA couple of minor temporary fixes
Mikko Rasa [Sat, 15 Jan 2011 18:01:56 +0000 (18:01 +0000)]
A couple of minor temporary fixes

13 years agoAllow custom objects for tracks
Mikko Rasa [Sat, 15 Jan 2011 11:23:40 +0000 (11:23 +0000)]
Allow custom objects for tracks
Create model for bumper (24977)
Smoothing support for generated track meshes
Improved rail profile

13 years agoEnable Renderer for Endpoint3D and Path3D
Mikko Rasa [Fri, 14 Jan 2011 13:12:58 +0000 (13:12 +0000)]
Enable Renderer for Endpoint3D and Path3D
Add signal_link_changed to Track
Only create one Endpoint3D per connected endpoint pair
Remove the old rendering code from Vehicle3D
Use WindingTest to manage face culling

13 years agoUpdate Track3D to use GL::Renderer
Mikko Rasa [Tue, 11 Jan 2011 22:04:50 +0000 (22:04 +0000)]
Update Track3D to use GL::Renderer
Break Vehicle3D into multiple classes, derived from GL::ObjectInstance

13 years agoFix overlay text colors
Mikko Rasa [Sat, 8 Jan 2011 14:26:05 +0000 (14:26 +0000)]
Fix overlay text colors

13 years agoRender tracks through GL::Objects
Mikko Rasa [Sat, 8 Jan 2011 14:24:56 +0000 (14:24 +0000)]
Render tracks through GL::Objects
Change the main scene into an InstanceScene

13 years agoDerive Collection3D from Msp::DataFile and get GL::Objects through it
Mikko Rasa [Wed, 15 Dec 2010 06:14:55 +0000 (06:14 +0000)]
Derive Collection3D from Msp::DataFile and get GL::Objects through it

13 years agoAdd single get_stuff methods with index to VehicleType
Mikko Rasa [Tue, 14 Dec 2010 21:30:16 +0000 (21:30 +0000)]
Add single get_stuff methods with index to VehicleType
Change how stuff is stored in and given out of Vehicle

13 years agoMake shoppinglist ignore zones
Mikko Rasa [Tue, 14 Dec 2010 21:27:16 +0000 (21:27 +0000)]
Make shoppinglist ignore zones

13 years agoReverse pointer y coordinate in manipulator
Mikko Rasa [Tue, 14 Dec 2010 21:27:04 +0000 (21:27 +0000)]
Reverse pointer y coordinate in manipulator

13 years agoRefine the BR 50 model
Mikko Rasa [Sat, 11 Dec 2010 01:26:24 +0000 (01:26 +0000)]
Refine the BR 50 model
Add a simple model for BR 86
Add crane wagon with generated model

13 years agoMake the axles of vehicles rotate when moving
Mikko Rasa [Sat, 11 Dec 2010 01:25:03 +0000 (01:25 +0000)]
Make the axles of vehicles rotate when moving
Add a system to simulate steam locomotive running gear

13 years agoUse the new scene classes
Mikko Rasa [Sat, 11 Dec 2010 01:24:35 +0000 (01:24 +0000)]
Use the new scene classes

13 years agoTexture2D::storage no longer takes border parameter
Mikko Rasa [Mon, 6 Dec 2010 09:37:45 +0000 (09:37 +0000)]
Texture2D::storage no longer takes border parameter

13 years agoFix MFX speedsteps in Central Station driver
Mikko Rasa [Fri, 3 Dec 2010 19:05:50 +0000 (19:05 +0000)]
Fix MFX speedsteps in Central Station driver
Don't leave symbol uninitialized

13 years agoAdd driver for Märklin Central Station
Mikko Rasa [Mon, 29 Nov 2010 17:04:20 +0000 (17:04 +0000)]
Add driver for Märklin Central Station

14 years agoAdd an absolute wait command to Timetable
Mikko Rasa [Fri, 26 Nov 2010 14:09:55 +0000 (14:09 +0000)]
Add an absolute wait command to Timetable

14 years agoFix end-of-route handling at end of track
Mikko Rasa [Fri, 26 Nov 2010 13:44:12 +0000 (13:44 +0000)]
Fix end-of-route handling at end of track

14 years agoPut TrainPanels in a ScrolledWindow so the UI is usable on small screens
Mikko Rasa [Wed, 24 Nov 2010 18:28:33 +0000 (18:28 +0000)]
Put TrainPanels in a ScrolledWindow so the UI is usable on small screens
Make the speed slider take all the horizontal space it can get

14 years agoAdd control enumeration to Controller
Mikko Rasa [Wed, 24 Nov 2010 18:27:08 +0000 (18:27 +0000)]
Add control enumeration to Controller
Send control states when a new client connects

14 years agoEmit signals from loco status command only when all data has been gathered
Mikko Rasa [Wed, 24 Nov 2010 07:01:47 +0000 (07:01 +0000)]
Emit signals from loco status command only when all data has been gathered
Force Driver's reverse bit to sync with Train

14 years agoSave turnout states and restore them on startup
Mikko Rasa [Tue, 23 Nov 2010 21:54:33 +0000 (21:54 +0000)]
Save turnout states and restore them on startup
Don't send turnout commands before establishing sync with the device

14 years agoFix a stupid comparison mistake in Route
Mikko Rasa [Tue, 23 Nov 2010 21:29:34 +0000 (21:29 +0000)]
Fix a stupid comparison mistake in Route

14 years agoFlip turnout path bits so they match the Central Station's idea of states
Mikko Rasa [Tue, 23 Nov 2010 05:59:11 +0000 (05:59 +0000)]
Flip turnout path bits so they match the Central Station's idea of states
Some multi-bit turnout fixes in Intellibox driver

14 years agoFix valgrind errors
Mikko Rasa [Tue, 23 Nov 2010 05:42:12 +0000 (05:42 +0000)]
Fix valgrind errors

14 years agoMove double-address logic to drivers
Mikko Rasa [Mon, 22 Nov 2010 20:42:23 +0000 (20:42 +0000)]
Move double-address logic to drivers

14 years agoMake AIControl states clearer
Mikko Rasa [Sun, 21 Nov 2010 21:07:37 +0000 (21:07 +0000)]
Make AIControl states clearer
Match the speed of a preceding train to avoid oscillating

14 years agoAdd support for named zones
Mikko Rasa [Sun, 21 Nov 2010 18:40:12 +0000 (18:40 +0000)]
Add support for named zones

14 years agoMore toolbar buttons
Mikko Rasa [Thu, 18 Nov 2010 18:52:38 +0000 (18:52 +0000)]
More toolbar buttons
Add shortcut keys to tooltips
Don't start extend if no suitable tracks are selected
Check that we are in select mode before doing stuff

14 years agoSplit the single large toolbar into a few smaller collapsible ones
Mikko Rasa [Thu, 18 Nov 2010 18:20:07 +0000 (18:20 +0000)]
Split the single large toolbar into a few smaller collapsible ones
Replace turnout and sensor ID setting with a track properties dialog
Add left and right arrow button styles

14 years agoFix a memory leak
Mikko Rasa [Tue, 16 Nov 2010 20:12:17 +0000 (20:12 +0000)]
Fix a memory leak

14 years agoReplace the fonts with versions with inline textures
Mikko Rasa [Tue, 16 Nov 2010 18:51:12 +0000 (18:51 +0000)]
Replace the fonts with versions with inline textures

14 years agoRename the project to R²C²
Mikko Rasa [Tue, 16 Nov 2010 17:53:13 +0000 (17:53 +0000)]
Rename the project to R²C²

14 years agoMake LCD output selectable at runtime through an extra I/O pin
Mikko Rasa [Mon, 15 Nov 2010 21:07:41 +0000 (21:07 +0000)]
Make LCD output selectable at runtime through an extra I/O pin

14 years agoAdd support for MM-27 protocol in Intellibox driver
Mikko Rasa [Mon, 15 Nov 2010 21:06:46 +0000 (21:06 +0000)]
Add support for MM-27 protocol in Intellibox driver
Use an enum instead of string for storing train protocol
Fix an off-by-one error in Train

14 years agoFix a segfault in removing vehicles when creating a new train
Mikko Rasa [Sun, 14 Nov 2010 16:39:33 +0000 (16:39 +0000)]
Fix a segfault in removing vehicles when creating a new train

14 years agoFramework for supporting multiple control protocols in a single driver
Mikko Rasa [Fri, 12 Nov 2010 22:00:23 +0000 (22:00 +0000)]
Framework for supporting multiple control protocols in a single driver

14 years agoMatch the API change in GLtk
Mikko Rasa [Fri, 12 Nov 2010 21:53:42 +0000 (21:53 +0000)]
Match the API change in GLtk
Adjust vslider style so that the slider is at top wit zero range

14 years agoFix and improve Route::check_validity
Mikko Rasa [Fri, 12 Nov 2010 21:45:26 +0000 (21:45 +0000)]
Fix and improve Route::check_validity

14 years agoChange the input filtering for better suitability for unreliable track circuits
Mikko Rasa [Fri, 12 Nov 2010 21:03:19 +0000 (21:03 +0000)]
Change the input filtering for better suitability for unreliable track circuits
Reduce the amount of spam sent by s88w-t
Optimize the LCD output code in s88w-r

14 years agoImplement removing vehicles from a train
Mikko Rasa [Mon, 8 Nov 2010 14:29:23 +0000 (14:29 +0000)]
Implement removing vehicles from a train

14 years agoIgnore the click that causes manipulator to finish
Mikko Rasa [Mon, 8 Nov 2010 14:28:24 +0000 (14:28 +0000)]
Ignore the click that causes manipulator to finish

14 years agoChange article numbers for locos that are from starter packs
Mikko Rasa [Sun, 7 Nov 2010 21:37:31 +0000 (21:37 +0000)]
Change article numbers for locos that are from starter packs
Correct article number for tank wagons
Adjust some wagon names
Add some new wagons with generated objects (will be properly modeled later)

14 years agoAdd an SVG exporter to Designer
Mikko Rasa [Sun, 7 Nov 2010 21:30:58 +0000 (21:30 +0000)]
Add an SVG exporter to Designer

14 years agoAdd framework for generating simple meshes for vehicles
Mikko Rasa [Sun, 7 Nov 2010 14:27:40 +0000 (14:27 +0000)]
Add framework for generating simple meshes for vehicles

14 years agoPrevent segfault if an exception is thrown while loading
Mikko Rasa [Sun, 7 Nov 2010 14:26:27 +0000 (14:26 +0000)]
Prevent segfault if an exception is thrown while loading

14 years agoFix some GL function calls
Mikko Rasa [Sun, 7 Nov 2010 14:25:56 +0000 (14:25 +0000)]
Fix some GL function calls

14 years agoMake snap limit relative to gauge
Mikko Rasa [Fri, 5 Nov 2010 21:25:06 +0000 (21:25 +0000)]
Make snap limit relative to gauge
Cap snap limit to 5 pixels when zooming very far out

14 years agoAdd some shortcut functions for getting endpoints
Mikko Rasa [Thu, 4 Nov 2010 20:36:00 +0000 (20:36 +0000)]
Add some shortcut functions for getting endpoints

14 years agoConnect manipulator directly to event signals
Mikko Rasa [Thu, 4 Nov 2010 08:10:50 +0000 (08:10 +0000)]
Connect manipulator directly to event signals
Give map_pointer_coords a better name

14 years agoLoad UI resources with constructor
Mikko Rasa [Thu, 4 Nov 2010 07:30:41 +0000 (07:30 +0000)]
Load UI resources with constructor
Make root and camera_ctl direct members

14 years agoClear end_of_route if we have to free blocks from the end
Mikko Rasa [Tue, 2 Nov 2010 21:35:26 +0000 (21:35 +0000)]
Clear end_of_route if we have to free blocks from the end
Drop the return value of reserve_more as it's not useful anymore
simplify the logic of keeping good blocks
Don't keep any turnouts at the end of reservation
Fix a bug where a blocks could be current but not clear
Always set turnouts according to reserved blocks
Handle instant turnout switches correctly

14 years agoUse ArticleNumber in shoppinglist
Mikko Rasa [Tue, 2 Nov 2010 05:49:11 +0000 (05:49 +0000)]
Use ArticleNumber in shoppinglist
Some other refactoring as well

14 years agoMove the fitting part of Manipulator::connect to a separate function
Mikko Rasa [Mon, 1 Nov 2010 14:40:38 +0000 (14:40 +0000)]
Move the fitting part of Manipulator::connect to a separate function
Add a manipulator mode to extend tracks out of an endpoint
Add a method to replace the entire selection at once

14 years agoEnforce a lower limit for camera distance
Mikko Rasa [Mon, 1 Nov 2010 12:08:59 +0000 (12:08 +0000)]
Enforce a lower limit for camera distance
Adjust depth clip according to distance

14 years agoBetter models of BR 185 and Rs 684
Mikko Rasa [Mon, 1 Nov 2010 06:01:03 +0000 (06:01 +0000)]
Better models of BR 185 and Rs 684

14 years agoAdd a path_changed signal to Track
Mikko Rasa [Mon, 1 Nov 2010 06:00:05 +0000 (06:00 +0000)]
Add a path_changed signal to Track
Keep blocks reserved while setting turnouts to avoid a race condition

14 years agoAdd a forward toggle to TrainView
Mikko Rasa [Sat, 30 Oct 2010 19:50:33 +0000 (19:50 +0000)]
Add a forward toggle to TrainView

14 years agoUse a single block list in Train
Mikko Rasa [Sat, 30 Oct 2010 19:50:14 +0000 (19:50 +0000)]
Use a single block list in Train

14 years agoAdd Route::get_path to streamline route traversal
Mikko Rasa [Fri, 29 Oct 2010 21:44:31 +0000 (21:44 +0000)]
Add Route::get_path to streamline route traversal

14 years agoAdd TrackLoopIter
Mikko Rasa [Fri, 29 Oct 2010 21:30:03 +0000 (21:30 +0000)]
Add TrackLoopIter
Use it instead of manually maintaining visited sets