summaryrefslogtreecommitdiff
path: root/genworld_gui.c
AgeCommit message (Collapse)Author
2006-11-07(svn r7102) -Codechange: Remove and hardcode unnecessary patch setting ↵peter1138
progress_update_interval
2006-11-07(svn r7098) -Regression (r7094): Zoom buttons were not properly updated with ↵Darkvater
a new/loaded game. The good thing is, we got rid of even more magic code (tm)
2006-11-07(svn r7091) Make some code a) shorter b) simpler c) not leak memorytron
2006-11-06(svn r7075) -Codechange: Remove stale code. Please clean up after yourself!! ↵Darkvater
(r5549)
2006-11-05(svn r7065) Use simple assignment instead of memcpy()tron
2006-10-24(svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles ↵Darkvater
setting up the textbuffer instead of typing it out each and every time.
2006-10-24(svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL ↵Darkvater
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.
2006-10-24(svn r6924) -Codechange: Give the last (in the widget arrays at least) ↵Darkvater
sprites meaningful names.
2006-10-21(svn r6884) -Codechange: Add strict bounds checking in string formatting system.Darkvater
The last parameter should point to the end of the buffer (eg lastof(buf)) Courtesy of Tron.
2006-10-21(svn r6879) -Codechange: Remove the superflouos argument CharsetFilter ↵Darkvater
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
2006-10-06(svn r6663) -Codechange: Remove the 32 widgets limit on landscape generator.belugas
2006-10-04(svn r6641) -Fix(6639): Wongly converted SetWidgetLoweredStatebelugas
2006-10-04(svn r6639) -CodeChange : Conversion of SetWidgetLoweredState to ↵belugas
SetWindowWidgetLoweredState, in order to follow pre-established standard
2006-10-04(svn r6633) -Fix r6631: climate selector now shows the current selected ↵glx
climate (and only this one)
2006-10-03(svn r6631) -Codechange: Use accessors for click_state.belugas
Another step toward merging XTDwidget. The only two files not converted (window.h and widget.c) will be done at the very last commit)
2006-10-03(svn r6619) -Codechange: Use accessors for disabled_state.belugas
Another step toward merging XTDwidget. The only two files not converted (window.h and widget.c) will be done at the very last commit)
2006-09-23(svn r6499) -Codechange: Finally, got "byte event" outside of the union ↵belugas
WindowEvent, which is now a struct
2006-09-16(svn r6462) -Codechange: Have GetStringWidth() return width as well as the ↵Darkvater
height bounding box of the string. Therefore rename the function to GetStringBoundingRect() and have it return a BoundingRect type of width/height
2006-08-30(svn r6236) -Fix (FS#313): TGP generation seed edit box only accepted seeds ↵rubidium
up to 2^31-1, instead of up to 2^32-2.
2006-08-24(svn r6082) -CodeChange : Remove the unneeded table/sprites.h include in ↵belugas
newgrf_cargo.h. Set it in genworld_gui.c instead, as it is really needed
2006-08-23(svn r6079) -Change: size and alignment of random seed input box and ↵glx
randomise button
2006-08-22(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. ↵rubidium
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
2006-08-20(svn r5999) -Feature: change the original date format to a 32 bits format ↵rubidium
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.
2006-08-19(svn r5959) -Change: size selection dropdowns placement in 'Scenario type' ↵glx
window
2006-08-19(svn r5953) -Fix: tooltip for FlatLand had wrong color (tnx glx)truelight
2006-08-19(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:truelight
- 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