aboutsummaryrefslogtreecommitdiff
path: root/advtrains
Commit message (Expand)AuthorAge
...
* Only get on by walking in when there's a platform, improve get off handlingorwell962017-02-28
* Add passive component namingorwell962017-02-28
* Add ceiling-mounted signalorwell962017-02-28
* Fix collision issuesorwell962017-02-21
* Also check positions on high platforms at entering doorsorwell962017-02-21
* Only place rails on solid nodesorwell962017-02-21
* Fix manual operation of mesecon switchesorwell962017-02-20
* Fix crash when ATC rail exists but no command is saved.orwell962017-02-20
* don't pass unexistant variable to train_step_b (fixes #46)orwell962017-02-17
* use mesecons_switch as correct dependency for luaautomationorwell962017-02-15
* fix crash on seatpc nilorwell962017-02-15
* fix #34 - end_index not set when step_a returned in phase 2orwell962017-02-15
* Proper implementation for getting on by walking into train, rework damage and...orwell962017-02-09
* Merge PR from gpcf (Get on by walking in)orwell962017-02-07
|\
| * Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2017-02-05
| |\
| * | Found out why collision box does not fit trainGabriel Pérez-Cerezo2017-01-29
| * | Added getting on and off by walking in and out. Default seat on subway is now...Gabriel Pérez-Cerezo2017-01-29
* | | Use identical proxy environment with swapped metatable to not having to setfe...orwell962017-02-07
* | | Check if node is actually loaded before querying get_meta()orwell962017-02-05
* | | Do not invalidate paths unnecessarilyorwell962017-02-05
* | | Fix "lock couples" checkbox on wagon properties formorwell962017-02-05
* | | Fix ATC components being randomly ignored by trains.orwell962017-02-05
* | | Fix itrainmaporwell962017-02-05
* | | Fix LuaAtc Interrupt savingorwell962017-02-05
* | | Even more bugfixesorwell962017-02-04
| |/ |/|
* | Commit 1.6.2orwell962017-02-04
* | fix up stuff in itrainmaporwell962017-02-03
* | Revert change to node pos hashes, and rewrite trackdb to use individual coord...orwell962017-02-03
* | Add quick position lookup by punching nodesorwell962017-02-03
* | add wallmounted light signalorwell962017-02-03
* | Fix itrainmap not workingorwell962017-02-03
* | Merge PR from mbb: add better textures and craftsorwell962017-02-02
|\ \
| * | add better textures and craftsmbblp2017-02-02
* | | Add documentation and pack for releaseorwell962017-02-02
* | | LuaAutomation: Add interrupt to the ingame API and implement initialization c...orwell962017-02-02
* | | LuaAutomation - Basic component implementationorwell962017-02-02
* | | Fix collision to work with pos node hashesorwell962017-02-02
* | | Lua automation - initial incomplete codingorwell962017-02-02
* | | Replace all table indices that were pos_to_string strings with node hashes.orwell962017-01-31
* | | Join itrainmap mod into the modpackorwell962017-01-31
* | | Remove lua_atc from advtrains main mod.orwell962017-01-31
|/ /
* | Limit dtime to prevent trains moving too far in a single steporwell962017-01-29
* | Add getter calls for raw nodedborwell962017-01-29
* | Fix wagon properties not saved on button clickorwell962017-01-29
|/
* Fix a crash, update translations and zip fileorwell962017-01-28
* Multiple major changes:orwell962017-01-28
* remove tunnelborerorwell962017-01-25
* Document door animation parametersorwell962017-01-25
* Add forced get-on/off to prevent trains being unusable due to closed doors.orwell962017-01-25
* Rewrite seating systemorwell962017-01-25
n> virtual void draw(); //! Sets another skin independent font. virtual void setOverrideFont(IGUIFont* font=0); //! Gets the override font (if any) virtual IGUIFont* getOverrideFont() const; //! Get the font which is used right now for drawing virtual IGUIFont* getActiveFont() const; //! Sets another color for the text. virtual void setOverrideColor(video::SColor color); //! Sets another color for the background. virtual void setBackgroundColor(video::SColor color); //! Sets whether to draw the background virtual void setDrawBackground(bool draw); //! Gets the background color virtual video::SColor getBackgroundColor() const; //! Checks if background drawing is enabled virtual bool isDrawBackgroundEnabled() const; //! Sets whether to draw the border virtual void setDrawBorder(bool draw); //! Checks if border drawing is enabled virtual bool isDrawBorderEnabled() const; //! Sets alignment mode for text virtual void setTextAlignment(EGUI_ALIGNMENT horizontal, EGUI_ALIGNMENT vertical); //! Gets the override color virtual video::SColor getOverrideColor() const; #if IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR > 8 //! Gets the currently used text color virtual video::SColor getActiveColor() const; #endif //! Sets if the static text should use the overide color or the //! color in the gui skin. virtual void enableOverrideColor(bool enable); //! Checks if an override color is enabled virtual bool isOverrideColorEnabled() const; //! Set whether the text in this label should be clipped if it goes outside bounds virtual void setTextRestrainedInside(bool restrainedInside); //! Checks if the text in this label should be clipped if it goes outside bounds virtual bool isTextRestrainedInside() const; //! Enables or disables word wrap for using the static text as //! multiline text control. virtual void setWordWrap(bool enable); //! Checks if word wrap is enabled virtual bool isWordWrapEnabled() const; //! Sets the new caption of this element. virtual void setText(const wchar_t* text); //! Returns the height of the text in pixels when it is drawn. virtual s32 getTextHeight() const; //! Returns the width of the current text, in the current font virtual s32 getTextWidth() const; //! Updates the absolute position, splits text if word wrap is enabled virtual void updateAbsolutePosition(); //! Set whether the string should be interpreted as right-to-left (RTL) text /** \note This component does not implement the Unicode bidi standard, the text of the component should be already RTL if you call this. The main difference when RTL is enabled is that the linebreaks for multiline elements are performed starting from the end. */ virtual void setRightToLeft(bool rtl); //! Checks if the text should be interpreted as right-to-left text virtual bool isRightToLeft() const; virtual bool hasType(EGUI_ELEMENT_TYPE t) const { return (t == EGUIET_ENRICHED_STATIC_TEXT) || (t == EGUIET_STATIC_TEXT); }; virtual bool hasType(EGUI_ELEMENT_TYPE t) { return (t == EGUIET_ENRICHED_STATIC_TEXT) || (t == EGUIET_STATIC_TEXT);