Commit Graph

23 Commits (59555cbfcefeb27805cc7f8c134b0b860eb6a2bc)

Author SHA1 Message Date
Darkvater 2fccb9f4e0 (svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! (r5549) 18 years ago
tron 88b78bb5e8 (svn r7065) Use simple assignment instead of memcpy() 18 years ago
Darkvater c8a176b73f (svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles setting up the
textbuffer instead of typing it out each and every time.
18 years ago
Darkvater c7c65ce6d5 (svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel,
WWT_IMGBTN must contain an image for drawing. Renamed WWT_PANEL_2 to WWT_IMGBTN_2
 because that is what it is. Added WWT_PUSHBTN that is either just a pushable button,
 or a textbutton, which text's drawn dynamically independent of widget.
18 years ago
Darkvater 13df23c586 (svn r6924) -Codechange: Give the last (in the widget arrays at least) sprites meaningful names. 18 years ago
Darkvater 494c56475f (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
The last parameter should point to the end of the buffer (eg lastof(buf))
 Courtesy of Tron.
18 years ago
Darkvater fcd2af4643 (svn r6879) -Codechange: Remove the superflouos argument CharsetFilter parameter from HandleEditBoxKey
as the same information is present in querystr_d->afilter
-Also (&((querystr_d *)&WP(w, querystr_d))->text is the same as &WP(w, querystr_d).text
18 years ago
belugas 684fea1bf7 (svn r6663) -Codechange: Remove the 32 widgets limit on landscape generator. 18 years ago
belugas 42bad75bf2 (svn r6641) -Fix(6639): Wongly converted SetWidgetLoweredState 18 years ago
belugas 3319eb0b3f (svn r6639) -CodeChange : Conversion of SetWidgetLoweredState to SetWindowWidgetLoweredState, in order to follow pre-established standard 18 years ago
glx 1a68af5e69 (svn r6633) -Fix r6631: climate selector now shows the current selected climate (and only this one) 18 years ago
belugas 688da1d940 (svn r6631) -Codechange: Use accessors for click_state.
Another step toward merging XTDwidget.
The only two files not converted (window.h and widget.c) will be done at the very last commit)
18 years ago
belugas cf210fdf6b (svn r6619) -Codechange: Use accessors for disabled_state.
Another step toward merging XTDwidget.
The only two files not converted (window.h and widget.c) will be done at the very last commit)
18 years ago
belugas 98ba395277 (svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct 18 years ago
Darkvater 552570f9e6 (svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding
box of the string. Therefore rename the function to GetStringBoundingRect()
 and have it return a BoundingRect type of width/height
18 years ago
rubidium 7afa35a37e (svn r6236) -Fix (FS#313): TGP generation seed edit box only accepted seeds up to 2^31-1, instead of up to 2^32-2. 18 years ago
belugas 5382915cb6 (svn r6082) -CodeChange : Remove the unneeded table/sprites.h include in newgrf_cargo.h.
Set it in genworld_gui.c instead, as it is really needed
18 years ago
glx aa66da14dd (svn r6079) -Change: size and alignment of random seed input box and randomise button 18 years ago
rubidium 908d3bcfe6 (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. 18 years ago
rubidium 6fb092aa7a (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
The game date subsystem now allows someone to start in the year 0 and continue
up to the year 5 000 000. However, you currently cannot build anything before 
1920 as there is no newgrf support for dates before 1920 or after 2090 yet.
18 years ago
glx 95eac1c188 (svn r5959) -Change: size selection dropdowns placement in 'Scenario type' window 18 years ago
truelight 8881a7398d (svn r5953) -Fix: tooltip for FlatLand had wrong color (tnx glx) 18 years ago
truelight 7abad2b20e (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
- New optional landscape generator (TerraGenesis Perlin)
  - Load heightmaps (either BMP or PNG)
  - Progress dialog while generating worlds (no longer a 'hanging' screen)
  - New dialogs for NewGame, Create Scenario and Play Heightmap
    - Easier to configure your landscape
    - More things to configure (tree-placer, ..)
  - Speedup of world generation
  - New console command 'restart': restart the map EXACTLY as it was when you
      first started it (needs a game made after or with this commit)
  - New console command 'getseed': get the seed of your map and share it with
      others (of course only works with generated maps)
  - Many new, world generation related, things
  - Many internal cleanups and rewrites
  Many tnx to those people who helped making this:
     Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic)
  Many tnx to those who helped testing:
     Arnau, Bjarni, and tokai (alfabetic)
  And to all other people who helped testing and sending comments / bugs
  Stats: 673 lines changed, 3534 new lines, 79 new strings
18 years ago